View Full Version : Different page split defaults for different user groups?
PVO_Dave
08-28-2011, 04:02 PM
Is there anything out there to make this possible?
I.e. to say unregistered members see 10 posts before a split but registered members see 20.
Thanks for any help :)
Dave.
Badshah93
08-28-2011, 04:19 PM
If u have set
Maximum Displayed Posts Before Page Split: 10 (just a example)
Then, Create a plugin
Plugin Hook: showthread_start
title: ur wish
Code:
if ($vbulletin->userinfo[userid]) {
$vbulletin->options[maxposts] = 20; // This code will show 20 posts to user before page split.
}
Plugin is Active: yes
and save it..
PVO_Dave
08-28-2011, 04:25 PM
Thanks for that, I'll have a go :)
--------------- Added 1314553757 at 1314553757 ---------------
This seems to change it for everyone :(
Anyway to just make it work for just guests? (i.e. group 1)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.