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

Here's something that you may be looking for:
http://vbulletin.com/forum/showthrea...threadid=43174
look at the last post
Reply With Quote
  #63  
Old 04-09-2002, 09:03 PM
dgessler dgessler is offline
 
Join Date: Mar 2002
Location: Springfield Virginia, USA
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by tweak
WEll On the Main index page Couldnt you make the CHAT POP UP??? is that possible? So they wouyld have a BOX opened and be free to surf the net.
Well on my site I just use the target=_blank feature in my link to let it popup in a new window, works fine.. :bunny:

ps. THANKS FOR THE HACK!!

It is working great on my forum, especially since the AfterNic Forums/Chat got taken down 2 days ago, we are trying to get old AN'ers to my board, I also got the pro version of the chat, it's awesome
Reply With Quote
  #64  
Old 04-10-2002, 05:51 AM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using the blank thing as well. I showed that link, cause it's a beautiful way of linking to chat as well.

And thanks for the kind words
Reply With Quote
  #65  
Old 04-17-2002, 11:49 AM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed this hack without any problems and was up and running in about 20 minutes!

Excellent work Mike!

Guess I have to get the ole credit card out and upgrade! Thanks again for the great work.
Reply With Quote
  #66  
Old 04-17-2002, 07:14 PM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have upgraded to the professional account and have went into the settings to give my moderators online administrator privledges.

I entered in the Forum name, left the password field blank, and checked online administrator.

BUT, when they log on, they dont have /ban /kick etc features. Is there a way around this?
Reply With Quote
  #67  
Old 04-17-2002, 07:53 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The auto-login feature doesn't really care about user accounts, so you can't login that way with any admin privileges. If you have admins set up without passwords, then please do assign passwords to their accounts to avoid mis-use.
auto-login works seperate from any user accounts.

There's an url to an admin thingy however. If you log in to your raidersoft account, then on the right you'll see the link. Just pass that link on to your fellow admins. They can login that admin thing using their account credentials and do whatever's necessary.

There's also an url their to the chat room via raidersoft's website. If you start it up from there, then you can login the "regular" way, with account credentials and such, but it's away from the forum.
Reply With Quote
  #68  
Old 04-17-2002, 08:03 PM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update

Again, great hack!
Reply With Quote
  #69  
Old 04-25-2002, 09:28 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Small update:

This extra bit of code will allow Admins and SuperModerators to login to chat via their chat account credentials, and thus giving them admin control while in chat. You must ofcourse have accounts to log into (like the Professional chat in the case Raidersoft).

Every other forum member will still be logged in via auto-login. When an admin or supermoderator logs in, they get an invalid username warning, and can then log in manually.

Now, in chat.php find:
PHP Code:
eval("\$forumchat = \"".gettemplate("chatbit")."\";"); 
And before that, add this bit of code:
PHP Code:
if ($bbuserinfo['usergroupid'] != AND $bbuserinfo['usergroupid'] != 6) {
        
$username '';
    } 
There's a better way, but this is the easiest one to do
Reply With Quote
  #70  
Old 04-26-2002, 01:23 AM
-=dm=- -=dm=- is offline
 
Join Date: Nov 2001
Posts: 189
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi wot-mike
This is cool hack
I have little problem, when I login the chat it say user name takken (Im the admin)

and also on bottum of the page I get errors (sometimes)
something like this:
Quote:
HTTP/1.1 200 OK Date: Fri, 26 Apr 2002 02:07:12 GMT Server: Apache/1.3.23 (Unix) mod_gzip/1.3.19.1a 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-Encoding: gzip Content-Length: 1960 Keep-Alive: timeout=15, max=99 Connection: Keep-Alive Content-Type: text/html (and much more)
I have the sigma free chat but Im going to get the pro version
Reply With Quote
  #71  
Old 04-26-2002, 02:53 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by wot-Mike
Every other forum member will still be logged in via auto-login. When an admin or supermoderator logs in, they get an invalid username warning, and can then log in manually.
Thanks for the idea wot-Mike. I did it a little differently. Only two of us are chat moderators, so I took:
PHP Code:
if ($myLength 15) { 
$username substr$username1015 ); 
} else { 
$username $username1

and changed it to:
PHP Code:
if ($bbuserinfo['userid'] == or $bbuserinfo['userid'] == Y) {
    
$username '';
    } elseif (
$myLength 15) { 
    
$username substr$username1015 ); 
    } else { 
    
$username $username1

I just substituted our userids for X and Y and it works great.
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 01:16 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.09513 seconds
  • Memory Usage 2,316KB
  • 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
  • (4)bbcode_php
  • (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