vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   jPilot (IRC chat) Integration (https://vborg.vbsupport.ru/showthread.php?t=33093)

Jakeman 01-07-2002 06:38 AM

[QUOTE]Originally posted by christec
Hey, my smilies are not showing up. Anyone got suggestions.

PhotoGenie 01-19-2002 01:42 PM

Great hack.. No problem even for a newbie :up:

Shenlong 01-19-2002 03:16 PM

great work, my chats pretty hoppin now, really helped me, us admins kept saying "talking between urselves is what IRC and AIM is for" and now they just go to IRC, great hack! all my members are happy, im out ;)

Hack Gets:

:up: :up:

Shenlong 01-19-2002 05:49 PM

I got a quick question...

It asks for my server IP, I put it in but then when I go to chat it tries to log into FTP and says "Username and Password Required"

here, take a look at my code if anyone can help:

PHP Code:

<param name="CABBASE" value="jirc_mss.cab">


<
param name="ServerPort" value="21">

<
param name="ServerName1" value="193.130.95.72">

<
param name="Channel1" value="web-boards.net">

<
param name="AllowURL" value="true">
<
param name="AllowIdentd" value="true">

<
param name="WelcomeMessage" value="Welcome to the Web-Boards Chat Room!">
<
param name="RealName" value="$bbuserinfo[username]">
<
param name="NickName" value="$bbuserinfo[username]">
<
param name="UserName" value="$bbuserinfo[username]">
<
param name="isLimitedServers" value="true">
<
param name="isLimitedChannels" value="true">

<
param name="MessageCol" value="80">

<
param name="BackgroundColor" value="99,132,181">

<
param name="TextColor" value="white">
<
param name="TextScreenColor" value="black">
<
param name="ListTextColor" value="black">

<
param name="TextFontName" value="Arial">
<
param name="TextFontSize" value="12">

<
param name="ConfigNickOnly" value="true">
<
param name="NickNChannelOnly" value="true"
<
param name="LogoBgColor" value="white">
<
param name="BorderVsp" value="3">
<
param name="DirectStart" value="true">

<
param name="FGColor" value="black">

<
param name="TitleBackgroundColor" value="black">
<
param name="TitleForegroundColor" value="white">


<
param name="InputTextColor" value="white">
<
param name="InputScreenColor" value="black">
<
param name="IgnoreLevel" value="3">

<
param name="DisplayConfigRealName" value="false">
<
param name="DisplayConfigServer" value="false">
<
param name="DisplayConfigPort" value="false">
<
param name="DisplayConfigMisc" value="false">

<
param name="InitCommands" value="/clear;/me enters">


<
param name="UserListWidth" value="160">
<
param name="RefreshColorCode" value="false">
<
param name="DisplaySoundControl" value="false">
<
param name="NoConfig" value="true">
<
param name="DisplayAbout" value="false">
<
param name="AliasList" value="/nick=/echo Nick command disabled">
<
param name="IgnoreServerMsg" value="true">
<
param name="IgnoreModeMsg" value="true">
<
param name="IgnoreMOTD" value="true">
<
param name="IgnoreChannelChangeMsg" value="true">

<
param name="LicenseKey" value="INSERT YOUR JPILOT LICENSE KEY HERE!">

</
applet


Shenlong 01-19-2002 06:23 PM

^ B U M P ^

Shenlong 01-19-2002 09:21 PM

^bumpy^

Jakeman 01-20-2002 01:04 AM

sorry i didn't see your reply before...

it is trying to connect to ftp because you are using port 21 which is reserved for ftp. your IRC cannot be on port 21.

Shenlong 01-20-2002 03:01 AM

hehe, what port then?

Jakeman 01-20-2002 06:44 AM

well. mine uses 6668 i think. it's an IRC config i think. not sure.

PhotoGenie 01-20-2002 11:11 AM

[QUOTE]Originally posted by Jakeman


in my experience the smilies in jpilot are bugged. sometimes they work and sometimes they don't. regardless... you should probably post on the support forums at the jpilot site regarding this since it's a jpilot config issue.

ladyfyre 01-21-2002 09:22 PM

Just FYI.....

There is actually a MUCH easier way to integrate the IRC into the forums...by using a wonderful little Jirc add-on called WTK. You can find it at http://jirc.webt.dk/frontend.php

I use the "open chat in new window" box on my forums, with a slight modification, i was able to auto fill in everything so that all they have to do is enter their nick and hit enter. It is clean, attractive, and works well with little complications..just follow the install stuff, and then add the relevant HTML/PHP code into your templates (I put mine in the header so that the chat box appears on every page).

It also have a lot of tools with it, such as buttons and such to automatically interact with Nickserv/chanserv or even act as a channel op.

It may not be perfect for those on a shared server (i am not honestly sure what complications that causes), but for myself and others who are colo or dedicated server people, it gives you an outstanding interface, and there are also many different image sets to choose from.

Just thought I would mention that :)

Now...if i could just get that "Chatting Now" thing working with the rest of my setup, I would truly be a happy camper :)

Jakeman 01-22-2002 12:41 AM

that isn't vB integrated then. this hack denies people who aren't logged in, and autofills the user name if they are logged in. otherwise it might as well be stand-alone.

ladyfyre 01-22-2002 12:54 AM

I understand that. I also understand that the same thing can be accomplished by using the WTK software, since it is already written in PHP, simply by adding an include, and calling for the username & login routine.

Since it is a Chat Front End already written in php, it is simply much easier to integrate...and with the same results.

Jakeman 01-22-2002 03:12 AM

nya! :p

Ninth Dimension 01-23-2002 08:45 PM

This is a cool hack, i've just installed it, and now i'm looking for an IRC server, can anyone suggest one?

smleg 01-31-2002 07:24 PM

irc.undernet.net?

Download mIRC and look at all the servers available or start your own :-)

I have this weirdo error with version 2.2.2 of vBB

Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60

Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88

Would that be my php.ini file settings??

Ramprage

Ninth Dimension 01-31-2002 10:12 PM

Thank you for the suggestion, i'm using www.dal.net at the moment, but i'll try that one too :)

Jakeman 02-01-2002 01:06 AM

[QUOTE]Originally posted by smleg
irc.undernet.net?

Download mIRC and look at all the servers available or start your own :-)

I have this weirdo error with version 2.2.2 of vBB

Warning: Undefined variable: REQUEST_URI in D:\wwwroot\ramprage\forums\global.php on line 60

Warning: Undefined index: HTTP_POST_VARS in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 85

Warning: Undefined index: action in D:\wwwroot\ramprage\forums\global.php on line 88


Would that be my php.ini file settings??

Ramprage

PhotoGenie 02-01-2002 10:05 AM

I'm running the irc chat integration on my site and I'm running 2.2.2... I didn't have to change anything in the chat when I upgraded.. My site .. Heres a link. You are welcome to look if you like..:)

smleg 02-01-2002 12:47 PM

Well this is very strange folks...

On my private server, the one where I previously posted the error, it still doesn't work. I think it's because my PHP/MySQL isn't setup properly on my Win 2k machine.

To convince myself I setup the forum and chat onto my real webhost and everything went perfect! (Win 2k hosting....)

So the question remains, what is in my php/mysql that isn't setup properly to cause this error?

Thanks and great hack!

smleg

Jakeman 02-01-2002 06:49 PM

ok then. photogenie says this works on 2.2.2 .

smleg... i'm honestly have no idea what is causing your problem. the php in this hack isn't anything fancy. like you said, it's prolly because PHP/MySQL isn't setup properly on your machine... and that's something i can't help you with.

PhotoGenie 02-02-2002 02:51 PM

Yes it does work with 2.2.2 and it sure beats the hell out of php chats. It's great to have your message go directly to the chat when you enter without the delay and refresh. Easiest hack I've installed yet. Rates a 10 in my book. :)

drives fast 02-03-2002 06:58 PM

I am having the same problem as hypedave.

I have a large hand full of registered members who cannot access the chat page. It says they are logged in but no access.

My script is in the forum root too. I have made changes to manually allow specific usergroups and it works fine for everyone except the handfull that are having the access problems. A database error occurs when those members try to access the page then.

Any idea why only some can't access even though they are members?

I have tested this myself and when I login as them I can't get in either so it can't be a cookies thing locally.

please help

Jakeman 02-03-2002 08:35 PM

everyone that is registered and logged in should be able to access chat.

oh wait. you are running vbportal. i recall some one else had problems with this chat script and vbportal. probably something with global.php. you might try uploading the regular global.php to your forum directory but call it global2.php so it doesn't overwrite or conflict with anything else. then edit the chat scripts to include global2.php instead of global.php. (random idea, might work, might not)

otherwise you might want to ask wajones @ www.phpportals.com about this problem. give him a link to this thread and ask him if he knows what you need to change to get it working with vbportal.

drives fast 02-03-2002 08:40 PM

thank you ...I will try both suggeestions

PhotoGenie 02-04-2002 09:12 PM

This is a great hack.. I managed to put together a simple upgrade for myself for showing online chatters that involved no altering of the original install other than pointing your browser to a different page. I guess you could call it an addon. I would share it but it involves code from Dom's Who's chatting hack and I don't want to upset anyone. Again, this is a GREAT hack!

Jakeman 02-05-2002 01:59 AM

[QUOTE]Originally posted by PhotoGenie
This is a great hack.. I managed to put together a simple upgrade for myself for showing online chatters that involved no altering of the original install other than pointing your browser to a different page. I guess you could call it an addon. I would share it but it involves code from Dom's Who's chatting hack and I don't want to upset anyone. Again, this is a GREAT hack!

FWC 02-05-2002 02:05 AM

[QUOTE]Originally posted by Jakeman
...or at least some linkage for Dom's Who's chatting hack. :)

PhotoGenie 02-05-2002 11:24 AM

Here ya go... Like I said, none of this is mine I just moved things around a little..

PhotoGenie 02-05-2002 11:30 AM

I moved where I place $chatters at on my boards. You only see the area where chatters are listed if there are chatters in chat..
Include in the text file..

PhotoGenie 02-05-2002 11:59 AM

If you want to be able to see whos in chat over threads list..

Use GeorgeofCS code from his hack on digichat. Here is a paste:

in forumdisplay.php

at the very bottom the right above:

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

add:

// Get users chatting
if ($showforumusers) {
$datecut = $ourtimenow - $cookietimeout;
$chatters = '';
$comma = '';
$forumusers = $DB_site->query("SELECT username, invisible, userid
FROM user
WHERE inchat = 1 AND
lastchatactivity > $datecut");
while ($forumuser = $DB_site->fetch_array($forumusers)) {
if (!$forumuser['invisible'] or $bbuserinfo['usergroupid'] == 6) {
$userid = $forumuser['userid'];
$username = $forumuser['username'];
if ($forumuser['invisible'] == 1) { // Invisible User but show to Admin
$invisibleuser = '*';
} else {
$invisibleuser = '';
}
eval("\$chatters .= \"".$comma.gettemplate('forumdisplay_loggedinuser' )."\";");
$comma = ', ';
}
}
if ($chatters) {
if (!$moderatedby) {
$onlineusers = "<br>";
}
eval("\$onlineusers .= \"".gettemplate('forumdisplay_loggedinusers')."\"; ");
}
}

Next in forumdisplay_loggedinusers template
change:

<br>(Users Browsing this Forum: $browsers)

to:

<br>(Users Browsing this Forum: $browsers)
<br>(Users In Chat: $chatters)

PhotoGenie 02-05-2002 12:07 PM

The only thing I dont like about the whos online is it doesn't log you out right away when you leave. You have to wait until your cookie times out. I set my cookie time out for 3 minutes and instead of putting "Members in chat" I put "Current/Recent" Chatters. I did this because some listed may not be in the room anymore, their cookie just hasn't timed out..

PhotoGenie 02-05-2002 02:13 PM

I decided to change where i put the chatters online in my main page .. I wanted under the pm messages at the bottom.. So I opened forumhome_pmloggedin template and put this at the bottom..

<tr id="cat">
<td bgcolor="{categorybackcolor}" colspan="6"><smallfont color="{categoryfontcolor}"><b>Current/Recent Chatters </b></smallfont><smallfont color="{categoryfontcolor}"></smallfont></td>
<tr>
<td bgcolor="{firstaltcolor}" colspan="6"><smallfont>$chatters</smallfont></td>
</tr></tr>

Instead of in my forumhome_loggedinuser template. Now it shows at the bottom plus its hidden from guest.. Guess you could find a bunch of different places you might want to put it.. These hacks are great, I'm having a lot of fun with them..:)

PhotoGenie 02-06-2002 05:51 PM

I wasn't satisfied with it not logging you out until your cookie timed out so I made another small change and to my surprise it worked.. This is working off my install of the whos chatting hack of Dom's to work with this hack..

I went back and changed the chat_index.php and added a simple pop up java script to it:

<html>
<head>
<title>Site Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript">

<!-- Begin
function leave() {
window.open('http://www.your-site.com/chat_logout.php','','toolbar=no,menubar=no,locatio n=no,height=1,width=1');
}
// End -->
</SCRIPT>
</head>

<frameset onUnload="leave()" rows="1,*" frameborder="NO" border="0" framespacing="0">
<frame name="topFrame" scrolling="NO" noresize src="mainchat_top.php" >
<frame name="mainFrame" src="main_chat.php">
</frameset>
<noframes><body bgcolor="#FFFFFF" text="#000000">

</body></noframes>
</html>

Then I created chat_logout.php and inserted this:

<?php
require("global.php");
if( $bbuserid ) {

$DB_site->query("UPDATE user SET inchat='0' WHERE userid='$bbuserinfo[userid]'");
$DB_site->query("UPDATE user SET lastchatactivity=$ourtimenow WHERE userid='$bbuserinfo[userid]'");
} else {

} // end if
?>
echo <script>self.close();</script>
<head>

</head>

</body>
</html>

That was it.. Now it will log you out as soon as you leave the chat..
You may decide to change the time of the pop up window and incude html if you like with some text... No more waiting on the cookie to clear..

Jakeman 02-06-2002 06:56 PM

i don't like the way that hack gets the online chatters. i can do without it for now.

PhotoGenie 02-06-2002 08:06 PM

You mean with the refresh and all? I dont know much about this stuff. I just move things around until they work. I would like to see you (Jakeman) come up with a hack for this and include it in your present hack. My chatters miss each other without knowing whos in there. This integrated chat hack is still killer even without a whos in chat. I will use this until I see someone or you come up with something else. I'm willing to try anything just about. :)

Jakeman 02-07-2002 06:00 AM

[QUOTE]Originally posted by PhotoGenie
You mean with the refresh and all? I dont know much about this stuff. I just move things around until they work. I would like to see you (Jakeman) come up with a hack for this and include it in your present hack. My chatters miss each other without knowing whos in there. This integrated chat hack is still killer even without a whos in chat. I will use this until I see someone or you come up with something else. I'm willing to try anything just about. :)

lifesourcerec 02-09-2002 07:50 AM

[QUOTE]Originally posted by Jakeman
are you putting the chat.php and chatmain.php in the forum root? i just don't see how you could be getting these errors... the hack is pretty much straight forward and nonintrusive.

lifesourcerec 02-09-2002 08:07 AM

Fixed the problem. Too bad it cuts off the person's name (because of IRC server). I may add ls_ before the name

Jakeman 02-09-2002 08:34 PM

[QUOTE]Originally posted by lifesourcerec
Fixed the problem.


All times are GMT. The time now is 10:23 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.01442 seconds
  • Memory Usage 1,858KB
  • 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_php_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