![]() |
My search is bugged then, it doesn't highlight nor find :(
Attached is a picture, incase anybody is wondering, of what this hack looks like (except it doesn't come with my template modifications ;)) |
Sorry for the double post, though it does work! I just rechecked it and the search words are in red. This hack is totally awesome bad_badman, and should be a definate nomination for hack of the month. If it were implemented on these forums it would make searching within huge threads so much easier! We just need FireFly to look at this...
|
Well i am getting a problem. I upgraded not doing the first post ove rbut just adding and editing the post that i asked for. Just to add what i need to update. i don't no if you told me the wrong thing to update but i did a test on my forums. In one post i have several posts with the word STUFF in it and i searched that word and then i get only one highlighted word stuff. Thats it. All the other words are not highlighted at all. Plus if i search for a word not in the post it wont give me that error message that the update is all about.
|
ok never mind it works. But it is wierd. It doesnt show the word stuff in the last post. i dont no why it is doing that but that is the only word it does it for. Wierd. Also i am still not getting any error screen. What is wrong witht that?
And also one of my templates is red so that is a problem. Is there any way we can use a replacement variable for this hack? So i can then change the replace ment variable for the HIGHLIGHTED word colors? That owuld be great because every style on my boar dhas its on replacement variable. |
I am getting 2 black boxes (1 on either side of the not found window when it displays). Has anyone else run into this problem?
|
I dont get the error screen at all. It is wierd. i just geta refreshed page.
|
It also will only refesh the page if it doesn't find the word it is looking for. Is there a way to have it tell you that it can't find the word you are looking for?
Quote:
|
Well that was the whole point of the new updated version in. read throught the thread it is on page 3. There is no error screen and there is suppose to be one.
|
Quote:
|
Quote:
Quote:
- Make your replacements: </myhighlight> is replaced by </font></i></b> <myhighlight is replaced by <b><i><font color="red" - Search in showthread.php for: if (isset($highlight) and $highlight!="search") {$src[string]="$highlight";} - and replace with: if (isset($highlight)) {$src[string]="$highlight"; $myhighlight=1;} - Search in admin/functions.php for: PHP Code:
Code:
global $myhighlight; |
All times are GMT. The time now is 11:21 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|