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)

andrew67 04-13-2002 10:00 PM

VB eIRC chat intergration hack 1.0
 
VERSION 2.0 - UPDATED FOR VB3.0.7
Now Even Easier To Install!!! - Enjoy :)

NOTE: VERSION 2 is for VBulleting 3.0.7, VERSION 1 is for 2.2.x
PLEASE MAKE SURE YOU DOWNLOAD THE CORRECT VERSION...

1 x new template
1 x file upload
1 x template edit (Optional I guess, you could put the link to your chatroom anywhere you like....)

P.S. You will need to add the templete to each style your site uses and edit to suit...

---------------------------------------------------------------------

This is a very very easy hack to install and must be one of the easiest and best free ways to add chat to your forums. This hack uses Eirc java applets to connect to World IRC servers. There is no need to sign and compile Eirc yourself or even host it or a irc server, simply follow these instructions and you will have FREE, full, IRC chat on your forums in under 2 minutes... :D

For a demo, checkout the chat running here at vbullettin.org ( https://vborg.vbsupport.ru/chat.php? ) as it uses the same java applets and basicly is the same as this hack...

Once you have installed the hack pop into #austech and say hello... :)
Thanks & Enjoy...

Although Version 1.0 for VB2.2.x is still working and also still available, I DO NOT offer support for it...

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

]long awaited hack! :D Thanx mate! :D I will be looking forward for new features and bug fixes :)

Vinney 04-14-2002 07:06 PM

I get this error :(

Warning: SAFE MODE Restriction in effect. The script whose uid is 509 is not allowed to access /home/virtual/site5/fst/var/www/html owned by uid 0 in /home/virtual/site5/fst/var/www/html/chat/index.php on line 5

wooolF[RM] 04-14-2002 07:09 PM

]yes... he forgot to change in index.php
Code:

chdir('/home/virtual/site2/fst/var/www/html/forums/');
require('global.php');

U have to change it to the folder where your forums are...

andrew67 04-14-2002 07:09 PM

try chmod the index file and chat directory to 777

andrew67 04-14-2002 07:11 PM

oops knew I forgot something :) Yes sorry chmod and edit the index.php as wooolF[RM] said... I'll go change the install instructions now :)

wooolF[RM] 04-14-2002 07:13 PM

]remember credits for helping ;) just joking ;)

wooolF[RM] 04-14-2002 07:15 PM

]U can find path to your folder by entering this url : http://www.yourforum.com/member2.php

Vinney 04-14-2002 07:21 PM

nope still dont work

http://forum.peugeot-gti.net/member2.php

that dont return anything.


my index.php looks like

Quote:

<?php
error_reporting(7);


chdir('/home/virtual/site5/fst/var/www/html/');
require('global.php');

eval("\$header = \"".gettemplate('header')."\";");
eval("\$footer = \"".gettemplate('footer')."\";");
eval("\$headinclude = \"".gettemplate('headinclude')."\";");

$title="The Peugeot GTi Autosport Club IRC Chat Room";
eval("\$page = \"".gettemplate('eirc')."\";");

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

?>
url is

http://forum.peugeot-gti.net/chat/index.php

andrew67 04-14-2002 07:21 PM

Im getting old and forgetfull :) Install instructions updated :)

wooolF[RM] 04-14-2002 07:21 PM

]chat works, no problems...
only one lil problem... u can't connect to any other IRC servers then klagenfurt.at.eu.worldirc.org ... :(

Vinney 04-14-2002 07:23 PM

help me :(

andrew67 04-14-2002 07:26 PM

Quote:

Originally posted by Vinney
nope still dont work

http://forum.peugeot-gti.net/member2.php

that dont return anything.


my index.php looks like



url is

http://forum.peugeot-gti.net/chat/index.php

I had this problem are you sure the index.php is chmod 777, I did that and the error went away... Be gentle though this is my first public release hack... :ermm:

wooolF[RM] 04-14-2002 07:27 PM

]another bug/error...
U have to copy http://www.yourforum.com/images/logo.jpg to http://www.yourforum.com/chat/images/logo.jpg , otherwise it will be not displayed :) (this was the easiest solution ;))

wooolF[RM] 04-14-2002 07:28 PM

]
Quote:

Originally posted by andrew67


I had this problem are you sure the index.php is chmod 777, I did that and the error went away... Be gentle though this is my first public release hack... :ermm:

the problem is as I said PATH to the forum... That's the problem I'm 90% sure about...

andrew67 04-14-2002 07:29 PM

Quote:

Originally posted by wooolF[RM]
chat works, no problems...
only one lil problem... u can't connect to any other IRC servers then klagenfurt.at.eu.worldirc.org ... :(

Nope :( not unless you compile and sign the eirc applets yourself or run a IRC server on same machine as your webserver. Checkout the following sites for more info:

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

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

Vinney 04-14-2002 07:32 PM

yeah possitve.

Vinney 04-14-2002 07:33 PM

my paths correct !!!

go to

http://forum.peugeot-gti.net/phpinfo.php

too see !

wooolF[RM] 04-14-2002 07:47 PM

Hmmm... SHOULD work... I didn't made anything extra (chmod)...

wooolF[RM] 04-14-2002 07:47 PM

]
Quote:

Originally posted by andrew67


Nope :( not unless you compile and sign the eirc applets yourself or run a IRC server on same machine as your webserver. Checkout the following sites for more info:

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

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

/me checking :D

andrew67 04-14-2002 07:48 PM

Forgot another major thing, please download package again as I just updated install instructions...

wooolF[RM] 04-14-2002 08:06 PM

][high]* wooolF[RM] installing EIRC on his own server... :p[/high]

andrew67 04-14-2002 08:15 PM

Yup good idea, thats my project for tomorrow. :D This hack is good enough though if all you want is a chat room and you dont mind worldirc as the server... :)

wooolF[RM] 04-14-2002 08:27 PM

]I got my own channel allready and there are +20-30 users online all the time... And I know IRCops good :D SO i don't want to move... :)

Crazy Mofo 04-14-2002 11:10 PM

any solutions too this yet?

wooolF[RM] 04-14-2002 11:32 PM

to what??? it's working perfectly!

Crazy Mofo 04-15-2002 12:09 AM

not for me i get that error Warning: ChDir: No such file or directory (errno 2) in /home/domain/domain119/web/chat/index.php on line 5

GOD-Dblade 04-15-2002 12:43 AM

sucks you cant use any irc server....maybe you should try to make it so it works on any irc server...

f5hosting 04-15-2002 12:50 AM

Great job...installed nicely on www.pugzoners.com/chat

andrew67 04-15-2002 02:20 AM

Quote:

Originally posted by GOD-Dblade
sucks you cant use any irc server....maybe you should try to make it so it works on any irc server...
I would love to, but as I said in previous post, to connect to other servers you will need to sign & compile Eirc yourslef or host the irc server on same machine as your webserver. I cannot sign & compile the applets then distribute as you wouldn't be able to change some of the settings once signed and compiled.

Crazy Mofo 04-15-2002 02:24 AM

i really want this too work :( any ideas?

andrew67 04-15-2002 02:26 AM

Quote:

Originally posted by Crazy Mofo
not for me i get that error Warning: ChDir: No such file or directory (errno 2) in /home/domain/domain119/web/chat/index.php on line 5
Your path seems likes it is wrong, make sure the line in index.php:

PHP Code:

chdir('/home/virtual/site2/fst/var/www/html/forums/'); 

points to your main forum install directory.

andrew67 04-15-2002 04:51 AM

Just added this to the install file:

The explanations for the eirc template configuration options:

* mainbg
Most components background color. Defaults to system settings.

* mainfg
Most components foreground color. Defaults to system settings.

* textbg
Text area and field background color. Defaults to system settings.

* textfg
Text area and field foreground color. Defaults to system settings.

* selbg
Selected text background color. Defaults to system settings.

* selfg
Selected text foreground color. Defaults to system settings.

* channel
What channel should be automatically opened when a connection is established.

* titleExtra
This is concatenated to the channel or user's name to form the window's title.

* username
What "user name" -sometimes called userid or ident- will be passed to the server. Defaults to vbulletin users usersname.

* realname
What "real name" will be passed to the server.

* nickname
What "nick name" will be put in the nick field at start up. If the character '?' is used somewhere in the VALUE field, it will be changed to
a random number by the client on load. Defaults to vbulletin users usersname.

* login (requires "nickname")
If it's set to anything but "0", it will try to establish a connection to the server on start up.

* spawn_frame
Whether to launch the main window on a separated frame, thus reducing the space needed by the Applet on the webpage and allowing the window
to be resized dynamically.

* frame_width
Sets the width used by the spawned frame.

* frame_height
Sets the height used by the spawned frame.

Floris 04-15-2002 05:56 AM

Quote:

Originally posted by andrew67


I had this problem are you sure the index.php is chmod 777, I did that and the error went away... Be gentle though this is my first public release hack... :ermm:

Then why release it as a full release? Didn't you test (&beta) it?

wooolF[RM] 04-15-2002 07:18 AM

it worked for me from his first release... if u have a lil bit brain it will work from 1st time... no offence...

andrew67 04-15-2002 09:53 AM

Quote:

Originally posted by xiphoid


Then why release it as a full release? Didn't you test (&beta) it?

What cause I try and help someone with a problem I cop a earfull??? Oh no, I had to tell someone to chmod a file... oh my, its the end of the world... There was/is nothing wrong with the hack itself, it works fine and yes I tested it, I simply forgot a couple steps in the install docs.. sheesh sorry.

I've been hanging around this forum since it opened and maybe it's people's like you and your attitude around here when posting, which is slowing down the release of hacks. I for one will think twice before releasing anything again here, I had hoped sinced so many where after this hack and its was downloaded 30+ times in the first 12 hours of release, that I may have had more than 1 user thank me, but I guess this place has changed alot since vbulletin.com days. After reading some other hack threads on here, My next hack I may just keep to my little circle of friends and not release at all....

Floris 04-15-2002 10:28 AM

Quote:

.. people's like you and your attitude ..
That is noncense.

KuraFire 04-15-2002 10:54 AM

andrew67, Xiphoid asked a perfectly valid question, on perfectly valid grounds, yet you insult him and go off shouting stuff like "this place has changed a lot" and what not.

I won't miss it when you will think twice before releasing another hack. I can't say your attitude is likeable at all, and you admitted to having forgotten a few steps in the install. Nice going. Remind me not to look at your hacks until all problems are solved and people got it working, with proper instructions.

andrew67 04-15-2002 11:39 AM

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.

Tungsten 04-15-2002 11:53 AM

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.
Andrew... allow me to be the voice of reason: Many of us were happy to see an EIRC integration hack come onto the scene and many of us don't see it as necessarily being a life and death issue if the hack doesn't work perfectly right out of the box.

However, the proper order of things is to place a new hack in Beta before you announce it as a full release. Even if the hack works flawlessly on your site, it is wise to put it into beta for a few days just to work out any kinks that may arise.

In this case, you obviously had to go back and re-address some issues with the documentation. Not a big deal, but there are always going to be people who want to bust your balls about this sort of thing. Having put this into beta would have given you that opportunity to work the kinks out with the users understanding that there might be problems in the release.

Putting a hack into beta before you release it to the public is just a smart practice to adhere to and, if done, gives you a basis to tell people to STFU whenever the whining begins. ;)

So don't let a few complaints spoil this for you. Keep releasing your work knowing that there are people who appreciate it, but follow through with a beta cycle first.


All times are GMT. The time now is 05:57 AM.

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.01518 seconds
  • Memory Usage 1,830KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (11)bbcode_quote_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
  • (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