The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Add Search/Sort/Order in thread view Details »» | |||||||||||||||||||||||||
Add sort, order, search, posts from user options at the end of the thread.
Latest version: 1.20 (6-27-2002) - Bug fixed: at every search views counter is increased (link) Features:
- Show only posts in which the search string was found - Own replacement for highlighted words possible - String search in words - Also mark parts of words - Update instructions in download archive Updates 1.10 (6-19-2002): - Show message instead of a empty thread, if the sort result = 0 posts - Now compatible with: FireFly's beta hack 'Multiple Quotes' - Bug fixed: if you use the links 'Previous Thread' ... 'Next Thread' in thread... Screenshots: - Thread view Installation: - Read !readme.txt in ZIP-ARCHIV! Download: Show Your Support
|
Comments |
#52
|
||||
|
||||
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 ) |
#53
|
||||
|
||||
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...
|
#54
|
|||
|
|||
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.
|
#55
|
|||
|
|||
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. |
#56
|
||||
|
||||
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?
|
#57
|
|||
|
|||
I dont get the error screen at all. It is wierd. i just geta refreshed page.
|
#58
|
||||
|
||||
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:
|
#59
|
|||
|
|||
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.
|
#60
|
||||
|
||||
Quote:
|
#61
|
||||
|
||||
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; //highlight words for search engine if (isset($highlight) && $highlight != '') { if ((isset($postid) and $postid==$post[postid]) or !isset($postid)) { reset($replacewords); while (list($key,$val)=each($replacewords)) { if ($myhighlight) {$highl1="<myhighlight>";$highl2="</myhighlight>";} else {$highl1="<highlight>";$highl2="</highlight>";} $post['message']=preg_replace("/(^| |\n|\r|\t|\]|>|\")(".$val.")(([\.,]+[ $\n\r\t])|$|\"|<|\[| |\n|\r|\t)/si", "\\1$highl1\\2$highl2\\3", $post['message']); } } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|