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
  #182  
Old 01-17-2003, 03:44 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, Mike, for the kudos. Sorry to hear about the job - the market is so volatile for us techie people.

I tried doing a "whos in chat" using the db, but the problem was that they liked to surf the boards in another window, which would assume the member was elsewhere or had logged out. They also didn't use the logout button, so alas. According to Raidersoft, they will be adding this in their next release (due out around March) in addition to indicating which member is in which subroom. They said this would most likely cost extra, since it will add to their server load/traffic.

They are very open to suggestions, though-- seems like a good company with good support. Thanks again!
Reply With Quote
  #183  
Old 01-26-2003, 12:12 AM
Destee's Avatar
Destee Destee is offline
 
Join Date: Oct 2001
Location: destee.com
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wot-Mike ... thank you for sharing this hack.

*clicks installed*

Destee
Reply With Quote
  #184  
Old 01-26-2003, 05:46 AM
RZ500 RZ500 is offline
 
Join Date: Jan 2003
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Tanks for this info, but i have a problem, I all ready did everithyng you said and sometiems I do not get the username to be registered at the chat and I have to tipeit by myself, any sugetion.
Reply With Quote
  #185  
Old 02-03-2003, 03:50 AM
94supratt 94supratt is offline
 
Join Date: Dec 2002
Posts: 60
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by wot-Mike

94supratt, a late answer, but did you change the code? Uploading a fresh copy of chat.php will probable solve your problem. Or check the code you altered.

I've had it working for a while now. However, I now get a class not found error. When it tries to load. Did they change the applet?
Reply With Quote
  #186  
Old 02-03-2003, 05:12 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A "class not found" error is a caching thing with your browser. Clearing the cache should work.

The correct way to do that is clear the cache, close all browser windows you have open, and then reload the chat. You might run into the same thing then. Hitting refresh (maybe a couple of times) should help then.

We've had this problem when Raidersoft upgraded a while ago. I've had it myself, and it was quite a sticky problem. I solved it back then by upgrading my java thingie from Sun. That definitely reinitiates the cache, hehe.


And RZ500, seems like you have a unique problem there. I think I need more info, but I wouldn't know what kind of info. Things work, or things dont work. When things work sometimes it gets really difficult.
Reply With Quote
  #187  
Old 02-14-2003, 01:21 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have upgraded my raidersoftware chatroom to platinum and am curious if I need to take off the "log-in" button as described earlier.

Auto-login is working because of the parameters I'm using.

I'm not sure I need all these with the auto log in..

<applet
codebase="http://client.sigmachat.com/current/"
code="Client.class" archive="scclient6_en.zip"
width=700 height=$setheight>
<param name="port" value="9002">
<param name="room" value="XXXXX">
<param name="cabbase" value="scclient_en.cab">
<param name="USERNAME" value="$username">
<param name="autologin" value="yes">
<param name="exitURL" value="javascript: window.close()">
</applet>

I have no clue what "PORT" value to provide. I'm behind a firewall at work and at a loss since I can't see my chatroom to work on it at the moment.

ANother question about "mods"

I have a group of mods on my message boards and a separate group of chat team mods. (We've been using an AIM chatroom)

I'd rather this group of 40+ chat mods not have admin status.

Could I just designate them to show up as a mod in the chatroom (bold name or something) and if they need someone banned, could they send the name to a message board mod to "ban" them? This "chat team mod" is a different usergroup on my message boards: UsergroupID=41

I guess I'm confused. I'm assuming that this embedding doesn't check the username/password of the vb, but rather passes the cookie/username into the chatroom automatically.

So, I'm assuming if we ban a username, they can't access the message boards and thus, can not log in.

Is this why I need to remove the log-in button from the log-in page? Or are my parameters (from above) for the chatbit okay?

Thanks for your help. I'm very happy with this hack!
Reply With Quote
  #188  
Old 02-14-2003, 02:07 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, it only passes the username through, it does not check your authentication tokens (unless you add each user as a chat user through your chat admin, but that is a nightmare if you have a large userbase like we do).

SO, this is why you must remove the [LOGOUT] button-- or else they can logout and then choose their own username for chat.

Because we have paid subscribers, I also put in an authentication check at the beginning of the chat php file, just to make sure the user is subscribed and their account is not expired.

Jennifer.
Reply With Quote
  #189  
Old 02-14-2003, 02:46 PM
Kathy's Avatar
Kathy Kathy is offline
 
Join Date: Nov 2001
Location: Texas, ya'll
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jamoss
Yes, it only passes the username through, it does not check your authentication tokens (unless you add each user as a chat user through your chat admin, but that is a nightmare if you have a large userbase like we do).

SO, this is why you must remove the chat button-- or else they can choose their own username for chat.

Because we have paid subscribers, I also put in an authentication check at the beginning of the chat php file, just to make sure the user is subscribed and their account is not expired.

Jennifer.
I must remove the "chat" button or the "Log in" button? Now that I have "auto login" set in my parameters, I don't see a "log in" page anylonger. It bypasses the log-in screen. WIll this work? Do I have the correct version of the scclient_en.cab set in my parameters to remove the "log-in" button?

ALso, how did you set the authentication check at the beginning of your chat.php file? DOes it check for a specific usergroup?

Another question...how do mods/admin show up in the room? I don't see any distinction for an admin in the chatrrom. Are they designated with a * or bold?

I just don't get the "admin console" at all. WHen I log in there, I'm not in the chatroom and only have a small little console. How does this chatroom check for admins?

Did I miss a bit of the hack for the log-in to check for admin?

Thanks for your help.
Reply With Quote
  #190  
Old 02-18-2003, 06:35 PM
aldamon aldamon is offline
 
Join Date: Oct 2001
Location: Durham, NC
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm crying right now. We've had SigmaChat Pro for months now and I knew nothing about this hack. Kudos to the author(s)!

Anyway, Raidersoft just started a new support forum and they're asking for a link to this hack, and others like it:

http://support.raidersoft.com/forums...4&hl=vbulletin

I'll leave it up to the hack author to respond. Obviously, they'll have to register a copy of vB to read these forums, so someone might want to upload the hack to RaiderSoft's servers.
Reply With Quote
  #191  
Old 02-18-2003, 09:57 PM
jamoss's Avatar
jamoss jamoss is offline
 
Join Date: Apr 2002
Location: Los Angeles
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Kathy -- oops! I meant: you have to remove the LOGOUT button, which is configurable in your chat settings on the Raidersoft site.

Cheers,
Jennifer.
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 03:05 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.09694 seconds
  • Memory Usage 2,319KB
  • 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