The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Limit guests on forum
Anyone want to code me a hack that would limit the number of guests allowed on the site? It would be nice to have the ability to limit guests in a proportion to registered users (5 users for every 1 guest), but a static number would be nice too.
Thanks! |
#2
|
||||
|
||||
If you want quick and don't mind dirty, you could just hijack the 'Simultaneous Sessions Limit' setting (in 'Server Settings and Optimization Options') for this purpose. Set this to however many guest sessions you want to allow, then find in includes/sessions.php:
PHP Code:
PHP Code:
But of course this is not the way to go if you're already using this setting to limit the number of total sessions (guests and members). |
#3
|
|||
|
|||
could you also do this with registerd users instead of guests? and if so, how.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|