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
  #2  
Old 03-28-2002, 07:44 AM
ExcErr's Avatar
ExcErr ExcErr is offline
 
Join Date: Feb 2002
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any screens?
Reply With Quote
  #3  
Old 03-28-2002, 09:21 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I wish to use this, but I do not know which 'free' chat I can use, and one that allows me to connect to a given server, instead of only localhost! Which one do you use and which one can you advice? err. I couldn't get eIRC to work though ..
Reply With Quote
  #4  
Old 03-28-2002, 09:33 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I started with the free chat from http://www.raidersoft.com, and it convinced me to go paid. The free version does have ads in them (logo sized), but there not annoying and no "register" messages inside the chat room. Simply excellent stuff

I don't have suitable screenshots right now, but will later today.
Reply With Quote
  #5  
Old 03-28-2002, 09:57 AM
mayja mayja is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just tried it. I like it!
One question though- what do I need to change to make the screen size just a bit smaller than the settings you have in the chatredirect template. My screensize for example, is 1024x768 and the chat screen appears as 955 wide, which blows out my content table (set to 90%). I tried changing the sizes in chatredirect and the array in chat.php but it doesn't seem to make a difference, it keeps going back to 955 width.
Thanks!
Reply With Quote
  #6  
Old 03-28-2002, 10:12 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you did everything right:
in chatredirect change:
chat.php?setwidth=955&setheight=330

to something like:
chat.php?setwidth=925&setheight=330

Don't know if the size is right, it takes some experimenting.

(Do NOT use percentages! The whole reason for this setsize construction is because IE6 has a bug in it's java support, which effectively kills a chat room re-load (the first load is fine, and reload fails). Chris from raidersoft support found this out for me )

chat.php the array should contain the same values as the set"size" from the javascript bit.

Now you've all done that, meaning that the chat is cached somewhere. I ran into the same problem.
Either empty your browsers cache,
or (in my case):
PHP Accelerator had cached chat.php, but failed to see any subsequent minor changes. I had to stop apache, clear out the PHP Accelerator cache, end start apache again

Hope that helps
Reply With Quote
  #7  
Old 03-28-2002, 10:24 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The size array isn't necessary, but I put it there to filter out any weird input, and to "force" a valid layout. The layout thing is still not foolproof though
Reply With Quote
  #8  
Old 03-28-2002, 10:35 AM
mayja mayja is offline
 
Join Date: Oct 2001
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey thanks! I cleared the cache and that did the trick. Looks great!
Reply With Quote
  #9  
Old 03-28-2002, 11:56 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cool!

Could you share your settings with us?
I mean forumwidth%, versus the setwidth settings in chatredirect

Such settings might help others with different widths settings on their forums. The basic settings in the install are based on full width
Reply With Quote
  #10  
Old 03-28-2002, 04:55 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, here's a screenshot.

It's based on a 800x600 resolution to keep the size down a bit

This is raidersoft's paid chat, but the free version looks about the same (except for the logo, hehe)
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 06:30 PM.


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.10555 seconds
  • Memory Usage 2,288KB
  • Queries Executed 23 (?)
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
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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