Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Template Modifications

Reply
 
Thread Tools
Vbulletin Java Chat Details »»
Vbulletin Java Chat
Version: 1.00, by MentaL MentaL is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 02-12-2006 Last Update: Never Installs: 28
Supported Template Edits
 

Hi,

What this does is simply add a link which pops up in a window and connects to your specified irc server via a third party java application. We shall be using the freely distributed pjirc for this modifcation.

Installation
  • Download this file (pjirc) and extract to desktop, rename the folder to something suitable like irc and then upload to your server. (make sure to check the code in the bottom of this post for further customizations and correct dimensions)
  • Go to your admin panel and copy the following code into the header template
Code:
<SCRIPT LANGUAGE="JavaScript">
 
<!-- Begin
 
function popUp(URL) {
 
day = new Date();
 
id = day.getTime();
 
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=640,height=400,left = 256,top = 232');");
 
}
 
// End -->
 
</script>
  • Go to your navbar template and you can either do what i do and replace the calander link with the below code or add it yourself, anyways here is the code (make sure to edit the link to the address of the files you uploaded) and then save.
Code:
<A HREF="javascript:popUp('http://website.com/forum/irc/')">Java IRC</A>


woola, you intergrated a java irc client into your forum without any hassle.


your irc will require customization in order for it to fit so here is my file i named index.html so once that the link is clicked, it opens the window exactly in the perfect dimensions, your welcome to use this code, also included in the pjirc are more heavy versions of the java client but this one in my opinion is perfect, BE SURE TO EDIT THE SERVER AND NAMES TO YOUR LIKING (ONES IN RED)

Code:
<html>
 
<head>
 
<title>Vbulletin Java Chat</title>
 
</head>
 
<body leftmargin="0" topmargin="0">
 
<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>
 
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">
 
<param name="nick" value="VBCHAT">
 
<param name="alternatenick" value="VBCHAT???">
 
<param name="fullname" value="Java User">
 
<param name="host" value="irc.deltaanime.net">
 
<param name="gui" value="pixx">
 
<param name="quitmessage" value="Get a chat room for you're own vbulletin message board, visit https://vborg.vbsupport.ru/showthread.php?p=899188#post899188">
 
<param name="asl" value="true">
 
<param name="style:bitmapsmileys" value="true">
 
<param name="style:smiley1" value=":) img/sourire.gif">
 
<param name="style:smiley2" value=":-) img/sourire.gif">
 
<param name="style:smiley3" value=":-D img/content.gif">
 
<param name="style:smiley4" value=":d img/content.gif">
 
<param name="style:smiley5" value=":-O img/OH-2.gif">
 
<param name="style:smiley6" value=":o img/OH-1.gif">
 
<param name="style:smiley7" value=":-P img/langue.gif">
 
<param name="style:smiley8" value=":p img/langue.gif">
 
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
 
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
 
<param name="style:smiley11" value=":-( img/triste.gif">
 
<param name="style:smiley12" value=":( img/triste.gif">
 
<param name="style:smiley13" value=":-| img/OH-3.gif">
 
<param name="style:smiley14" value=":| img/OH-3.gif">
 
<param name="style:smiley15" value=":'( img/pleure.gif">
 
<param name="style:smiley16" value=":$ img/rouge.gif">
 
<param name="style:smiley17" value=":-$ img/rouge.gif">
 
<param name="style:smiley18" value="(H) img/cool.gif">
 
<param name="style:smiley19" value="(h) img/cool.gif">
 
<param name="style:smiley20" value=":-@ img/enerve1.gif">
 
<param name="style:smiley21" value=":@ img/enerve2.gif">
 
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
 
<param name="style:smiley23" value=":s img/roll-eyes.gif">
 
<param name="style:floatingasl" value="true">
 
<param name="pixx:highlight" value="true">
 
<param name="pixx:highlightnick" value="true">
 
</applet>
 
</body>
 
</html>


MentaL

Show Your Support

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

Comments
  #12  
Old 02-14-2006, 02:04 AM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would do what you said.

host 1 for the forum
host 2 for the java applet.

If you got cash to burn it would be useful to buy a hosting account for $5 with its on unique ip address and bind a dns entry to that ip so say irc.website.com is binded to that ip then you can use that java irc throught that.

Its how i have my irc server now running from irc.ragezone.com as its on a secondary server.

Hope that helps.
Reply With Quote
  #13  
Old 02-14-2006, 02:56 AM
Zia's Avatar
Zia Zia is offline
 
Join Date: Dec 2005
Location: golpo.net
Posts: 931
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

curious.......

yeap collaspable chat window...is a nice idea...
Reply With Quote
  #14  
Old 02-14-2006, 10:13 AM
Floris Floris is offline
 
Join Date: Jan 2002
Posts: 1,898
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, this was made, since v2 up to 3 and 3.5 by Zachery, it's called vBXIRC.
Reply With Quote
  #15  
Old 02-14-2006, 07:11 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I already use pjirc so setting this up was initially a breeze, but my chatroom is on a site webpage. How would I go about cropping the rest of the page out? (IE won't scroll down to the applet.)
Reply With Quote
  #16  
Old 02-14-2006, 08:38 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Only real way is to setup a second page using the code above as it uses the margins so it gives no boarders... if there is another way then i cant think of one but at the end of the day its a small extra html file to upload so :P no biggy.
Reply With Quote
  #17  
Old 02-14-2006, 09:20 PM
Zelda-King's Avatar
Zelda-King Zelda-King is offline
 
Join Date: Nov 2002
Location: London, England
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, that's what I ended up doing. I guess it's fine like this.
Reply With Quote
  #18  
Old 02-14-2006, 11:35 PM
srpompon srpompon is offline
 
Join Date: Feb 2006
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you dont send the forum id name to the chat? all users have same name?
Reply With Quote
  #19  
Old 02-14-2006, 11:42 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by srpompon
you dont send the forum id name to the chat? all users have same name?
it uses first predefined name, all other connections use the second predefined name with a random number on the end.. or

/nick Newname

:P
Reply With Quote
  #20  
Old 02-23-2006, 12:39 AM
GSM_electronic GSM_electronic is offline
 
Join Date: Oct 2005
Location: YU
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some questions here, simple to answer, I guess...

I wouldn't like to mess with irc server instalation, so I linked to my channel on irc.vbulletin-fans.com

Some, I guess, basics on irc... Sorry for my stupidity

1. Can I make myself an OP in that chatroom, everytime I login (register my nick?)
2. How do I set the topic in chatroom?

Any FAQ on those things?


Thx for any info
Nenad
Reply With Quote
  #21  
Old 02-23-2006, 09:15 PM
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
Posts: 550
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1: would need an irc client like MIRC to do that
2: double clicking the main window i think would do that.
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 04:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06951 seconds
  • Memory Usage 2,303KB
  • 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_code
  • (1)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
  • (3)pagenav_pagelink
  • (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