![]() |
How to change post number on thread page?
Hello,
"In show thread page" How i can make the default post number per page for "guests" 5, But still 20 posts for members per page? Thanks for help |
$vbulletin->options['maxposts'] is the variable you want to change. So, probably something like:
PHP Code:
|
Thank you Lynne,
But i did not know how to do that, any steps how to do please? Where to add this line? PHP Code:
|
You'd have to create a plugin with that code. Like I said, you'd probably want to try a global_* hook location, but since I haven't tried this, I can't really say exactly which to use.
|
I try add it to all global_x in plugin manager, Not work
This what i need. "In show thread page" Default post number per page for "guests" 5, Default post number per page for "members" 10, Thank you again |
Exactly what did you put in the plugin (you cannot put exactly what I wrote, as I said)? And did you turn the plugin on? Try a showthread_* plugin if the others aren't working.
|
I put this line exactly
PHP Code:
3- Name: Only 5 post for guests 4-order = 5 5- Hook Location, i try all global_x AND all showthread_x And All postbit_x Not working for me I really very appreciate your patience and cooperation. |
nvm
|
Argh!!! It's $vbulletin->userinfo, not $vbulletin->bbuserinfo. This works:
PHP Code:
|
Greeeeeeeeeeeeeat,
Working very good, work like charm NOW. Thanks a lot |
All times are GMT. The time now is 02:28 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|