vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   VB eIRC chat intergration hack 1.0 (https://vborg.vbsupport.ru/showthread.php?t=37424)

Big J 12-11-2002 05:39 PM

Quote:

Originally posted by Slynderdale


in the header and footer, enter the full url for the links such as
http://yourforum.com/forum/member.php


THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU! THANK YOU!

SloppyGoat 12-19-2002 03:38 AM

Did anyone ever figure out how to compile and sign this? I'd really like a little help on this, or a quick rundown/link. I'd like to log on to another server. Anyone? :confused:

AWS 12-19-2002 07:33 PM

Download Java SDK v1.31.04 and the applet source from the eirc homepage at Sourceforge. Make sure you also download the libs and extract it to your eirc dir. Then run build.pl if on *Nix or build.bat if on Windows from shell. After the build is complete use jarsigner to sign the 2 files that are created in the build dir.

SloppyGoat 12-20-2002 04:31 AM

Thanks, I'll try it. :)

Damn, their site's down right now, but I'll try it again later. ;)

SloppyGoat 12-21-2002 12:07 AM

Ok, I got all the stuff, but I'm quite confused now. Do I need a private key to sign the jars? I thought keys were only used for SSL connections. Can I sign without a key? I've been reading up on this site, and it seems a bit more in depth than I'd originally gathered. Can you elaborate a bit on this procedure? :confused:

AWS 12-22-2002 05:41 AM

Use keygen utility to generate a cert to sign the applet. I'll write up a tutorial on how to do this and post it up later tommorrow.

Colon33 12-22-2002 07:41 AM

How would i connect to another irc server such as GAMESNET which i currently use. Can anyone tell me what to modify or what to do?

BlackDeath 12-22-2002 08:36 AM

cool

SloppyGoat 12-22-2002 07:43 PM

Quote:

Originally posted by Colon33
How would i connect to another irc server such as GAMESNET which i currently use. Can anyone tell me what to modify or what to do?
That's exactly what I'm trying to do here(not that server though).....it has to be "signed and compiled".

Thanks AWS! :D I can't wait to get this set up on another server! I'm sure it can't be that difficult, if I only knew how. The only tutorials I've found seem to assume you already know something about this. :cross-eyed:

AWS 12-22-2002 09:16 PM

What you need:

Java SDK 1.3 (1.4 is current but the applet source won't compile on it. You might not need to compile the applet.)
Jarsigner
Keytool (these tools are part of Java SDK)

How to sign it:

Create a directory to work in. Mine is called j-sign.
Make sure java is in your path.
CD into the working directory.

Now we want to create a cert to sign the applet.

at prompt type this, change any of the bracketed vars to what you want:

keytool -genkey -keystore [ whatever.store ] -alias [ yourcertname ]

Answer the questions that it asks and when you give it a password write it down so you don't forget it.
This will create your cert, now we just have to make it ready for signing.

At prompt:

keytool -export -keystore [ whatever.store ] -alias [ yourcertname ] -file [ yourcertname.cer ]

Make sure the name you give for the file has .cer extension

OK. You got your cert. There should be a file in the j-sign directory called yourcertname.cer.

Now cd into the directory where you untarred or if on Windows unzipped the eirc source and libs. You shouldn't have to compile the source. There are 2 jar files already compiled that you can use. Copy the .jar files to your j-sign directory. CD back to that dir.

Now lets sign them:

jarsigner -keystore [ whatever.store ] EIRC.jar [ yourcertname ]

You will be prompted for the password for your store, the pw you gave when you created the cert, type it in and in a second or 2 the applet will be signed to connect to any IRC server.
Repeat the step above to sign EIRC-gfx.jar and move the signed files to your docroot and test it out.

Remove the brackets when you do this.

The applet will now work with any IRC server that you choose to connect to. Just change the vars of the applet html page.

To see a working version go here.


All times are GMT. The time now is 10: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.01383 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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