Hello everyone! Thanks to Michael and Jose, I fixed a couple of errors that were on the web page explaining the mod.
If you attempted the Multiple Category mod before now, here are the changes:
AltCategory => [5, 'alpha', 0, 500,
1, '', ''],
now reads...
AltCategory => [5, 'alpha', 0, 500,
0, '', ''],
This allows the field AltCategory to be NULL (empty)
And...
# Field names you want to allow visitors to search on:
@search_fields = (1,2,
5);
now reads...
# Field names you want to allow visitors to search on:
@search_fields = (1,2,
6);
You don't want your visitors to search the AltCategories field instead of the description field do you?
And finally in the procedure build_stats in the file nph-build.cgi the line:
LINE: while () {
should read...
LINE: while (<DB> ) {
The way I had it, "<DB>" was read by your browser as an html tag, so it didn't display.
There you have it. Knock on wood, everything should now work AOK. Any more problems, let me know and I'll get them fixed asap.
www.online-sweepstakes.com/links-mods/ has been updated to reflect these changes.
Brent
[This message has been edited by loopy (edited February 17, 1999).]