vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Allow Specified Number of Guests on Forum (https://vborg.vbsupport.ru/showthread.php?t=57455)

Gary King 09-28-2003 06:08 PM

Quote:

Originally Posted by ethics
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.

When it says there are 39 guests online, that's not entirely true - it just means there were 39 guests in the past amount of time you specified for the cookie timeout.

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.

ethics 09-29-2003 12:50 AM

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.

Gary King 09-29-2003 01:48 AM

Quote:

Originally Posted by ethics
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.

Yes, you did it right.

ethics 09-29-2003 03:15 PM

Well, if you get a chance, take a peak at http://globalaffairs.org/forum and tell me what you see as a guest.

Gary King 09-29-2003 06:33 PM

Quote:

Originally Posted by ethics
Well, if you get a chance, take a peak at http://globalaffairs.org/forum and tell me what you see as a guest.

You're right in that I don't see the error message, but that's most likely because the other guests who seem to be online in the Who's Online, haven't really been active in the past few seconds (so who aren't really actively browsing your forums at the moment.)

If you want, you could open up global.php, and find
PHP Code:

$datecut=time()-5

Replace it with
PHP Code:

$datecut=time()-$cookietimeout

Then it will work the way you wanted it to :)

ethics 09-29-2003 10:43 PM

Thanks, will definitely try this out.

gmarik 10-19-2003 04:26 PM

Nice to to see this working

dethfire 10-21-2003 10:31 PM

hey gary, my members and I will get this error message periodicly even though we a logged in. Any ideas?

Remi 10-21-2003 10:48 PM

HI :)

Is there a way to modefy this hack to say ( If the load is higher that 30.00 :D allow 0 guests ).

Thanks

Gary King 10-21-2003 11:04 PM

Quote:

Originally Posted by dethfire
hey gary, my members and I will get this error message periodicly even though we a logged in. Any ideas?

Re-download the instructions; I've updated them, thanks for reporting this :)


All times are GMT. The time now is 07:51 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
  • Page Generation 0.01300 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete