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)
-   -   Embedded chat (https://vborg.vbsupport.ru/showthread.php?t=36651)

wot-Mike 10-23-2002 06:57 PM

Hmm, yeah. One thing I've noticed in our chat is that sometimes people start multiple instances of chat and login using various names. Not a big issue. I've made it pretty clear upfront that impersonating someone else is NOT funny. That's why the autoregister thingie can be nice. If only registered people can enter, then no more spoofing. And any subsequent login will (or can be set to) kick the previous login.
And one thing not in the applet code I posted is a password parameter. Autologin will stay, just with passwords now.

Maybe a register thing, maybe a Safe Settings button. Plus SC7 does provide more options for registration.
I'm still working on the basics now though, so who knows what the end result will be, hehe
Any suggestions are welcome though ;)

BrAinZ 10-25-2002 09:03 PM

Just keep up the great work on this hack!

As long as it works, auto logs users on with their vbb username, and has a "Who's in chat" feature... it will be GREAT!!

trainer 11-01-2002 02:03 PM

just noticed with the new sigma version 7 the autologin doesn't work. i guess we need an update... any suggestions?

jbear6 11-01-2002 04:02 PM

I got it to work by using the chatbit code from wot-Mike above:

<applet
codebase="http://client.sigmachat.com/current/"
code="Client.class" archive="scclient_en.zip"
width=625 height=315>
<param name="room" value="roomnumber">
<param name="username" value="$username">
<param name="autologin" value="yes">
</applet>

LearningMan 11-01-2002 07:21 PM

Has anybody been able to figure out how to properly pass the OTHER parameters to v.7? I'm talking about URL logging off, sub room creation off and stuff like that. These parameters don't seem to pass properly anymore either. :(

Autologin (the fix above) has been working correctly for me all day. Thanks!

wot-Mike 11-01-2002 07:50 PM

Quote:

Originally posted by LearningMan
Has anybody been able to figure out how to properly pass the OTHER parameters to v.7? I'm talking about URL logging off, sub room creation off and stuff like that. These parameters don't seem to pass properly anymore either. :(

Autologin (the fix above) has been working correctly for me all day. Thanks!

All settings are now done through the SigmaChat control panel. The only params that work are the ones in the post above, plus a password param, which will be used in the next chat script.

tanster 11-01-2002 11:57 PM

Took five minutes to update the chatbit code per your instructions. SigmaChat 7 now works beautifully with VB 2.2.6.

Thank you wot-Mike! :)

wot-Mike 11-02-2002 03:43 PM

Awwwww :)

And thank you!

DTC 11-03-2002 02:07 PM

I used to have it like the following:

- Users were auto logged in (all the way)
- They could not change it
- When they hit logout, it logged them all the way out and brought them to the main forum page

My previous chatbit was:

<applet code="Client.class" codebase="http://freechat.raidersoft.com" archive="scclient6_en.zip" width=760 height=500>
<param name="port" value="9000">
<param name="room" value="ROOMNUMBER">
<param name="canvaslength" value="1000">
<param name="lang" value="en">
<param name="layout" value="std">
<param name="lopt" value="s+t+a+c+h+d+l+">
<param name="urllist" value="false">
<param name="subroom" value="false">
<param name="exitURL" value="http://www.MYFORUM.com/forums/">
<param name="USERNAME" value="$username">
</applet>

I applied the new chatbit like in the thread and it does work, but it does not auto log in the user, and if I do log on manually, hitting the Logout brings me back to the login screen....not good because users can then login as someone else.

Thanks for all your time!!!

wot-Mike 11-03-2002 03:25 PM

Well, most settings are done through the control panel now. I'm having troubles finding various things too, but it's just a matter of playing with it, and learning the new layout.

Ok, where to find various options in the SigmaChat control panel:
* Log in here - http://www.sigmachat.com/login.html

* Click on User Accounts, and then on Options
/nick Command -> disabled
Disable Automatic User Registration System for now
Allow Guest Access = Yes (also for now)
Ghost Users - If IP matches
This will kick any previous login by the same username coming from the same IP address. This will unfortunately leave the old window open in the SigmaChat login screen. Choosing "Always Deny" will leave the new window open with the loginscreen. But the "if IP matches" option will at least stop your users from kicking other users by logging in as them (ok, there's still users coming from behind the same proxy server. Let's hope no one of them will discover this funny option....)

* Click on Websites, and then on Settings
Exit URL -> http://whatever you want
or Exit Url -> javascript:window.close();

This will either redirect the user away from the logout screen, or
the last one will try to close the window, but only after prompting the user first (just the first time though)

As for chatbit, this really should do the trick:
Quote:

<applet codebase="http://client.sigmachat.com/current/" code="Client.class" archive="scclient_en.zip" width=$setwidth height=$setheight>
<param name="room" value="YOUR ROOM NUMBER">
<param name="username" value="$username">
<param name="autologin" value="yes">
</applet>
I've been having some issues with people logging in multpiple times. The above settings will help a bit, but there's enough holes left (Ghost Users). Right now I can think of a few solutions, but the best bet is the new script. That will register users and log them in using their name and password. You can then disable Guest access, which will effectively kill the possibility to login multiple times using multiple names.
Since loginnames and passwords will be stored inside the vB database, installing the new script won't be as simple as the current version.

Hope this helps.


All times are GMT. The time now is 07:34 AM.

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.01322 seconds
  • Memory Usage 1,746KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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