![]() |
[QUOTE]Originally posted by christec
Hey, my smilies are not showing up. Anyone got suggestions. |
Great hack.. No problem even for a newbie :up:
|
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: |
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:
|
^ B U M P ^
|
^bumpy^
|
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. |
hehe, what port then?
|
well. mine uses 6668 i think. it's an IRC config i think. not sure.
|
[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. |
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 :) |
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.
|
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. |
nya! :p
|
This is a cool hack, i've just installed it, and now i'm looking for an IRC server, can anyone suggest one?
|
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 |
Thank you for the suggestion, i'm using www.dal.net at the moment, but i'll try that one too :)
|
[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 |
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..:)
|
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 |
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. |
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. :)
|
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 |
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. |
thank you ...I will try both suggeestions
|
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!
|
[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! |
[QUOTE]Originally posted by Jakeman
...or at least some linkage for Dom's Who's chatting hack. :) |
Here ya go... Like I said, none of this is mine I just moved things around a little..
|
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.. |
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) |
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..
|
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..:) |
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.. |
i don't like the way that hack gets the online chatters. i can do without it for now.
|
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. :)
|
[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. :) |
[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. |
Fixed the problem. Too bad it cuts off the person's name (because of IRC server). I may add ls_ before the name
|
[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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|