vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Vbulletin Java Chat (https://vborg.vbsupport.ru/showthread.php?t=123959)

MentaL 08-13-2006 10:00 PM

Vbulletin Java Chat
 
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

http://img402.imageshack.us/img402/338/preview3od.jpg

AdmiralSpock 08-14-2006 07:40 PM

Thanks! I have this for 3.5.4 and will be installing it when I upgrade to 3.6.0. :)

utw-Mephisto 08-14-2006 08:33 PM

I don't want to hijack your release, but you should maybe mention the original release

http://forum.pjirc.com/viewtopic.php?t=3371

which still works with 3.6 ..

Kaezul 08-14-2006 09:09 PM

This mod has been around for ages and was introduced way before this release. You should at least give the original creator credit for the work.

MentaL 08-14-2006 10:18 PM

I didnt highjack nobodys release sir :)



https://vborg.vbsupport.ru/showthread.php?t=107886


All i am doing is creating a popup linking to a page.

Tonkan 08-27-2006 09:07 AM

And how can i make it join one specific channel?

MentaL 08-27-2006 10:35 AM

under

Code:

<param name="pixx:highlightnick" value="true">
add

Code:

<param name="command1" value="join #vbulletin">
replace vbulletin with one of your choice.

Snake 08-30-2006 04:05 PM

Thanks for the hack! I'll install it right away... :)

topsoftware 08-30-2006 10:07 PM

very god work for vb 3.6.0 but how can i crate chanel and public for my forum
thanks

Mattimus1984 11-05-2006 02:28 AM

How do you make it join a chanel with whatever the users's username is?


All times are GMT. The time now is 06:51 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.01081 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete