![]() |
Were are the pages for this hack generated and is there a way to test it works?
Installed but so far no errors? Regards, Brian |
Thank you for this hack!
Installed nicely. The relevance of the similar threads, though, is not all that great, even with tweaking the $priority variable. But it's still a nice feature. |
step #2:
<tr align="center" bgcolor="#336D95" background="https://vborg.vbsupport.ru/images/catagory_backing.gif"> Other than the "catagory" typo is there a recommended image? or just zap it? Regards, Matt |
<tr align="center" bgcolor="{_categorybackcolor}"> ,without the space ofcourse.
I'm actually not sure what you're talking about, but give that a try (very late..sleepy..must get sleep O_O) |
You might want to only select threads from, say, the last month to help aliviate the performance issue.
|
Minor bug -
1) The similar threads search occasionally pulls up the title of a post that was Moved (with redirect) to another forum. The result is that if you click on one of those, you'll get a screen with header and message title but no body, and the forum thinks it's an empty poll or something. 2) Looks like this: http://forum.bonsaitalk.com/showthre...&threadid=1634 3) I'm thinking it would be possible to fix this because the forum's internal search never returns redirected posts, so there must be a flag or prefix or something to identify them. 4) If you don't know what's going on, it is a little bewildering, but it did give me the idea for a new hack: SHOW/PURGE REDIRECTS! I having to jump through hoops to purge a redirect. You have to move it back to the original forum, then move it forward. If there were a hack to display or purge redirects older than XX days, it would be very cool! Regards, Matt |
Quote:
Warning: Wrong parameter count for trim() in showthread.php on line ??? I tried replacing this, but it still doesn't work. Any ideas? I have the store hack added too. Thanks Craig |
I'm guessing maybe you're on an older PHP version maybe, and it's not updated for the correct parameters..
Anyway, try replacing: PHP Code:
PHP Code:
|
I did that, but got the same error.
Craig |
It seems that the additional parameter for the "trim" function was introduced in PHP 4.1 - so for those of us under that this hack will not work.
From php.net Quote:
Velocd - you should edit your original thread to reflect this requirement - so people do not try to install this if they do not meet the PHP requirement. |
great...thanks
|
Quote:
Does this mean when vb3 comes out, similar threads still won't work? Craig |
Sweet, He I found this in a the thread. Were is the I install button for this. You deserve criedit for this for sure. Very Nice.
One Question? How can I change the black color font to white? Thanks |
Well I'm having a problem even with the first step in this hack. The code you say to find in showthread.php, I don't have. I'm running v.2.2.9. What my showthread.php file for that section looks like is:
Code:
if ($noshutdownfunc) { Code:
if($description_option){_$desc_=_",description";_} |
FWIW, this hack is working great for me on 2.2.9 - but I installed it from 2.2.8 and upgraded.
|
Hello,
I installed it like the instructions said. I noticed that the instructions weren't exactly correct at the part where it says "if ($noshutdownfunc)..." but I thought I might still work if others said it works for them. So I installed it, and I'm getting 2 errors you can see at http://forums.pdaperformance.com/sho...hp?threadid=84 I'm don't know anything about PHP (though I do know C and C++) so I don't know what this means... Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of similar_text(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/pdacom/public_html/forums/showthread.php on line 281 Warning: Cannot add header information - headers already sent by (output started at /home/pdacom/public_html/forums/showthread.php:281) in /home/pdacom/public_html/forums/admin/functions.php on line 1573 (end of errors) PHP 4.2.3 and mySQL 3.23.53a is installed. This hack looks like something I really need, so I would like to get it up and running as soon as possible. Any help would be greatly appreciated. :) Thank you, Parker |
Oh, let me mention I'm running VBulletin 2.2.9.
|
Please help! :)
|
Tested this on my test board, and I cant get it to show up ...
|
Threads only appear if there similar. Create a thread called Test 1 and one called Test 2, look at one of them and it should work.
|
BINGO!
I forgot to add the $similarthreads above the <!-- Template Options ---> in the showthread template! Thanks! |
Would you please explain what you did to make it work? I'm getting all kinds of errors.
|
Hello,
I installed it like the instructions said. I noticed that the instructions weren't exactly correct at the part where it says "if ($noshutdownfunc)..." but I thought I might still work if others said it works for them. So I installed it, and I'm getting 2 errors you can see at http://forums.pdaperformance.com/sh...php?threadid=84 I'm don't know anything about PHP (though I do know C and C++) so I don't know what this means... Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of similar_text(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /home/pdacom/public_html/forums/showthread.php on line 281 Warning: Cannot add header information - headers already sent by (output started at /home/pdacom/public_html/forums/showthread.php:281) in /home/pdacom/public_html/forums/admin/functions.php on line 1573 (end of errors) PHP 4.2.3 and mySQL 3.23.53a is installed. This hack looks like something I really need, so I would like to get it up and running as soon as possible. Any help would be greatly appreciated. I'm assuming this hack doesn't work with PHP 4.2? Thank you, Parker |
let's take a peek at your showthread.php (Send [PM] it to me) ...
|
It shouldn't be an issue of your PHP or MySQL version, as I am running PHP 4.2.3 and mySQL 3.23.54 and it works fine.
I have heard of issues with this on vBulletin 2.2.9, which is what you are running, so there could be some conflicts there. I do not have 2.2.9 installed, except on my localhost, so I will install this hack there and get back to you a.s.a.p Thanks for contacting me via PM also ptm, as it's the best way for those needing help with one of my hacks to get my attention, in addition to replying to the thread. ;) |
Velocd,
Thank you for your time and help. :) Next time when I install another modification I will be sure to PM the author. - Parker |
Velocd, don't bother setting it up on 2.2.9. I am running that version and this works fine for me. I installed it a few days ago. :)
|
Well it's not working on mine. :eek:
Boofo, would you PM me your showthread.php so I can try it on my server to see if I still get errors? |
Its working fine on my rather hacked 2.2.9 too with out a problem. Perhaps another hack you've got installed is conflicting with it?
|
Nope, not a chance. :) Haven't installed 1 hack.
|
@ptm .... check your pm's
|
Just sent you a reply. :)
|
A new version of this hack is out, and support for this one will no longer be available. This new version seriously runs so much smoother and faster on my forums, so I highly recommend upgrading.
https://vborg.vbsupport.ru/showthrea...threadid=46860 |
Wow- thanks! :D Will let you know if I get it working. :)
|
What's the difference between this hack and this other:?
https://vborg.vbsupport.ru/showthrea...threadid=46860 |
Quote:
|
cool hack, thx
|
I don't know if this was asked but how can i prevent some forums from being displayed in the similar thread
|
That's already done. Create a test user, set him up as a regular registered user, log in as him and you will see that those forums that are set for privacy, are excluded. Meanwhile, if you are a mod or an admin, similar thread that are private will show.
|
I have logged out and staff area news which is hidden from everyone i was able to see in the similar thread
|
All times are GMT. The time now is 07:40 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:
|