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)
-   -   Number of new replies per thread on forum display (https://vborg.vbsupport.ru/showthread.php?t=36385)

Birdie501 04-23-2002 10:32 AM

Hey, would be nice if someone can help andrew67 and me. I have the same problem!

Thanks!!!!!

Birdie501 04-23-2002 10:59 AM

OK guys,

i found a solution for this problem!

in forumdisplay.php find

PHP Code:

eval("\$forumdisplaybits .= \"".gettemplate('forumdisplaybit')."\";"); 

above it add

PHP Code:

if ($thread['unreadposts'] < ){ $thread['unreadposts'] = "0";  } 

thats all!

filth 04-24-2002 06:08 PM

anyone know if that fix can be incorporated into the original file as i will end up forgetting about it and next time i update I will have the same problem

Cheers in advance

Peter

andrew67 04-25-2002 09:39 PM

Thanks, but it did sweet F all on my forum, everything is the same as before... :(

Birdie501 04-26-2002 04:07 AM

@andrew67

if you use this code and did the installation correct it have to work! I guess you made something wrong. Try to install again!

FleaBag 05-21-2002 03:54 PM

Thanks for this hack FireFly, and thanks for the fix Birdie501. Running smoothly on 2.2.5! :D

BlyGilmore 06-16-2002 08:01 PM

great hack. however is there anyway to make a 0 show up if there are no new replies instead of having the forums just leave that spot blank?

Birdie501 06-17-2002 05:02 AM

@BlyGilmore

Please read the thread! -> https://vborg.vbsupport.ru/showthrea...690#post243690

FleaBag 06-19-2002 05:39 PM

Upgraded to 2.2.6 and working great, though I had to do the first forumdisplay.php edit manually.

Boofo 06-24-2002 06:49 AM

Great hack, Chen (as usual) and thanks for the fix Birdie501. :)


All times are GMT. The time now is 06:48 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.01612 seconds
  • Memory Usage 1,727KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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