![]() |
|
|
Mod Options |
Show all posts on one page Details »»
|
|||||||||||||||||||||||
|
Show all posts on one page
Developer Last Online: Apr 2013
This modification is in the archives.
Did you ever want to display all posts of a certain thread on just one page?
So here you go: In showthread.php FIND
ABOVE that ADD
Then call the thread as showthread.php?t=ID&showall=1 If you want to have a link, put the this in template SHOWTHREAD (Thx to AshEbed!)
Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
|||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
genial...
(i usually have nothing to say on these hacks, but it's from KirbyDE, so...) No members have liked this post.
|
|
#3
|
||||
|
||||
|
While 2147483648 may be technically correct - tbh, I think 999999 would suffice for most threads
- and convey the significance of it somewhat better ....
__________________
Cable Forum - DigiGuide Please Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum. Senior vBulletin Developer : Please do not PM me about custom work - I work for Internet brands and no longer have the time to undertake any. No members have liked this post.
|
|
#4
|
|||
|
|||
|
Originally Posted by Paul M
maybe 999999999 to be on the safe side, ne?
Though, wouldn't showing more than a thousand cause some big lag/processing problems? or not?
__________________
Currently: (vb3~) Stockmarket Minigame - Discussion Threads - Secure Login BETA (IP + bit mask) Planned for personal use: Helpful System, Favorites, Super Announcement, Subscriptions (different), HostingCP, Team Gather, psuedo-UserCP, and Member Transfer No members have liked this post.
|
|
#5
|
|||
|
|||
|
Hi , Mr .KirbyDE
thankyou for this hack , but this hack awe working slow inside posts ? thanks ![]() No members have liked this post.
|
|
#6
|
|||
|
|||
|
does this makes the page more time to load?
No members have liked this post.
|
|
#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.
__________________
UNDER CONSTRUCTION: Confessionary Hack Make me a Hack of The Month author: GRPS: Groups Commune make my hacks, they'll make you famous ![]() unless it's a security concern, please do not pm/im me for support unless you're willing to pay.
No members have liked this post.
|
|
#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? No members have liked this post.
|
|
#9
|
|||
|
|||
|
if its a big thread wouldnt it excute loads of queries?
No members have liked this post.
|
|
#10
|
|||
|
|||
|
Originally Posted by Guy G
I think that no metter what u'll have the same queries.. (am I right?!)
for example I have a thread with 2 replies and a thread with 14 replies and both of them - same queries. No members have liked this post.
Last edited by zurih : 01 Feb 2005 at 20:33. |
|
#11
|
||||
|
||||
|
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 No members have liked this post.
Last edited by Sebastian : 02 Feb 2005 at 18:15. |
|
#13
|
||||
|
||||
|
Mike Sullivan says it is a potential DoS:
http://www.vbulletin.com/forum/showpost.php?p=822044
__________________
Lumina, aventurière des mondes fantastiques Traductrice pour la version française de vB3 Jeux Online - vBulletin Francophone - Coeur Lumière No members have liked this post.
|
|
#14
|
||||
|
||||
|
It's useful on most occasions.
Thank you for this... No members have liked this post.
|
|
#15
|
||||||||||||||||||||
|
||||||||||||||||||||
|
Very nice hack KirbyDE : )
Originally Posted by KirbyDE
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:
Below that add:
2. Go to template "pagenav" and find this:
Above that add:
No members have liked this post.
Last edited by coffee : 11 Apr 2005 at 18:58. |
||||||||||||||||||||
![]() |
«
Previous Mod
|
Next Mod
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Mod Options | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 09:14.




- and convey the significance of it somewhat better ....

