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
  #132  
Old 07-10-2002, 08:25 PM
trilOByte's Avatar
trilOByte trilOByte is offline
 
Join Date: Nov 2001
Location: England
Posts: 325
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack, I added it to my BB and am very happy, thanks. I had to redefine the fixed width tables, as I use portal and it forced the page to scroll because of the leftcolum. But figured it out easily enough. Well done.

Clicking on install for this hack.

One question, does anyone know how to show a list of "who's viewing that page" I need the code to stick in forumhome? I don't mind the 15min cookie timeout, anything is better than nothing, so very basic code will be fine until something better gets released..
Reply With Quote
  #133  
Old 07-21-2002, 12:01 AM
indiamike's Avatar
indiamike indiamike is offline
 
Join Date: Oct 2001
Location: New Jersey, India
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Ghostsuit
You might have missed him saying this
"One idea:
wait on the version that actually has a Who's in chat
It's ready enough now, so very soon..."

or maybe I've missed a different post.

Anyway fingers crossed he will release it.
I sort of have an idea about this "who's online" bit. Logically couldn't you just take your online.php and delete most of it out except for the "case 'chat':" parts (if you added them), change the permissions so everyone could see, rename the online.php to something else and make an include statement somewhere on your page showing who is on the page you have for your chat program.

Does that make sense?

Mike
Reply With Quote
  #134  
Old 07-21-2002, 12:10 AM
Prince Prince is offline
 
Join Date: Oct 2001
Posts: 333
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by indiamike


I sort of have an idea about this "who's online" bit. Logically couldn't you just take your online.php and delete most of it out except for the "case 'chat':" parts (if you added them), change the permissions so everyone could see, rename the online.php to something else and make an include statement somewhere on your page showing who is on the page you have for your chat program.

Does that make sense?

Mike
I see what you're saying but I do not think it would be very accurate. I have opened a new window on my forum while I am in chat and it then displays that I am in "who's online" even though I am also in the chat, and it does this with others as well.
Reply With Quote
  #135  
Old 07-23-2002, 06:59 PM
rharbison rharbison is offline
 
Join Date: Apr 2002
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I notice that the chatroom here has a "Who's in chat" listing. Are they using a different hack or something? I really need that feature, and would be willing to switch to a different chat to get it.
Reply With Quote
  #136  
Old 08-07-2002, 12:16 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi WotMike
Im getting this error. (I have Gzip set to of)

Ho do I fix this?

Quote:
HTTP/1.1 200 OK Date: Tue, 06 Aug 2002 11:31:53 GMT Server: Apache/1.3.23 (Unix) mod_bwlimited/1.0 PHP/4.1.2 mod_log_bytes/0.3 FrontPage/5.0.2.2510 mod_ssl/2.8.7 OpenSSL/0.9.6b X-Powered-By: PHP/4.1.2 Content-Length: 6091 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html
it worked fine for me in the start.

thanx in advance

dm

[EDIT] if I copy the url to chat.php and past it in my browser, it works perfect, just not from the button[/EDIT]
Reply With Quote
  #137  
Old 08-09-2002, 01:17 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi dm,

Umm, I really don't have a clue. Something like this happened to me ages ago, not just with chat.php but also with vB's showthread.php. And the cause was having gzip turned on in both php.ini and vB. It never showed up until after I upgraded Apache.
This doesn't apply here, since you say gzip is turned off in vB.

Ok, if it worked before, then what has changed since then?
Reply With Quote
  #138  
Old 08-13-2002, 12:50 PM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi wot-Mike
only what I did was changes the size 400x315 to 400x600 and changed it back again.
I did nothing else
maybe I should reinstall the hack.
Reply With Quote
  #139  
Old 08-15-2002, 08:43 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, the silly thing is that there's not much to (re-)install. But I vaguely remember me having probs with something that dissappeared when I replaced a template with the original one.

Let me know how things go.
Reply With Quote
  #140  
Old 08-16-2002, 10:16 AM
Ghostsuit's Avatar
Ghostsuit Ghostsuit is offline
 
Join Date: Nov 2001
Location: Glasgow, Scotland
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wot Mike any news on the who's in chat showing up on anther page?
Reply With Quote
  #141  
Old 08-16-2002, 01:33 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The original one I worked on a while ago, umm, didn't work. I've looked at other things since then, and then wrote one of my own from the ground up. But it's rather similar to GeorgeofCS' DigiChat Hack. Mainly because I used the same database changes, hehe.
I've been running that version for a while now and it works fairly well. Some extra funcionality was planned from the start, like a login counter to control the number (and the way) of logins people have. That's why I used GeorgeofCS's db structure. I saw good use for the "inchat" field then.

But based on the experience from the last weeks there are some other things I like to incorporate as well. One of the things I want is to get rid of the autosizing javascript. It's a good thing, but there are nicer ways

If you're really handy I can give you the 2.0 version I have currently. But there's hardly an instruction manual for installing 2.0, so you'll have to know your way around to get it working, including changing your templates to get the Who's in Chat to display. Well, unless you like the Who's in Chat we have, embedded in the Welcome Panel.
And the coming version won't be compatible with this one, so you shouldn't be afraid of messing with your database too
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 04:38 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.10302 seconds
  • Memory Usage 2,312KB
  • 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
  • (3)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_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