The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
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 |
#2
|
||||
|
||||
![]()
$vbulletin->options['maxposts'] is the variable you want to change. So, probably something like:
PHP Code:
|
#3
|
|||
|
|||
![]()
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:
|
#4
|
||||
|
||||
![]()
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.
|
#5
|
|||
|
|||
![]()
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 |
#6
|
||||
|
||||
![]()
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.
|
#7
|
|||
|
|||
![]()
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. |
#8
|
|||
|
|||
![]()
nvm
|
#9
|
||||
|
||||
![]()
Argh!!! It's $vbulletin->userinfo, not $vbulletin->bbuserinfo. This works:
PHP Code:
|
#10
|
|||
|
|||
![]()
Greeeeeeeeeeeeeat,
Working very good, work like charm NOW. Thanks a lot |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|