Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Embedded chat Details »»
Embedded chat
Version: 1.00, by wot-Mike wot-Mike is offline
Developer Last Online: Mar 2006 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 03-27-2002 Last Update: Never Installs: 150
 
No support by the author.

This "hack" will allow you to run a semi-integrated (free or paid) chat room "inside" your forum:

+ It's quite generic and should work with several chat providers (made a seperate template, just for the applet code)
+ The chat room will be displayed within your forum's structure,
+ The chat applet will be sized according to the user's screen resolution (could get scary at 1600x1200 )
+ People will be logged into the chat room using their forum usernames (if the chat supports auto-login)
+ Invalid characters in usernames will be replaced before logging in to the chat, plus too lengty names will be shortened
+ Easy installation

- At this time there's no feedback from the chat room to the forum. A "chat monitor" is planned though (version 2)

The install docs and template examples are mainly focussed on the chat provider we use (http://www.raidersoft.com), but it shouldn't be a problem adjusting one or two things to get this thing to work with your own chat provider.

The sizes of the chat applet haven't been tested out fully. I have no clue how bigger resolutions work out. All the rest seems to work fine.

Hope you like it...

[update 1.4]Sizes can now be set more easily, just by editing the chatredirect template, nothing else.
Added support for raidersoft's ICE, which is more flexible with usernames.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #152  
Old 10-23-2002, 06:57 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #153  
Old 10-25-2002, 09:03 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!
Reply With Quote
  #154  
Old 11-01-2002, 02:03 PM
trainer trainer is offline
 
Join Date: Nov 2001
Posts: 160
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just noticed with the new sigma version 7 the autologin doesn't work. i guess we need an update... any suggestions?
Reply With Quote
  #155  
Old 11-01-2002, 04:02 PM
jbear6 jbear6 is offline
 
Join Date: Oct 2001
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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>
Reply With Quote
  #156  
Old 11-01-2002, 07:21 PM
LearningMan LearningMan is offline
 
Join Date: Dec 2001
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #157  
Old 11-01-2002, 07:50 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #158  
Old 11-01-2002, 11:57 PM
tanster's Avatar
tanster tanster is offline
 
Join Date: Feb 2002
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #159  
Old 11-02-2002, 03:43 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awwwww

And thank you!
Reply With Quote
  #160  
Old 11-03-2002, 02:07 PM
DTC DTC is offline
 
Join Date: May 2002
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!!!
Reply With Quote
  #161  
Old 11-03-2002, 03:25 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:33 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.04892 seconds
  • Memory Usage 2,311KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete