![]() |
Allow Specified Number of Guests on Forum
What does this hack do?
This hack allows you to specify how many guests you want to allow to browse your forums simultaneously. If the number of guests is more than the amount you specified, then the new guests will receive an error message stating that there are too many guests browsing the forums. The new guests will be able to browse the forums again when some of the other guests have left. This hack can drastically reduce your server load, allowing only members to completely enjoy the freedom of being able to browse the forums without having any messages saying there are too many members online :p :) Enjoy! |
Oooh.....I think I'll install this one once my forums are up again ^_^
|
I would install this but the most amount of guests I have ever had at one time was 5.... god my forum is pathetic :cry:
|
I would install this but I not want googly bots to be getting the error page or closed page.
|
Quote:
|
This is requested a lot of times, so thanks for releasing it! :)
|
I'd never deny any guests - this is one mean hack :)
|
Not sure how this is supposed to work but I applied this last night with a DB value of 5 and I still have 39 guests on my board--from 60 last night.
|
Quote:
|
Actually, I logged off and became a guest by default. I wasn't seeing this message at all, and was able to see my forum.
|
Quote:
This hack actually checks the real number of guests currently browsing the forums. If you want, though, I can help you raise the time frame to be longer. |
Well, right now I have the following:
There are currently 16 members and 41 guests on the boards. These bots and "guests" have been killing me lately, which is why I thought your hack would help out and save me! :) Maybe I did something wrong? I DID set the value (in value field) in the DB to 5 though, was I supposed to? There were no instructions to do so but it just seemed logical. |
Quote:
|
Well, if you get a chance, take a peak at http://globalaffairs.org/forum and tell me what you see as a guest.
|
Quote:
If you want, you could open up global.php, and find PHP Code:
PHP Code:
|
Thanks, will definitely try this out.
|
Nice to to see this working
|
hey gary, my members and I will get this error message periodicly even though we a logged in. Any ideas?
|
HI :)
Is there a way to modefy this hack to say ( If the load is higher that 30.00 :D allow 0 guests ). Thanks |
Quote:
|
Quote:
open global.php and before // check to see if there are too many guests online add PHP Code:
|
hey gary, my board says that 89 guests are still active. Is that just because they are at my homepage? How can I make it so the number is true to the number of guest viewing my board? Make sense?
|
That would require a different hack.
|
hey gary, i thought I got this working, but now it doesn't at all. I reinstalled the hack, did the changes posted in this thread and it just doesn't work. I have 142 guests online, I set the limit to 2 and I logout and can still browse the forums. thanks for your help!
|
Did it work before the update?
|
Yeah, but obviously I had the problem before, but it more-or-less worked.
|
What do you mean by "but it more-or-less worked"?
Can I have the URL to your forums? |
It did work, except for the minor problem mentioned above a week or two ago.
http://www.physicsforums.com |
Quote:
|
Post #18
|
The update I made to the install files should have fixed it.
You'll have to uninstall the old hack (remove/change back the changes) then install this new one. |
Quote:
|
Quote:
For you, just find PHP Code:
PHP Code:
|
All times are GMT. The time now is 02:26 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:
|