vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Show all posts on one page (https://vborg.vbsupport.ru/showthread.php?t=75456)

Sebastian 02-02-2005 05:12 PM

it will produce the same amout of queries, but it will just select more posts, the array will be bigger = more memory usage, bandwidth, etc..

i don't suggest anyone use this unless you are certain you aren't going to have large threads.. eg, 100+ replies

say you have a thread with a 1000 replies.
1) the viewers' browser will take a year to load because of all the content and will probably bog down their system (browser would use more cpu to process)
2) server bandwidth usage will skyrocket because of the large pages.
3) waste of server resources

Cibox.de 02-03-2005 10:41 PM

thx for this mod

Lumina 02-24-2005 05:41 AM

Mike Sullivan says it is a potential DoS:
http://www.vbulletin.com/forum/showpost.php?p=822044

underESTIMATED 03-23-2005 07:58 PM

It's useful on most occasions.

Thank you for this...

coffee 04-10-2005 02:29 AM

Very nice hack KirbyDE : )

Quote:

Originally Posted by KirbyDE
If you want to have a link, put the this in template SHOWTHREAD (Thx to AshEbed!)
HTML Code:

<if condition="$show['pagenav']"><a href="showthread.php?$session[sessionurl]t=$threadid&amp;&showall=1">View All</a></if>

I guess it will look better when doing the above this way (Don't edit template "SHOWTHREAD"):

Note: My version is vB 3.0.7

1. Open the file "/includes/adminfunctions_template.php" and find this line:
PHP Code:

'array',                 // used for checking 

Below that add:
PHP Code:

'strpos',                // used for checking 

2. Go to template "pagenav" and find this:
HTML Code:

</tr>
</table>
</div>

Above that add:
HTML Code:

<if condition="strpos($address, 't=')"><td class="alt1"><a class="smallfont" href="$address&amp;showall=1" title="View all posts in a single page">Show All</a></td></if>

Gutspiller 08-15-2005 03:57 PM

Actually... From the looks of it, this code only shows 2.1 trillion posts per page, not "all". :p

coffee 03-27-2008 04:56 PM

Waiting for version 2.00


All times are GMT. The time now is 11:26 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.01123 seconds
  • Memory Usage 1,730KB
  • 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
  • (3)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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