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 |
#32
|
||||
|
||||
ill give your suggestion a try after work tonight, let you know the outcome in about 12 hours
|
#33
|
||||
|
||||
Quote:
However, take the new version 1.10 of the hack for this. |
#34
|
||||
|
||||
New version out: 1.10
Features/Updates - 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: Screenshots in the first post. Download: The latest version is in the first post of this thread. |
#35
|
||||
|
||||
ok reinstalled to the new version for the multi quote hack, this is what i get when searching
Warning: Variable passed to reset() is not an array or object in /home/cra++++/public_html/forums/showthread.php on line 749 Warning: Variable passed to each() is not an array or object in /home/cra++++/public_html/forums/showthread.php on line 750 Code:
//highlight words for search engine if (isset($highlight)) { if ((isset($postid) and $postid==$post[postid]) or !isset($postid)) { 749 reset($replacewords); 750 while (list($key,$val)=each($replacewords)){ $post['message']=preg_replace("/(^| |\n|\r|\t|\]|>|\")(".$val.")(([\.,]+[ $\n\r\t])|$|\"|<|\[| |\n|\r|\t)/si", "\\1<highlight>\\2</highlight>\\3", $post['message']); } } } |
#36
|
||||
|
||||
Strange. Which version of vB do you use? It seems to be an old version.
Replace the complete highlight-part by this code. PHP Code:
code changed |
#37
|
|||
|
|||
I already installed the old hack can some just post what i have to change in order to have it updated? That would help alot more thanks.
|
#38
|
||||
|
||||
Quote:
Note: Remove all blanks between { and } for example: ="{ secondaltcolor} -------------- ^ search in template 'showthread_adds' for: Code:
<input type="hidden" name="threadid" value="$threadid"> Code:
<input type="hidden" name="threadid" value="$threadid"><input type="hidden" name="goto" value="$goto"> Code:
<table bgcolor="{ pagebgcolor}" width="{ tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{ imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer --> <table cellpadding="{ tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{ tablebordercolor}" { tableouterextra} width="{ contenttablewidth}" align="center"><tr><td> <table cellpadding="4" cellspacing="{ tableinnerborderwidth}" border="0" { tableinnerextra} width="100%"> <tr> <td bgcolor="{ secondaltcolor}" width="100%" nowrap><br><br><p align="center"><normalfont>No posts found</b><br>Please <a href="javascript:history.back()"><b>go back</b></a></normalfont></p><br></td> </tr> </table> </td></tr></table> <!-- spacer --></td><td width="10"><img width="10" height="1" src="{ imagesfolder}/space.gif" alt=""></td></tr></table> Code:
$pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage$threadnavi".iif(isset($highlight), "&highlight=$highlight", "")); Code:
if ($totalposts<1) eval("\$postbits=\"".gettemplate("showthread_adds_notfound")."\";"); $pagenav = getpagenav($totalposts,"showthread.php?s=$session[sessionhash]&threadid=$threadid&perpage=$perpage$threadnavi".iif(isset($highlight), "&highlight=$highlight", "")); |
#39
|
||||
|
||||
using 2.2.2 with a few updates for securty, ill give your codea go when i return from work
|
#40
|
|||
|
|||
bad_madman,
Maybe its me, but I had to remove this hack. It caused my showthread page queries to go from 23 to anywhere from 50-89 queries. Anyone else see this? |
#41
|
||||
|
||||
This is interesting. :surprised: I will have a look at this more exactly in my forum...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|