Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

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
  #22  
Old 03-29-2002, 08:04 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea, you are 100% correct. i missed that 4. anyway, works like a charm. One of the best additions to our forums.
Reply With Quote
  #23  
Old 03-29-2002, 08:05 AM
Smoothie Smoothie is offline
 
Join Date: Oct 2001
Location: New York
Posts: 1,834
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BTW, they upgraded me in a matter of minutes as well. $49 well spent.
Reply With Quote
  #24  
Old 03-29-2002, 01:48 PM
datatec datatec is offline
 
Join Date: Jan 2002
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your hard work and sharing with all.

Okay, being totally dumb here lol

My server provides chat room options, Is this the same thing?

I mean, does this incorporate the chat room facilities on my server. rotohost.

Thanks in advance
Reply With Quote
  #25  
Old 03-29-2002, 02:18 PM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this hack and bought the upgraded chat room, but all of my users are getting "invalid login name" when attempting to access the chat room. I am passing the $username variable in the chatbit template...

ps: I've told people to delete their browser cache and that does not work either.

any ideas?
Reply With Quote
  #26  
Old 03-29-2002, 03:34 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jjj0923,

Did it work with the free version?

If so:
on raidersoft's admin page, on the General page, did you turn on "require validation", or what's that setting called?

Did you change the files in any way?

If no on everything, pm me your chatbit, and your General settings at raidersoft. An url and test account might help too

=================

Datatec,

What kind of chat rooms does your server provide? This hack should work with a lot of java based chats. All that's needed is to dump the code to call the chat into the chatbit template (with a few minor adjustments, I think). Do you have an example of such code?
Otherwise simply try it out. All that's really needed to get this thing going is the creation of three templates, and uploading the chat.php file. No modification of any vBulletin file or database setting is necessary. If it's never going to work (or you don't like it) undoing the install is easily done.
Reply With Quote
  #27  
Old 03-29-2002, 06:43 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

jjj0923,

I meant: did you turn on the "Verify Handle" setting on your general page, not "require validation". Don't know where I got that from
Reply With Quote
  #28  
Old 03-29-2002, 06:55 PM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks I figured that on out. yes, that was one of my problems. The other one was that I allow my forum members to use names up to 20 characters. The java chat client only allows 15 and will not let someone in with a $username greater than 15 characters long. I modifed chat.php to truncate $usernames longer than 15 and now they can get logged in automatically.

thanks!

- jeff
Reply With Quote
  #29  
Old 03-29-2002, 07:41 PM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wot-mike...

would you please email me, I have some question for you.
webmaster@fastboats.info

thanks

- jeff
Reply With Quote
  #30  
Old 03-29-2002, 07:59 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, I never even thought about that. I have our forum set to usernames up to 15 characters. A reminiscent from an older one, where long usernames really messed up the layout. Guess more "stuff" out there has problems with 15+ characters in usernames...

Anyway, the accepted usernames for raidersoft chat are 2 to 15 characters, alfa-numerical only and no other characters but an underscore. The chat.php deals with that at least, but not the lenght.

So, what change did you make to deal with longer names? Time to put up version 1.4, I think, hehe.
Reply With Quote
  #31  
Old 03-29-2002, 08:03 PM
jjj0923's Avatar
jjj0923 jjj0923 is offline
 
Join Date: Mar 2002
Location: Maryland
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I truncated them:

$username1=ereg_replace("[^A-Za-z0-9]", "_", $bbuserinfo['username']);

$myLength = strlen( $username1 );

if ($myLength > 15) {
$username = substr( $username1, 0, 15 );
} else {
$username = $username1;
}
Reply With Quote
Reply

Thread Tools

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 04:13 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04846 seconds
  • Memory Usage 2,301KB
  • Queries Executed 25 (?)
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
  • (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_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