vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   vB3 Similar Threads (https://vborg.vbsupport.ru/showthread.php?t=42388)

LangTuDaTinh 09-21-2002 05:03 AM

great...thanks

Craigr 09-21-2002 05:16 PM

Quote:

Originally posted by speedway
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

Boo hoo. My host is running php version 4.0.6. :(

Does this mean when vb3 comes out, similar threads still won't work?

Craig

Dan Flynn 09-23-2002 03:50 AM

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

Crazy Pete 12-03-2002 05:19 PM

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) {
  $DB_site->query("UPDATE thread SET views=views+1 WHERE threadid='$threadid'");
} else {
  $shutdownqueries[]="UPDATE LOW_PRIORITY thread SET views=views+1 WHERE threadid='$threadid'";
}

if ($bbuserinfo[cookieuser]) {
  set_bbarraycookie('threadview', $threadid, time());
}

I've tried adding the code you have above this (as the noshutdownfunc is similar), but that gave me a parse error on line 80, which is:
Code:

if($description_option){_$desc_=_",description";_}
Even commenting out the description lines did nothing but cause more parse errors. I'm sure I've installed this correctly, but being that the code bits are different, what might I have to change? This looks like a really cool hack that I'd definitely like to try out, so any help would be much appreciated. Thanks!

Erwin 12-03-2002 07:51 PM

FWIW, this hack is working great for me on 2.2.9 - but I installed it from 2.2.8 and upgraded.

ptm 12-18-2002 10:48 PM

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

ptm 12-18-2002 10:56 PM

Oh, let me mention I'm running VBulletin 2.2.9.

ptm 12-19-2002 12:20 AM

Please help! :)

Bison 12-19-2002 02:47 PM

Tested this on my test board, and I cant get it to show up ...

NTLDR 12-19-2002 02:52 PM

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.


All times are GMT. The time now is 11:09 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
  • Page Generation 0.01134 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete