The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Restrict certain groups from entering when the site is busy
Not sure if has been done yet but I could'nt find it if it has.
I would like to restrict normal users (registered) members to my forum on busy times and only allow the paying ones on when the site is busy. Another words only the paying members have priority to enter the site when it is busy. I run a free side and a private one on the same vbull. I have cut down the number of people allowed at any one time but when it reaches the max some of my subscribers are locked out. Any help on this would be appreciated. |
#2
|
||||
|
||||
How do you determine when your site is "busy"?
|
#3
|
|||
|
|||
Well when the number of allowed people is on the site. If I set it to 300 then only 300 are allowed on and the rest are turned away (including the private members) this is why I need this hack. I can up the number of allowed people but they eat the bandwidth..
Any idea's? |
#4
|
||||
|
||||
Open global.php and find
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
Thanks Alot Gary I will try this out and let you know.
|
#6
|
|||
|
|||
This is what happened after I uploaded the hacked global.php
Parse error: parse error in /mnt/large/home/joescom/joescom/public_html/forums/global.php on line 340 Fatal error: Call to undefined function: getpermissions() in /mnt/large/home/joescom/joescom/public_html/forums/index.php on line 10 |
#7
|
||||
|
||||
What's on line 340?
|
#8
|
|||
|
|||
Quote:
How do I tell what line 340 is? |
#9
|
||||
|
||||
Did you replace the X in the code I supplied for you? You need to replace the X with the actual usergroupid of your private members.
|
#10
|
|||
|
|||
yes, I have actually 4 usergroups I need to put in there so I did it like this 1,2,3,4) was this right?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|