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)
-   -   Shrink Old Posts in Thread (https://vborg.vbsupport.ru/showthread.php?t=33060)

VirtueTech 12-18-2001 01:40 AM

Does this hack cause a large increase of server resources for a large forum?

bira 12-18-2001 01:43 AM

VirtueTech, the actual expand/contract is javascript. Therefore, it's client side. So I can't see how it will increase load.

In any event, if my board is anything to go by, it made no difference. And I think my board is relatively large.

VirtueTech 12-18-2001 01:54 AM

I checked the option on this board to contract all read posts....and it contracts all posts in every thread...even those I have not read.

However your post here was not contracted. Any ideas why?

bira 12-18-2001 02:08 AM

VirtueTech, it works based on what is considered "unread" by vBulletin. If you leave now and come back in 20 minutes, only posts made in the last 20 minutes or so will be expanded - because that's what is considered by vBulletin to be 'new/unread posts'.

VirtueTech 12-18-2001 02:25 AM

Gotcha.

That is the best way I guess to save on queries. Would be more efficient if it was traked better. Not your fault...just saying.

Thanks for this hack bira...I can't wait to install it.

Sadie Frost 12-18-2001 11:19 AM

Hi! I cannot find this line in showthread.php:

Quote:

Step 2 of 2 FIND:

getforumrules($forum,$getperms);
As no one else has had this problem, I have to think it's something I'm doing wrong. Anyone have any suggestions? Thanks so much! (And awesome hack bira, can't wait to get it working :))

I have v 2.2.1

bira 12-18-2001 07:43 PM

Hi Sadie,

You should find getforumrules($forum,$getperms); at the very end of the script.

The original 2.2.1 showthread.php looks like this at the end:

Code:

getforumrules($forum,$getperms);

updateuserforum($thread['forumid']);

eval("dooutput(\"".gettemplate("showthread")."\");");

?>


inetd 12-18-2001 08:31 PM

I have overlooked to insert the code in register_adult when have installed hack. You could not remind it?

bira 12-18-2001 08:35 PM

inetd, run the installer from the first post in your admin directory. Select 'UPGRADE' -- you'll get all the info you need there.

VirtueTech 12-18-2001 09:48 PM

Does this hack add any considerable load to a server.

It seems to have on my system.


All times are GMT. The time now is 07:57 PM.

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.01599 seconds
  • Memory Usage 1,732KB
  • 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
  • (1)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
  • (2)pagenav_pagelinkrel
  • (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