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)

Floris 04-15-2002 12:05 PM

I do appriciate users publishing hacks, and I even like this one.
I was not even 'attacking' andrew, but mearly asking him why he didn't put it in beta if it isn't finished, and even his first. His reply was uncalled for and his behaviour is childish.

My intention is not to spoil anybody's fun and/or to jump on people who made their first hack. And it is not a life/death situation when someone makes an error. That is why you can reply to threads.

andrew67 04-15-2002 12:08 PM

Ok, Sorry I didnt even notice the beta hack forum until now... I now understand this, and I apoligise for my tanty, its been a long weekend and after a few of the PM's I recieved and stuff I just let fly, I apoligise. I guess there is no point moving this to beta hacks now as it seems to be all ok now.. I will release my next hack in beta hacks forum.

Floris 04-15-2002 12:11 PM

Thank you for your apology and I am happy to hear you are not removing the hack. Just because you had a little argument with one of the 10k members of this forum.

I also see no need to remove it, since the flaws have been fixed by you already during the last day.

I normally do not even reply to PM's of most users. If the PM is about the hack, they can post it in the thread. *doh* :)

KuraFire 04-15-2002 12:12 PM

edit: hmm, you can ignore this post, sorry...

Quote:

Originally posted by andrew67
Thanks & Gratitute go along way in this world. Woopee I made a mistake, you must never make mistakes, you are so perfect... Frigg this, I am removing this hack, I will release it to a more gratefull bunch of people.


Y'know, if this is all not such a big deal ("a mistake") why are you overreacting so much?

The thing is, you reacted wildly to Xiphoid when he was being perfectly polite to you. So don't go talking to people as if you know all about gratitude and all that jazz.

There's plenty of people who really appreciate you making this hack for them, but as with everything in life, there will always be some people commenting on you/your work. That's why the beta forum exists, in this case.

andrew67 04-15-2002 12:23 PM

Quote:

Originally posted by KuraFire


Y'know, if this is all not such a big deal ("a mistake") why are you overreacting so much?

The thing is, you reacted wildly to Xiphoid when he was being perfectly polite to you. So don't go talking to people as if you know all about gratitude and all that jazz.

There's plenty of people who really appreciate you making this hack for them, but as with everything in life, there will always be some people commenting on you/your work. That's why the beta forum exists, in this case.

I realise this and I apoligise to everyone involved.

wooolF[RM] 04-15-2002 12:27 PM

]anyway great hack! ;)

chazman 04-15-2002 03:09 PM

is there a way to make this hack work like an instant messenger with a link next to users online. Pop up messaging would be a nice feature without having to use the PM style reply option. A simple .. hey you there.. type message is a pain in the PM feature.

Chazman

Rick 04-15-2002 03:15 PM

A lot of people have asked if there is a way to use this with IRC servers other than the one included. Well there is...

Just get another IRC compatible Java client. I pasted the code from another client into the template I created, left everything else the same and it works perfectly!

This is the one I'm using.
http://www.valinor.sorcery.net/clients/snirc.html

Thanks for the hack which got me going on this!

wooolF[RM] 04-15-2002 05:45 PM

well... thanx for the tip... but I have checked and snirc doesn't have the same possibilities as eIRC does... and design sucks big time... :/

Rick 04-15-2002 08:22 PM

That was just one example, I don't see any reason you couldn't use any java based IRC client. We provide SNIRC on our board to try and force people who complain about the lack of features to use a "real" IRC client like mIRC.

WallStreat 04-16-2002 12:40 PM

I tried the hack & was up and running under 5mins, without a glitch :)

This is a GREAT hack!

http://www.ezyinvest.com/forums/eirc.php

Oriion 04-16-2002 04:50 PM

I REALLY want to use this hack, but after following all the instructions, I get the error

!!! Couldn't resolve ther server address irc.enterthegame.com

You can see that yourself here:
http://www.tournament.com/chat/

wooolF[RM] 04-16-2002 09:33 PM

]Just an example of what u can get if u try a lil bit and not flame others... no offence...

http://mpc.exsilia.net/chat

andrew67 04-16-2002 10:50 PM

Quote:

Originally posted by wooolF[RM]
Just an example of what u can get if u try a lil bit and not flame others... no offence...

http://mpc.exsilia.net/chat

Coolies, looks very nice.. :) I gather you got it compiled and signed?

andrew67 04-16-2002 10:52 PM

Quote:

Originally posted by Oriion
I REALLY want to use this hack, but after following all the instructions, I get the error

!!! Couldn't resolve ther server address irc.enterthegame.com

You can see that yourself here:
http://www.tournament.com/chat/

You need to compile and sign the applets or host the IRC server on same server as applets in order to use other IRC servers.

Castel 04-16-2002 11:00 PM

andrew76, does this applet use a lot of server resources? I was alway led to believe chat applets are pretty server resource intensive and most hosting companies don't allow you to even install them for the very reason I assume.

I have a dedicated server but my site is very busy so i still have to watch what's going on behind the scenes :) Also I assume this doesn't use any db resources once it's loaded? This hack could possibly help to release some stress from my off-topic forum which most users seems to use as a chat substitute.

wooolF[RM] 04-16-2002 11:21 PM

]
Quote:

Originally posted by andrew67


Coolies, looks very nice.. :) I gather you got it compiled and signed?

nope, got one of my friends (IRCop) install it on his server :p As I said earler I was on Rizenet for about one year now after we moved from another server and I know IRCops kinda good... So it helped :p

andrew67 04-16-2002 11:29 PM

Quote:

Originally posted by Castel
andrew76, does this applet use a lot of server resources? I was alway led to believe chat applets are pretty server resource intensive and most hosting companies don't allow you to even install them for the very reason I assume.

I have a dedicated server but my site is very busy so i still have to watch what's going on behind the scenes :) Also I assume this doesn't use any db resources once it's loaded? This hack could possibly help to release some stress from my off-topic forum which most users seems to use as a chat substitute.

Nope, shouldn't use much, if any of your sever resources, as the java applets are loaded from the world irc webserver and users are connected through their server. Before you ask, yes I asked permission to use their applets in this hack.. See http://www.worldirc.org/chatself.php for more info on world irc.. :)

andrew67 04-16-2002 11:32 PM

Quote:

Originally posted by wooolF[RM]
nope, got one of my friends (IRCop) install it on his server :p As I said earler I was on Rizenet for about one year now after we moved from another server and I know IRCops kinda good... So it helped :p
Bastard :) J/K I have been trying to self sign and compile for 2 days now, with no joy :( Oh well, I have the largest channel on world IRC now :) and the IRCop's are pretty cool, one even did all the work in setting up my room for me... Think I may just stay there.. :D

wooolF[RM] 04-16-2002 11:38 PM

]:p Pssst, this way (running java from another server) I don't put any extra load on my forum server :p ;)

Good that IRCops help u, keep this friendship ;) It helps sometimes ;)

Oriion 04-17-2002 12:03 AM

Quote:

Originally posted by andrew67


You need to compile and sign the applets or host the IRC server on same server as applets in order to use other IRC servers.

Pardon the n00b question, but how do I compile and sign the applets. Just starting to get my feet wet in IRC. :)

andrew67 04-17-2002 01:23 AM

Sorry, but I am the wrong person to ask, I am also a Java n00b and I have had no joy in compiling the Java yet, myself.. :) I am still trying and when and if I get iit done, I will add the instructions and update the hack... The hack works fine if you leave it on the default server settings and world IRC is actually quite a good server and the IRCop's are quite friendly and helpfull.. Aswell as their server taking the load and not yours, another bonus... Less bandwidth and resources you will lose.. You considered staying with them??

For now though if you really dont want to use world IRC, have a go yourself and checkout the following sites for more info on compiling and signing the Eirc applets.

Eirc Homepage:
http://eirc.sourceforge.net/

Eirc Help Page:
http://www.habber.net/index.php?p=eircfaq

PS If you have any joy in compiling/signing please come back and tell me how you did it, I keep getting errors :(

Oriion 04-17-2002 01:41 AM

Do you think world IRC would mind? Do I need to ask someone permission? Is there a procudure to keep a room open, or does it just get created when one person enters it?

The only reason I wanted to use enterthegame.com was because my community already uses it, but I might convince them to move. :)

andrew67 04-17-2002 01:45 AM

Ignore this post.. :) I double posted by mistake...

andrew67 04-17-2002 01:48 AM

Quote:

Originally posted by Oriion
Do you think world IRC would mind? Do I need to ask someone permission? Is there a procudure to keep a room open, or does it just get created when one person enters it?

The only reason I wanted to use enterthegame.com was because my community already uses it, but I might convince them to move. :)

Nope, no need to ask permission. I have already and they also publicly display the url and code for eirc (see: http://www.worldirc.org/chatself.php ) and after hanging out and speaking to alot of the IRCops they are hoping and quite looking forward to more traffic on their servers... The decent thing to do however is once your room is up is too maybe recommend your users use mIRC instead, that way the server isnt too overloaded by the thousands of java users... Thats what I do anyway...

BTW In the week or so I have been on world IRC there hasn't been a single netsplit and I had over 40 users last night using java.. Their servers seem very fast and very reliable...

andrew67 04-17-2002 02:01 AM

Quote:

Originally posted by Oriion
Is there a procudure to keep a room open, or does it just get created when one person enters it?
Sorry didn't notice that question when I posted my last reply.. To create a permanent room and a access list to enable auto ops you will need to first register your nick, then register your room once you've done that you start to add users to the access list.

For information on registering nicks with the name server look here:
http://www.worldirc.org/serv-nick.php

For information on registering channels with the channel server look here:
http://www.worldirc.org/serv-chan.php


If you require more help go to #help they are a friendly bunch who will explain your thinking about moving servers and everything and they will gladly help you get it all sorted.....

Oriion 04-17-2002 02:02 AM

Ok, I might give that a shot. So how is the room created and how does it stay up. And who has ops powers?

Reading the FAQ now. :)

andrew67 04-17-2002 02:49 AM

To make the room stay open you need to call the channel sever thingy called "X" into your room and it stays there 24/7 enforcing bans and giving ops ect. You decide who get ops or not and what else they can do in the room by giving different access levels.. I'm not too upto scratch on the commands on this server as Im used to Austnet (where I moved from) but if worse comes to worse, pop into my room #Austech and ask Tokebuzz (IRC GURU), Pariah (IRCop) or Insane (me) and one of us should be able to help out with any probs. or questions..

Slynderdale 04-17-2002 08:54 AM

all i did was created a chat.php with this
PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');


eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>

and then make a forumchat template with

PHP Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache">
    <
meta http-equiv="no-cache">
    <
meta http-equiv="Expires" content="-1">
    <
meta http-equiv="Cache-Control" content="no-cache">
    <!-- 
end no cache headers -->
    <
meta name="keywords" content="vbulletin,forum,bbs,discussion,jelsoft">
    <
meta name="description" content="$bbtitle is a discussion forum powered by vBulletin. To visit the forum, go to $bburl/ . To find out about vBulletin, go to [url]http://www.vbulletin.com/[/url] .">
    <
title>$bbtitle powered by vBulletin</title>
    
$headinclude
</head>
<
body>
$header

<table align="center" style="border-width: 1px; border-color: #000000; border-style: solid;" cellpadding="0" cellspacing="0">
<
tr>
<
td>

<
CENTER>
<
applet codebase="http://klagenfurt.at.eu.worldirc.org/" code="EIRC" archive="EIRC.jar,EIRC-gfx.jar" width="700" height="500"
<
param name="server" value="klagenfurt.at.eu.worldirc.org" 
<
param name="port" value="6667">
<
param name="mainbg" value="#E0E2EB">
<
param name="mainfg" value="#000000">
<
param name="textbg" value="#ffffff">
<
param name="textfg" value="#000000">
<
param name="channel" value="#Chat">
<
param name="nickname" value="$bbuserinfo[username]"
<
param name="username" value="$bbuserinfo[username]">
<
param name="realname" value="Interactive Java Chat">
<
param name="password" value="">
<
param name="login" value="1">
<
param name="servPassword" value="">
<
param name="servEmail" value="">
<
h1>Interactive Java Chat</h1>
<
p>Sorrybut you need a Java 1.1.x enabled browser to use the java chat.</p>
</
applet>
</
CENTER>

</
td>
</
tr>
</
table>
</
td>
</
tr>
</
table>
$footer
</body>
</
html


works perfect for me and alot less to do and easy to edit

andrew67 04-17-2002 10:23 AM

Cool, Either way works so I guess take your pick, only thing is with mine any changes to the settings are made in the template not the php file... I will try release a update this weekend with the bug fix for the logo and removal of the "engine" template..

Slynderdale 04-17-2002 10:28 AM

you could change every thing in the template with mine too, and you can edit how the whole page looks and set up with that one template, you could have it look like your normal forum page with a chat or make something completly different for it, all mine takes it a small php and 1 template to tun the whole thing and set every thing up, i also have a X bot too so the irc chat is always open and you dont have to worry about some one getting admin power

andrew67 04-17-2002 10:39 AM

Well it doesn't do that the way you posted it, all the config is in the php file. My update will also have 1 php and 1 template instead of 2, a who's chatting now type deal (if I can work out the bugs) and the instructions on how to compile Eirc. for use on your own web/irc server.

Also no offence, but so what if you have X-bot, why make it sound like it is part of you hack? Its a bot in your chat room... What does that have to do with the hack? Anyone can have X-bot, its simply the channel server as I explained in a previous post.

Slynderdale 04-17-2002 10:54 AM

sorry, i didnt want to get one any ones bad side, i just offered another way of doing it, the top one
PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');


eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>

is what you put in the php file the rest is a template

mojotim 04-17-2002 10:55 AM

Dude, nice job. Very easy install. No chmod, no fuss, no muss! :)

andrew67 04-17-2002 11:01 AM

No need to aplogise, I was asking a question is all, things dont seem to come out right when I typing and I always come across like I'm angry or something, I not, Sorry if seemed that way.. I was just pointing why I had set thing up the way I had and what I updates I had install and simply asking a Q...

Slynderdale 04-17-2002 11:01 AM

Quote:

Originally posted by mojotim
Dude, nice job. Very easy install. No chmod, no fuss, no muss! :)
Thank, i also seached for a hack that lets you show whos in the chat on the main page if any one wants to add it.

https://vborg.vbsupport.ru/showthrea...threadid=34065

Slynderdale 04-17-2002 12:10 PM

ok i added a little update to my version, if an account has spaces in it, it will only use the first part of the name not the whole name so i made a little fix that removes the space. If your useing my version change:

PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');


eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>

to:
PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');

$chatusername=str_replace(" ","",$bbuserinfo[username]);

eval(
"dooutput(\"".gettemplate('forumchat')."\");");

?>

now in the forumchat template find:

PHP Code:

$bbuserinfo[username

and replace it with:

PHP Code:

$chatusername 

it apears twice so change both and there, when a user goes to the chat it removes any spaces from there name

Slynderdale 04-17-2002 12:12 PM

hope that helps some people out

wooolF[RM] 04-17-2002 01:07 PM

]
Quote:

Originally posted by Slynderdale
PHP Code:

$chatusername=str_replace(" ","",$bbuserinfo[username]); 


nice! Thanx for sharing :)

Castel 04-17-2002 11:08 PM

Good job andrew, works like a charm. I used Slynderdale's chat.php method that way you don't have to modify online.php either since chat.php is already provided for.


All times are GMT. The time now is 11:04 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.01338 seconds
  • Memory Usage 1,878KB
  • 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
  • (8)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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