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)

Marshalus 04-18-2002 12:22 AM

Funny thing about this hack... the server path is the EXACT same thing it is on my server :D

Ensim :) Gotta love it!

Slynderdale 04-19-2002 07:34 AM

Note:
if you want a _ instead of a space and your using my setup replace
PHP Code:

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

with

PHP Code:

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


freakyshiat 04-20-2002 05:50 AM

is it possible to disable the nick command so users cant change their names?

Souli 04-21-2002 11:28 AM

Using EIRC with an external server
---------------------------------------------
My english isn?t good, but i have found an Tutorialsite:

http://www.saint-elie.com/eirc/

bluecat 04-22-2002 12:40 AM

Great! I got it installed; however, my links back to my forum, members, calender, etc. are all linked to my chat directory and won't get users back to the forum (or any of the links). How do I change this? Thanks.

Slynderdale 04-22-2002 01:11 AM

you could install my version them place the chat.php into your forum folder, thats would fix it

bluecat 04-22-2002 01:19 AM

Where do I get your version? Or am I reading this wrong.

bluecat 04-22-2002 02:05 AM

I just changed the index.php (for the chat) to indexchat.php, and dropped it in my forum's directory, and fixed the problem. Is this ok to do? It's working fine.

Slynderdale 04-23-2002 01:18 PM

its the one i posted above that uses a small 3 lines php file and a template for the chat, if you name it other then chat.php just change the name in online.php

ceo_tfw 04-23-2002 05:28 PM

Thanks for this hack, I found that if I was to install this in another directory say called /chat/index.php/3
I would have to upload my forum images into the chat directory, so I renamed the index.php to chat.php and uploaded it into the forum directory without having to upload any images and it works fine,

springbok 05-03-2002 09:33 PM

Hi,

A quick intro. I am brand newbie to vBulletin and paid for my license tonight. I have tried to install this but it won't work.

The page just comes up blank and if I change the path testing various possiblies it mostly give me the not found error. Any ideas? I am running vBulletin on a win2k machine, might this be the issue?

I would really appreciate any help you could give.

BrAinZ 05-08-2002 08:46 PM

I have installed this hack but when you try to load it it seems to "pause" for ages then comes up with :

Closing Link ...blah blah.. (USER: bad username)

Any ideas ?

andrew67 05-09-2002 02:02 AM

To solve the error in the login, in the chat template change the line

<param name="username" value="$bbuserinfo[username]">

to

<param name="username" value="javauser">

or put your site name or something there instead of "javauser"....

xeon 05-09-2002 07:43 PM

Quote:

Originally posted by andrew67
To solve the error in the login, in the chat template change the line

<param name="username" value="$bbuserinfo[username]">

to

<param name="username" value="javauser">

or put your site name or something there instead of "javauser"....

What exactly does this do? The reason I ask is it my chat works great for my admin name and for other's so far. But, I have a regular user account so I can view the board as a regular user. When I try to chat with my "Mike's Dad" as my user name, it first gives me a user name taken, then all subsequent nick changes result in the error message given above, bad user name. I am going to try what you said above, but what exactly is the problem? I'm just interested.

wot-Mike 05-09-2002 09:32 PM

Some characters can not be used in usernames. I don't know about the requirements for this particular chat, but if a name contains invalid characters then you will not get into chat.

xeon 05-10-2002 12:35 PM

Well that was something I overlooked, the apostraphe is invalid. Any suggestions on how to work the apostraphe? Can these be masked out or something? Thanks in advance, if all else fails I can edit members user names and make a note when registering not to use ' in the user name. Currently out of about 450, only 14 member names have the invalid charachter.

[edit] I figured out how to strip the apostraphe using the str_replace, but now I seem to get the apostraphe stripped and it only uses the first part of the user name, ie. Mike's Dad is Mikes. Here is my chat.php
PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');

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

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

?>

I am using the the Sylverdale forumchat template with the chatusername replacements. Yes I am learning on the fly. ;)

wot-Mike 05-10-2002 08:54 PM

Well, look at your code:

the first "$chatusername=..." line, what does this do? It looks at $bbuserinfo[username] (Mike's Dad), replaces each space with an underscore, and then stores the edited value in $chatusername (Mike's_Dad)

The second line again looks at $bbuserinfo[username] (Mike's Dad), removes each apostrophe, and the stores the edited value in $chatusername (Mikes Dad), overwriting the already existing value of Mike's_Dad :(
Since the first value was overwritten, $chatusername now has a value of "Mikes Dad".
Your chat only accepts the first part, before the space, meaning "Mikes Dad" will be logged in as "Mikes".

Back to the drawing board ;)

Slynderdale 05-11-2002 01:50 AM

Quote:

Originally posted by xeon
Well that was something I overlooked, the apostraphe is invalid. Any suggestions on how to work the apostraphe? Can these be masked out or something? Thanks in advance, if all else fails I can edit members user names and make a note when registering not to use ' in the user name. Currently out of about 450, only 14 member names have the invalid charachter.

[edit] I figured out how to strip the apostraphe using the str_replace, but now I seem to get the apostraphe stripped and it only uses the first part of the user name, ie. Mike's Dad is Mikes. Here is my chat.php
PHP Code:

<?php
error_reporting
(7);

require(
'./global.php');

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

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

?>

I am using the the Sylverdale forumchat template with the chatusername replacements. Yes I am learning on the fly. ;)

use:
PHP Code:

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


xeon 05-13-2002 08:09 PM

Thanks for the input and Slynderdale, your code worked great. Thanks again.

megatest 05-15-2002 04:59 AM

Hell'o there. Many thanx for that great and easy hack.

BUT I'M STILL WONDERING...

Is there a way to have an "Who's chatting on line" list
for that ?

FleaBag 05-17-2002 11:13 AM

Nice work, thanks!

Jawelin 06-17-2002 11:23 AM

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.

Excuse me. What do you mean exactly with 'compile' ?
I downloaded the jars from sourceforge and uploaded to my webserver home directory.
The applet seems working fine, unless I still have: !!! Couldn't resolve server address: irc.webmaster.com

Do you know any solution ?

Thanks

X-Fan 06-17-2002 02:09 PM

Just installed this hack, and it worked flawlessly first go!

Thanks andrew!

Ah, IRC, how I've missed it! :)

thehobbyforum 06-19-2002 08:57 PM

Quote:

Originally posted by springbok
Hi,

A quick intro. I am brand newbie to vBulletin and paid for my license tonight. I have tried to install this but it won't work.

The page just comes up blank and if I change the path testing various possiblies it mostly give me the not found error. Any ideas? I am running vBulletin on a win2k machine, might this be the issue?

I would really appreciate any help you could give.



Same exact thing for me - not sure what is going wrong??
Anyone please help!!

thehobbyforum 06-19-2002 10:40 PM

Ok here was my fix - make sure you put both templates in all your styles!! :D

tony 06-21-2002 08:56 PM

Ok when you say create template eric and engine.

Do I do that in my admin cp?

Thanks for answering a dump question, It has been awhile since I have installed some hacks. I have people on my board that want a chat room.

Thanks Tony

tony 06-24-2002 12:35 AM

Ok I have the chat installed so forget about my last post.

What a great Hack.

How come every time I go to the chat room it starts out as private and after ahile it will go to public?

Gazer 06-26-2002 08:17 AM

Could someone please help me with this bit:

3. Find in the index.php file supplied in zip:

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

and edit the path to point to your forums directory.
----------------------------------------------------------------------------------
So what goes where in here ???

My URL: is http://www.world-of-digital.com/foru...x.php.........

So how would i edit this path to point to the forums directory

Sorry i sound thick on this one :confused:

Regards Gazer.

tony 06-29-2002 09:57 AM

Quote:

Find in the index.php file supplied in zip:
After dowloading the attachment: vb eric hack 1.0 zip. you will need to unzip it. You will need a program to do this. I use cutezip.

Make a chat directory and put it www.world-of-digital.com/chat

Upload the index.php to www.world-of-digital.com/chat

Tony

wolfe 07-01-2002 04:46 PM

how come i can't connect to wondernet with this

MoneyTec.Com 07-09-2002 03:51 PM

I just had this chat hack set up on my forums,http://www.moneytec.com/chat/ but when entering from my site we go to a public room. Is there a way to set this to a private room where my site members can discuss topic's pertaining to my sites content

Gutspiller 07-10-2002 11:49 PM

Does this hack allow you to connect to different IRC servers? I tried the demo and it wouldn't let me. Was I doing something wrong?

Larz 07-25-2002 03:48 PM

I spent eternity trying to make this work, without succes.

It wasn't until I took the index.php from the chat dir, renamed it chat.php and put it in my forum root dir, that I made it work.

I hope someone else might benefit from doing the same - and that someone smarter than me can possibly tell me if there are any problems with that procedure.

Kaffeerappel 07-25-2002 09:24 PM

I set it all up, and it seems to work nicely, there's just 1 thing tho. The Username won't show up, instead my nick sais: "Unregistered". I can still change it after logging in, but it would be nice if the vbulletin nick would could be carried over. I'm using 2.2.6

Ninth Dimension 07-27-2002 09:23 PM

Quote:

Sorry, but you need a Java 1.1.x enabled browser to use The Game Vine Chat Room.
From the looks of it, Microsoft are no longer supporting Java, which is a huge pain in the arse :(

Can anyone point me in the direction of something I and my users can download in order to use this chat software?

Cheers.

Heineken77 07-28-2002 11:58 PM

If this is already released, could someone please direct me to the thread as I can't find it.

Now I installed this, and what I am hoping for is a way to send an invite to members that are browsing the boards and not in the chat. Also, if there is a way for the users in chat to be displayed on the forum index page, so they can see who is in before they even join?

That would be real sweet!
Thanks for your time, :)
Heineken

carpman 07-29-2002 08:36 AM

Hello, any one have this working with VBPortal?

www.phpportals.com


many thanks

carpman 07-29-2002 03:38 PM

Quote:

Originally posted by carpman
Hello, any one have this working with VBPortal?

www.phpportals.com


many thanks


Yes is does :)

only one thing, how can user who already has nick registered with worldirc becoome auth in the java client?

i tried /msg ns auth password

in java client, but it says 'no matching mask'

also the @X op does not appear in javachat?


i am using the Slynderdale version

cheers

DarkDraco07 08-20-2002 02:39 PM

CAN SOMEONE TELL ME HOW TO GET jAVA VIRTUAL MACHINE.
this is getting annoying. the thing keeps popping up saying download java virtual machine, when i try to download it says they dont support it or something. befor i reformated i found a download somewhere NOW I CANT FIND IT

Ninth Dimension 08-20-2002 02:42 PM

Quote:

Originally posted by DarkDraco07
CAN SOMEONE TELL ME HOW TO GET jAVA VIRTUAL MACHINE.
this is getting annoying. the thing keeps popping up saying download java virtual machine, when i try to download it says they dont support it or something. befor i reformated i found a download somewhere NOW I CANT FIND IT

let me guess, XP right?

http://java.sun.com/getjava/download.html

(for all the admins watching, i knew adding this link would help).


All times are GMT. The time now is 06:30 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.01547 seconds
  • Memory Usage 1,838KB
  • 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_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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