|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
The ultimatebb.cgi?ubb=chat is refreshing ones per second. How is this possible?
(found it)... i've removed this in ubb_chat.cgi:
if ($in{chat} eq 'iframe') { my $random = rand(99999); $ThisHTML = qq~ Chat's Iframe~; print($ThisHTML); exit(0); }
Another question LK, how can the chatcount link be placed in the forum-intro at the top under the logout?
[ 11-14-2001: Message edited by: Variables ]
|
|
|
|
Joined: Nov 2001
Posts: 8
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 8 |
LK- great hack, got it installed last night, no issues, but now whenever i visit the page: http://www.cascadeclimbers.com/cgi-bin/ultimatebb.cgi?ubb=chat it is constantly refreshing. I'm not sure what to look into, but was hoping you could lend some advice to gaper boy. thanks gaper
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Find: my $refresh = $vars_chat{inactive_time} * 60; Replace with: my $refresh = $vars_chat{refresh_time} * 60;
I'll update the ZIP in a bit...
[ 11-21-2001: Message edited by: LK ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Chat Mod v1.2 released! Features: supports PHP, fixes that bug. Rehack ubb_forum_summary.cgi, cp_lib.cgi, ultimatebb.php, public_forum_summary.pl and then update chat settings in the CP. Also upload the new ubb_chat.cgi if you didn't fix what I said before manually. However, I've never tried it with WOL for PHP and I looked at that code only to make the current ultimatebb.php code, so the invitation feature won't work in PHP. Good luck, it's almost totally untested. Demo: http://www.lkubb.dns2go.com/ubb/ultimatebb.php
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
Works great LK. I could'nt test php because i have mods that make this impossible but the cgi works well and the refresh (bug?) is gone. Maybe it's possible to have the line in public_forum_summary.pl that displays the message who is in the chat, under or above the who's online count-text? [ 11-22-2001: Message edited by: Variables ]
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ZIP file updated again, now it supports invitation (even though you can't use it since it doesn't support WOL for PHP, but I decided to do it anyway  ) Updated files: ultimatebb.php, public_forum_summary.pl, ubb_forum_summary.cgi, ubb_forum.cgi and public_forum_page.pl
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
I tried accessing the Chat settings in the Control Panel and I got the following error:
An error has occured:
cp_vars_chat: template not found at ubb_lib.cgi line 1777.
That's odd, because we don't modify ubb_lib.cgi. Any suggestions?
Hussein
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Hussein: upload cp_vars_chat.pl to the NonCGI/Templates dir BTW, about our conversation in webnet: use /chanserv register #channel password description, #channel = channel name, password = channel password (use /chanserv identify #channel password to get founder status later; doesn't have to be your UBB password), description = what your forum is about. Just don't forget that the channelname is the same as the one set in the CP. Ie. /chanserv register #LK mypasswordthatIgottaREMEMBERandthatisCASESENSITIVE Test Board's Channel. Then, you should (don't have to though) AOp moderators and SOp admins: Tell them to register their nicks (you know how), and then /chanserv sop #channel add admin-nick, /chanserv aop #channel add mod-nick.
|
|
|
|
Joined: Oct 2001
Posts: 24
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 24 |
LK,
Thanks. I did have it in the Templates directory, but when I re-uploaded it, it worked perfectly.
Two other questions:
1) When someone sends me an invitation to join the chat room, I don't receive the javascript pop-up until I return to the forum summary page and hit refresh. Is there a way of making it instantenous?
2) This question may have already been answered, but regardless of how many people are in the chat room, it always says "There are no people in the chat room".
Hussein
|
|
|
|
Joined: Sep 2001
Posts: 46
Member
|
Member
Joined: Sep 2001
Posts: 46 |
Help Please! I've installed this absolutly amazing hack but am having a couple of minor problems. 1) How can I move the link from the bottom to just above the stats hack? 2) How can I stop the page refreshing every second or so as this is quiet annoying? Or is there a reason for this? 3) Lastly as previously stated by others, is there a way to fix the bug with it saying there is no-on in the chat room all the time? However I have managed to catch it saying there is 2 users in there when there is about 10 users in. Any help is greatly appreciated ad I love this hack. Keep up the good work and thanks 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Nokia, can you use the original Infopop copyright image in your forums?
Anyway, ZIP file updated, I fixed that 'null' bug.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
ZIP file updated with Chat Mod v1.21, now you can get the invitations everywhere. Hack public_common.pl/ubb_lib_files.cgi, unhack ubb_forum.cgi if you don't have WOL installed and public_forum_page.pl.
|
|
|
|
Joined: Jun 2001
Posts: 49
Member
|
Member
Joined: Jun 2001
Posts: 49 |
okay I like the idea of this hack now do I have to give $49 to Jirc or can I give $20 to Mirc? I am using a free java chat at the moment from Webmaster inc
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
It has nothing to do with mIRC. Also, mIRC's $20 are donation, because they don't add/remove anything.
|
|
|
|
Joined: Nov 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 6 |
I have a problem here . Can LK help me? [ 12-04-2001 10:52 PM: Message edited by: Mark06 ]
Thanks for this useful site!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
There can be millions of problems, how should I guess what's yours while to only clue is http:///? 
|
|
|
|
Joined: Nov 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 6 |
Thanks for this useful site!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Also "Can not find server" doesn't really help Can you describe what's the problem?
|
|
|
|
Joined: Nov 2001
Posts: 6
Junior Member
|
Junior Member
Joined: Nov 2001
Posts: 6 |
LK, should I unzip the 2 zip and 1 cab files or just upload them? It keeps on saying Cannot find Chat.java
Thanks for this useful site!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Upload to /noncgi...
If it doesn't work, rename *.cab to *.bin, and in ubb_chat.cgi replace CAB with BIN.
|
|
|
|
Joined: Aug 2001
Posts: 12
Junior Member
|
Junior Member
Joined: Aug 2001
Posts: 12 |
The chat mod need to be updated with a newer Who's online version. It doesn't find 2 lines in ubb_forum_summary.cgi
1. my $ChatHTML;
2. while(
I have Who's online 4.1 installed, hypercells, cp controlled cat back hack, avatar hack, calendar, and memberlist oh and who's online style mod. I wish I could install the polls hack as well 1.9 I think its an old multihack file anyways and doesn't come out correct either Also the pm inbox hack needs fixin I can't save it in txt format html screws the hack up although a nice one. version I am using for ubb 6.1.0.3
Not waiting for a fix just thought I would let you know.
Patient and Silent
Eric
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think it's "while($_)" in new WOLs' autoinstall file...
[ 12-11-2001 12:40 AM: Message edited by: LK ]
|
|
|
|
Joined: Jun 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 1 |
Hey! Nice hack. But I suck at making these things work on our board system. Do you do any paid work on the side?
James.
|
|
|
|
Joined: Oct 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 1 |
Hi I am having a problem, I got the chat to show up and all but when I go to connect it just sits there.... just says connecting to irc.jpilot:6667 any ideas?
|
|
|
|
Joined: Oct 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Oct 2001
Posts: 1 |
Set it up in the 'chat settings' part of the CP? Under 'Servers', I think.
|
|
|
|
Joined: Dec 2001
Posts: 4
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 4 |
I am also looking for a chat mod. I see that this one integrates a Java applet.
Do you know of any good Perl chat scripts? Should I even try a Perl script, or is the applet the way to go for a Chat feature.
-Todd
|
|
|
|
Joined: Dec 2001
Posts: 51
Member
|
Member
Joined: Dec 2001
Posts: 51 |
anyone have any idea how much bandwidth doing chat would be? chat would be a great addition to my board, but the forum is being hosted for free as a favor...so i'm not trying to get too greedy. i've already got 60kb forum pages; though i'll get mod_gzip installed sometime.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
The chatroom itself isn't hosted in the server, however the CAB + ZIP files weight ~100kb (altogether), and everyone who accesses the chatroom has to download these files.
|
|
|
|
Joined: Mar 2001
Posts: 117
Member
|
Member
Joined: Mar 2001
Posts: 117 |
Can you please add a function so that the admin or mod can invite invisible users?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I can but I don't want to, it's the invisible users' choice.
|
|
|
|
Joined: Mar 2001
Posts: 117
Member
|
Member
Joined: Mar 2001
Posts: 117 |
you have your point.
forget it then.
thx
|
|
|
|
Joined: Jun 2001
Posts: 26
Junior Member
|
Junior Member
Joined: Jun 2001
Posts: 26 |
The chat mod is running fine on my board, even in who's online, the only problem i've got is that in the main page it always tell me: "There is no one in the chatroom. Click here to join it." even if i got 5 guys in the chatroom But if i load a chat session and i open another browser it says there is 1 guy in the chat!! Where's the error? 
|
|
|
|
Joined: Dec 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 29 |
problem!!! when i install that: at the page: ubb_forum_summary.cgi you write that need to find code:
while( = ;+) (at the part that for the who's online)
and i don't find that... what i need to do?
[ 12-25-2001 04:01 AM: Message edited by: pSycHo mAn ]
|
|
|
|
Joined: Jul 2001
Posts: 34
Member
|
Member
Joined: Jul 2001
Posts: 34 |
You need to look harder!! It's about 10 lines after the "who's online" block. 
|
|
|
|
Joined: Dec 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 29 |
|
|
|
|
Joined: Jul 2001
Posts: 34
Member
|
Member
Joined: Jul 2001
Posts: 34 |
|
|
|
|
Joined: Dec 2001
Posts: 29
Junior Member
|
Junior Member
Joined: Dec 2001
Posts: 29 |
so lpz help me here... if i send to you the files you can help me with them?
|
|
|
|
Joined: Jul 2001
Posts: 34
Member
|
Member
Joined: Jul 2001
Posts: 34 |
Sure Pyscho, I'll help you out. Bandit
|
|
|
|
Joined: Dec 2000
Posts: 371
Member
|
Member
Joined: Dec 2000
Posts: 371 |
And again...this type of error LK. I don't know where to repair this. Can't open /ubb/vars_chat.inc.php: Permission denied Here is the backtrace: Backtrace: ubb_lib_filehandle.cgi:294 -> sub UBB::FileHandle::tracer Backtrace: ubb_lib_filehandle.cgi:382 -> sub UBB::FileHandle::_open Backtrace: ubb_lib_filehandle.cgi:67 -> sub UBB::FileHandle::_open_file Backtrace: ubb_lib_filehandler.cgi:116 -> sub UBB::FileHandle::new Backtrace: ubb_lib_files.cgi:527 -> sub UBB::FileHandler:  pen Backtrace: cp_lib.cgi:1347 -> sub main::WriteFileAsString Backtrace: cp.cgi:251 -> sub main::set_vars_chat
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|