Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 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.6.0 Rating:
Released: 08-13-2006 Last Update: Never Installs: 20
 
No support by the author.

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 11-16-2006, 09:44 AM
maxicep maxicep is offline
 
Join Date: Oct 2006
Location: California
Posts: 288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

im getting error when connect my irc server
error message :

Unable to connet. jav .net.ConnectionExeption : Connection time out conect

what can i do ?
Reply With Quote
  #13  
Old 11-19-2006, 10:23 PM
Josh1 Josh1 is offline
 
Join Date: Mar 2006
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by maxicep View Post
im getting error when connect my irc server
error message :

Unable to connet. jav .net.ConnectionExeption : Connection time out conect

what can i do ?
Are you behind a firewall or is the IP address wrong?
Reply With Quote
  #14  
Old 12-28-2006, 06:06 AM
kamilen kamilen is offline
 
Join Date: Mar 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still dont get your ideal :
Quote:
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=" img/OH-1.gif">

<param name="style:smiley7" value=":-P img/langue.gif">

<param name="style:smiley8" value=" 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>
So it's means that I have to create index.html page ? But where do i put this page ? To pjirc folder or to forum ?
Reply With Quote
  #15  
Old 01-01-2007, 07:57 AM
stan111 stan111 is offline
 
Join Date: Aug 2005
Location: CA
Posts: 146
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got this error

"Forbidden
You do not have permission to access this document. "

can anyone know wat is wrong there ?
thanks
Reply With Quote
  #16  
Old 01-02-2007, 05:54 AM
kamilen kamilen is offline
 
Join Date: Mar 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

MentaL : Can you help me ? I really need this one .
Reply With Quote
  #17  
Old 01-22-2007, 11:45 PM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok this is working for me, the only problem I see is the window isn't sized to the applet, I used your code for the index.html to.
Reply With Quote
  #18  
Old 03-30-2007, 06:40 PM
chicote chicote is offline
 
Join Date: Mar 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks...

but, I'm Portuguese, and I want a Portuguese server, how make this modifications??

thanks
chicote
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 06:24 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.05007 seconds
  • Memory Usage 2,291KB
  • Queries Executed 24 (?)
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
  • (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
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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_postinfo_query
  • fetch_postinfo
  • 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