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
  #92  
Old 05-06-2002, 12:39 AM
Odil Odil is offline
 
Join Date: Apr 2002
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by wot-Mike
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.
Excellent chat, I have it working with no problems on my board. I just have no clue how to force the chat to login people using their VB names. It prompts people to enter a nick. I have my chat setup so people just click on "chat" and it calls up the chat.php.

What do I need to add to set the login names automatically? Chat uses Raidersoft.

Thanks!

Kim
Reply With Quote
  #93  
Old 05-06-2002, 01:12 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 Odil
What do I need to add to set the login names automatically? Chat uses Raidersoft.
If you have Verify Handle set to off in the chat room this happens automatically in chat.php. I'm not sure what the problem could be.
Reply With Quote
  #94  
Old 05-07-2002, 02:40 PM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just noticed that this hack disables the RIGHT-CLICK menu? How would users adjust their font size now?

Is there a "/" command for fonts since right-click no longer works?
Reply With Quote
  #95  
Old 05-07-2002, 04:16 PM
tkeil69575 tkeil69575 is offline
 
Join Date: Nov 2001
Posts: 110
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi dprice,
I dont think the hack has anything to do with the fact that the right-click no longer works. I think that a raidersoft problem. Its the same with me.

If you change

<applet codebase="http://freechat.raidersoft.com" archive="scclient4.zip" code="Client.class">

to

<applet codebase="http://freechat.raidersoft.com" archive="scclient.zip" code="Client.class">

then the fonts will work with right click, but it will also allow the users to logout and then they would be able to login again using a different name.

grettings tina
Reply With Quote
  #96  
Old 05-07-2002, 08:12 PM
ThoughtDiver ThoughtDiver is offline
 
Join Date: Apr 2002
Location: Fort Wayne, IN
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I talked with Chris at raidersoft and that is true. The scclient4 does not allow the right-click for font change.

They are also planning on coming out with some updates in a month or so from what I gathered.
Reply With Quote
  #97  
Old 05-08-2002, 12:59 PM
dprice dprice is offline
 
Join Date: Apr 2002
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the info guys.

I did not want the logout buttonfor security reasons. Dont want other members using screen names not belonging to them, therefore I use the autologin feature.

My fix for the small fonts was to login to Raidersoft.coms control panel and under General options, you can make the font 16 standard for all users. Alot bigger than the default.

Where the problem now lies is if a user opens up a new window while in the chat room, the auto-login process will fail due to user already being logged in on other window.

The system will now ask them to enter a name/handle. They can now type whatever they want. What I have done is went into Raidersofts control panel and created account names that I wanted protected (IE. admins/moderators). If a user tries to use one of these names, they will be forced to enter a password.

Is there a way around this? Would like for it to keep looping and force them to close the second chat window. Is there an option or a script that I missed inserting?

Thanks in advance
Reply With Quote
  #98  
Old 05-08-2002, 01:10 PM
|-Last-Spirit-| |-Last-Spirit-| is offline
 
Join Date: Mar 2002
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I got quite some problems here, could someone just write 1 hack instead of letting people mix 2 versions ?

I have a registered irc channel so I don't need one like raiden thingie. So I used jpilot...

Now I installed the "embedded hack" the original thread this was about. That till the point is asks refers to the other hack "jpilotchatembed.zip" for the last template. Then I ignored the start of that hack (as they ask to upload the same stuff I already uploaded from the first hack) and edited my "template_chatbit_without_serv_options.txt" file and used it in the redirect template.

The chat.php included in the second hack screws everything up so I kept using the chat.php from the first hack. The window loads, all the buttons and stuff, but the chat area stays gray and when I choose a room it doesn't do anything, also my browser says it loaded the page but with errors.... and it says something like "class not found" so cound someone plz make 1 installation instructions to set up a embedded chatroom with jpilot with all files you need included (so don't refer to other hacks)

TNX A LOT !!!
Reply With Quote
  #99  
Old 05-08-2002, 08:30 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by dprice
...Is there a way around this? Would like for it to keep looping and force them to close the second chat window. Is there an option or a script that I missed inserting?...
In short, unless you set up user accounts within chat, and require valid usernames, then no, there's nothing you can do to stop people from logging in a second time with a different username. I think I stressed a couple of times that the least anyone should do is to set up password protected accounts for admins and mods.
I was thinking about a solution for this, but with my chatroom, very occasionally people get disconnected while they remain logged in in the chat. By entering a different name they can always come back in. Any disconnected usernames will be released after 15 minutes I believe.

I also haven't had time yet to work on the "who's in chat". I'm really bothered by that, but I cant help it
Think that when it will be there, it will contain an option to keep people from firing up the thing twice.


And I can't help with the jpilot thing. I know nothing about it
The simplest tip I can give is:
suppose you build a html page within the forum structure to hold the chat room, then all the chat specific code that you normally put in the html page, can be placed within the chatbit template. Maybe with a little work, but all output by the forum is just html anyway. The chatbit template is inserted between <TD> tags
Reply With Quote
  #100  
Old 05-09-2002, 08:46 AM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this GREAT hack.. really appreciate it !!

One question I have though, is that I want to open the Chat in a resizeable window WITHOUT my normal HEADER stuff showing at the top.. BUT with my users auto logging in.

Any ideas on how this can be done?
Reply With Quote
  #101  
Old 05-09-2002, 01:50 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit the chat template. That defines what the page looks like. People will still be auto-logged in

And you can resize the window anyway, but you can't resize the chat applet itself without logging out and in again. If people want a different sized applet, then all they have to do is play with the "setheight=" and "setwidth=" settings in the url, and hit enter. This will reload the applet with the sizes they've specified
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:45 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.08204 seconds
  • Memory Usage 2,315KB
  • 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