vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Is There a Way ... (https://vborg.vbsupport.ru/showthread.php?t=73340)

Bison 12-26-2004 07:52 PM

Is There a Way ...
 
To prevent users from opening up several windows to your forum? Reason why I ask is that some guys login and have 4 or more windows open, and for every window after the first is read as a "Guest" session.

How can I control the amount of connections, one user can make per login?

Dan 12-26-2004 08:35 PM

Quote:

Originally Posted by Bison
To prevent users from opening up several windows to your forum? Reason why I ask is that some guys login and have 4 or more windows open, and for every window after the first is read as a "Guest" session.

How can I control the amount of connections, one user can make per login?

There is no way from preventing users to open multiple windows of any site. But it shouldn't count as multiple guest sessions since they are logged by ip and one ip shouldn't be able to have multiple sessions.

Bison 12-26-2004 10:14 PM

login as a regular user, and open a few windows to your forum and check your WOL. You will have more people on your forum than their actually is because of this.

Dan 12-26-2004 11:07 PM

Quote:

Originally Posted by Bison
login as a regular user, and open a few windows to your forum and check your WOL. You will have more people on your forum than their actually is because of this.

What kind of browser are you using? I can't seem to reproduce this.... it shows me as being only on once

amykhar 12-26-2004 11:59 PM

I've seen it happen if you use the AOL browser because AOL uses proxies. So, one user on AOL sometimes has more than one IP hitting your site at the same time.

Dan 12-27-2004 12:03 AM

Quote:

Originally Posted by amykhar
I've seen it happen if you use the AOL browser because AOL uses proxies. So, one user on AOL sometimes has more than one IP hitting your site at the same time.

Ahhh.... didn't know that... well than its just an AOL problem and I don't think they should use it anyways

Michael Morris 12-27-2004 01:43 AM

Quote:

Originally Posted by Bison
To prevent users from opening up several windows to your forum? Reason why I ask is that some guys login and have 4 or more windows open, and for every window after the first is read as a "Guest" session.

How can I control the amount of connections, one user can make per login?

You can do this through javascript. When the user opens the first window the javascript in the page assigns a name to that browser window. If it can't (the name is already in use) it closes the window.

Now as to the exact code, I don't know it offhand - but go look on some javascripting sites.

Meanwhile you'll be putting the script in your headinclude template.

Note that this won't stop someone from opening multiple windows using multiple browsers on the same machine.


All times are GMT. The time now is 01:49 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.01056 seconds
  • Memory Usage 1,723KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete