Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Search MOD Issue
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

leatherlips
Senior Member

USA
1838 Posts

Posted - 09 April 2008 :  18:07:07  Show Profile  Visit leatherlips's Homepage
Sometime ago I downloaded the search mod. I think it was from onewaymule.org.

I never used it because it never highlighted properly when you search for an exact phrase. I decided to look at it again and have noticed the following.

http://www.mangionemagic.com/forum/topic.asp?TOPIC_ID=741&SearchTerms=chris%2Bvadala

http://www.mangionemagic.com/forum/topic.asp?TOPIC_ID=741&SearchTerms=chris+vadala

The top link is a result of the search mod. The red section is what it is inserting between the search terms. This may be why it is not highlighting anything. Where would I need to look to fix this?

The second link is from the default search.asp page. It inserts the + between the search terms.<

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

leatherlips
Senior Member

USA
1838 Posts

Posted - 05 May 2008 :  11:22:20  Show Profile  Visit leatherlips's Homepage
I finally fixed this. My nagging problem was that if you used the search_mod.asp page it would never highlight your search terms if you used the "exact phrase". I compared the normal search.asp page with the mod and found the issue.

In search_mod.asp (or if you are already using it you may have renamed it search.asp) on line 394:
SearchLink = "&SearchTerms=" & chkString(strKeyWords,"urlpath")
Change the part in red so it looks like this (shown in green):
SearchLink = "&SearchTerms=" & chkString(strKeyWords,"search")

Now it will highlight if you search for an exact phrase. <

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 05 May 2008 11:24:02
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07