Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
VB eIRC chat intergration hack 1.0 Details »»
VB eIRC chat intergration hack 1.0
Version: 2.00, by andrew67 andrew67 is offline
Developer Last Online: Apr 2023 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-13-2002 Last Update: 05-02-2005 Installs: 138
 
No support by the author.

VERSION 2.0 - UPDATED FOR VB3.0.7
Now Even Easier To Install!!! - Enjoy

NOTE: VERSION 2 is for VBulleting 3.0.7, VERSION 1 is for 2.2.x
PLEASE MAKE SURE YOU DOWNLOAD THE CORRECT VERSION...

1 x new template
1 x file upload
1 x template edit (Optional I guess, you could put the link to your chatroom anywhere you like....)

P.S. You will need to add the templete to each style your site uses and edit to suit...

---------------------------------------------------------------------

This is a very very easy hack to install and must be one of the easiest and best free ways to add chat to your forums. This hack uses Eirc java applets to connect to World IRC servers. There is no need to sign and compile Eirc yourself or even host it or a irc server, simply follow these instructions and you will have FREE, full, IRC chat on your forums in under 2 minutes...

For a demo, checkout the chat running here at vbullettin.org ( https://vborg.vbsupport.ru/chat.php? ) as it uses the same java applets and basicly is the same as this hack...

Once you have installed the hack pop into #austech and say hello...
Thanks & Enjoy...

Although Version 1.0 for VB2.2.x is still working and also still available, I DO NOT offer support for it...

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #92  
Old 05-03-2002, 09:33 PM
springbok's Avatar
springbok springbok is offline
 
Join Date: May 2002
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

A quick intro. I am brand newbie to vBulletin and paid for my license tonight. I have tried to install this but it won't work.

The page just comes up blank and if I change the path testing various possiblies it mostly give me the not found error. Any ideas? I am running vBulletin on a win2k machine, might this be the issue?

I would really appreciate any help you could give.
Reply With Quote
  #93  
Old 05-08-2002, 08:46 PM
BrAinZ's Avatar
BrAinZ BrAinZ is offline
 
Join Date: Dec 2001
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have installed this hack but when you try to load it it seems to "pause" for ages then comes up with :

Closing Link ...blah blah.. (USER: bad username)

Any ideas ?
Reply With Quote
  #94  
Old 05-09-2002, 02:02 AM
andrew67 andrew67 is offline
 
Join Date: Dec 2001
Posts: 157
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To solve the error in the login, in the chat template change the line

<param name="username" value="$bbuserinfo[username]">

to

<param name="username" value="javauser">

or put your site name or something there instead of "javauser"....
Reply With Quote
  #95  
Old 05-09-2002, 07:43 PM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by andrew67
To solve the error in the login, in the chat template change the line

<param name="username" value="$bbuserinfo[username]">

to

<param name="username" value="javauser">

or put your site name or something there instead of "javauser"....
What exactly does this do? The reason I ask is it my chat works great for my admin name and for other's so far. But, I have a regular user account so I can view the board as a regular user. When I try to chat with my "Mike's Dad" as my user name, it first gives me a user name taken, then all subsequent nick changes result in the error message given above, bad user name. I am going to try what you said above, but what exactly is the problem? I'm just interested.
Reply With Quote
  #96  
Old 05-09-2002, 09:32 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some characters can not be used in usernames. I don't know about the requirements for this particular chat, but if a name contains invalid characters then you will not get into chat.
Reply With Quote
  #97  
Old 05-10-2002, 12:35 PM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that was something I overlooked, the apostraphe is invalid. Any suggestions on how to work the apostraphe? Can these be masked out or something? Thanks in advance, if all else fails I can edit members user names and make a note when registering not to use ' in the user name. Currently out of about 450, only 14 member names have the invalid charachter.

[edit] I figured out how to strip the apostraphe using the str_replace, but now I seem to get the apostraphe stripped and it only uses the first part of the user name, ie. Mike's Dad is Mikes. Here is my chat.php
PHP Code:
<?php
error_reporting
(7);

require(
'./global.php');

$chatusername=str_replace(" ","_",$bbuserinfo[username]);
$chatusername=str_replace("'","",$bbuserinfo[username]);

eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>
I am using the the Sylverdale forumchat template with the chatusername replacements. Yes I am learning on the fly.
Reply With Quote
  #98  
Old 05-10-2002, 08:54 PM
wot-Mike wot-Mike is offline
 
Join Date: Oct 2001
Location: Netherlands
Posts: 106
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, look at your code:

the first "$chatusername=..." line, what does this do? It looks at $bbuserinfo[username] (Mike's Dad), replaces each space with an underscore, and then stores the edited value in $chatusername (Mike's_Dad)

The second line again looks at $bbuserinfo[username] (Mike's Dad), removes each apostrophe, and the stores the edited value in $chatusername (Mikes Dad), overwriting the already existing value of Mike's_Dad
Since the first value was overwritten, $chatusername now has a value of "Mikes Dad".
Your chat only accepts the first part, before the space, meaning "Mikes Dad" will be logged in as "Mikes".

Back to the drawing board
Reply With Quote
  #99  
Old 05-11-2002, 01:50 AM
Slynderdale Slynderdale is offline
 
Join Date: Mar 2002
Location: New York State
Posts: 576
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by xeon
Well that was something I overlooked, the apostraphe is invalid. Any suggestions on how to work the apostraphe? Can these be masked out or something? Thanks in advance, if all else fails I can edit members user names and make a note when registering not to use ' in the user name. Currently out of about 450, only 14 member names have the invalid charachter.

[edit] I figured out how to strip the apostraphe using the str_replace, but now I seem to get the apostraphe stripped and it only uses the first part of the user name, ie. Mike's Dad is Mikes. Here is my chat.php
PHP Code:
<?php
error_reporting
(7);

require(
'./global.php');

$chatusername=str_replace(" ","_",$bbuserinfo[username]);
$chatusername=str_replace("'","",$bbuserinfo[username]);

eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>
I am using the the Sylverdale forumchat template with the chatusername replacements. Yes I am learning on the fly.
use:
PHP Code:
$chatusername=str_replace(" ","_",$bbuserinfo[username]);
$chatusername=str_replace("'","",$chatusername); 
Reply With Quote
  #100  
Old 05-13-2002, 08:09 PM
xeon xeon is offline
 
Join Date: Oct 2001
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the input and Slynderdale, your code worked great. Thanks again.
Reply With Quote
  #101  
Old 05-15-2002, 04:59 AM
megatest's Avatar
megatest megatest is offline
 
Join Date: May 2002
Location: France
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hell'o there. Many thanx for that great and easy hack.

BUT I'M STILL WONDERING...

Is there a way to have an "Who's chatting on line" list
for that ?
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 02:55 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.06263 seconds
  • Memory Usage 2,320KB
  • 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_php
  • (2)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