The Arcive of vBulletin Modifications Site. |
|
Show all posts on one page Details »»
|
|||||||||||||||||||||||||
Did you ever want to display all posts of a certain thread on just one page?
So here you go: In showthread.php FIND PHP Code:
PHP Code:
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&&showall=1">View All</a></if> Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
genial...
(i usually have nothing to say on these hacks, but it's from KirbyDE, so...) |
|
#3
|
||||
|
||||
|
While 2147483648 may be technically correct - tbh, I think 999999 would suffice for most threads
- and convey the significance of it somewhat better ....
|
|
#4
|
|||
|
|||
|
Quote:
Though, wouldn't showing more than a thousand cause some big lag/processing problems? or not? |
|
#5
|
|||
|
|||
|
Hi , Mr .KirbyDE
thankyou for this hack , but this hack awe working slow inside posts ? thanks
|
|
#6
|
|||
|
|||
|
does this makes the page more time to load?
|
|
#7
|
||||
|
||||
|
a thread showing 10 posts will load faster than that of 40 posts, however if you've got this set to show all and theirs only 5 posts in the thread it should load just as though their were 10 posts in terms of speed.
|
|
#8
|
|||
|
|||
|
how can I apply this to be default?
I mean that by default in all of the threads we'll se all of the posts on one page? |
|
#9
|
|||
|
|||
|
if its a big thread wouldnt it excute loads of queries?
|
|
#10
|
|||
|
|||
|
Quote:
for example I have a thread with 2 replies and a thread with 14 replies and both of them - same queries. |
![]() |
|
|