vb.org Archive

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

MentaL 02-12-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

Snake 02-13-2006 04:18 PM

Screenshots? :)

MentaL 02-13-2006 04:21 PM

Live demo : http://forum.ragezone.com

https://vborg.vbsupport.ru/

Snake 02-13-2006 04:58 PM

Uh I think this hack has been made already...

MentaL 02-13-2006 05:03 PM

I did a specific search for vb3.5 and could not find nothing so i did it myself and release under 3.5.3, prob is a 3.5 or 2.0 version as it works on all versions, non the less, 3.5 people have been searching and so i provided an alternative means to do so.

=)

XanTrax 02-13-2006 05:04 PM

OMG THANK YOU! You have no idea how much ive wanted this... Bascially the idea I had was to add a collapsable/expandable window that scrolls with you.

MentaL 02-13-2006 09:01 PM

Dont forget to click install :) and if any1 has a prob , dont be afraid to ask, its pretty simple.

twitch 02-13-2006 09:11 PM

How do you make it join a specific channel?

MentaL 02-13-2006 09:48 PM

read:: http://www.pjirc.com/help.php?p=0&faq_id=13

Zia 02-14-2006 01:26 AM

Thnx Man...We also have an Irc Network with 9 ircd...Its Pretty Nice....To have it..

I have some thing to aSK :
Our Webhost [www.powweb.com] did'nt allow to host java irc...so we hosted in another place.....
Now how could we use it..
Our bord hosted in :: host 1
Java Aplet hosted in :: Host 2

now we wanna use it....

Pls suggest us?


All times are GMT. The time now is 06:02 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.01079 seconds
  • Memory Usage 1,752KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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