Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
#146279 11/13/2001 6:26 PM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
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 ]

Sponsored Links
#146280 11/13/2001 8:29 PM
Joined: Nov 2001
Posts: 99
Member
Member
Offline
Joined: Nov 2001
Posts: 99
anybody have problems loading the chat, cuz mine wont load confused http://www.dcdojo.f2s.com/cgi-bin/ultimatebb.cgi?ubb=chat

#146281 11/21/2001 1:10 PM
Joined: Nov 2001
Posts: 8
Junior Member
Junior Member
Offline
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

#146282 11/21/2001 4:08 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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 ]

#146283 11/22/2001 8:34 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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

Sponsored Links
#146284 11/22/2001 9:57 AM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
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. wink

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 ]

#146285 11/22/2001 11:27 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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 tipsy )

Updated files: ultimatebb.php, public_forum_summary.pl, ubb_forum_summary.cgi, ubb_forum.cgi and public_forum_page.pl

#146286 11/24/2001 6:47 AM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
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

#146287 11/24/2001 7:40 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146288 11/24/2001 1:49 PM
Joined: Oct 2001
Posts: 24
Junior Member
Junior Member
Offline
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

Sponsored Links
#146289 11/25/2001 7:22 PM
Joined: Sep 2001
Posts: 46
Member
Member
Offline
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

#146290 11/26/2001 3:57 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146291 11/27/2001 7:18 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146292 11/28/2001 11:37 AM
Joined: Jun 2001
Posts: 49
Member
Member
Offline
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

#146293 11/28/2001 11:58 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146294 12/04/2001 7:42 AM
Joined: Nov 2001
Posts: 6
Junior Member
Junior Member
Offline
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!
#146295 12/04/2001 7:52 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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:///?

#146296 12/04/2001 11:53 PM
Joined: Nov 2001
Posts: 6
Junior Member
Junior Member
Offline
Joined: Nov 2001
Posts: 6
Sorry, it should be this


Thanks for this useful site!
#146297 12/05/2001 6:52 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Also "Can not find server" doesn't really help

Can you describe what's the problem?

#146298 12/06/2001 2:02 AM
Joined: Nov 2001
Posts: 6
Junior Member
Junior Member
Offline
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!
#146299 12/07/2001 10:11 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146300 12/11/2001 1:20 AM
Joined: Aug 2001
Posts: 12
Junior Member
Junior Member
Offline
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

#146301 12/11/2001 1:39 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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 ]

#146302 12/11/2001 12:46 PM
Joined: Jun 2001
Posts: 1
Junior Member
Junior Member
Offline
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.

#146303 12/12/2001 4:22 AM
Joined: Oct 2001
Posts: 1
Junior Member
Junior Member
Offline
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?

#146304 12/14/2001 1:01 PM
Joined: Oct 2001
Posts: 1
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 1
Set it up in the 'chat settings' part of the CP? Under 'Servers', I think.

#146305 12/14/2001 7:29 PM
Joined: Dec 2001
Posts: 4
Junior Member
Junior Member
Offline
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

#146306 12/15/2001 4:22 PM
Joined: Dec 2001
Posts: 51
Member
Member
Offline
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.

#146307 12/16/2001 3:29 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

#146308 12/20/2001 6:17 PM
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
Can you please add a function so that the admin or mod can invite invisible users?

#146309 12/21/2001 4:56 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I can but I don't want to, it's the invisible users' choice.

#146310 12/21/2001 7:26 PM
Joined: Mar 2001
Posts: 117
Member
Member
Offline
Joined: Mar 2001
Posts: 117
you have your point.

forget it then.

thx

#146311 12/24/2001 5:45 PM
Joined: Jun 2001
Posts: 26
Junior Member
Junior Member
Offline
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?

#146312 12/25/2001 4:58 AM
Joined: Dec 2001
Posts: 29
Junior Member
Junior Member
Offline
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(  wink  = ;+)
(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 ]

#146313 12/25/2001 6:16 AM
Joined: Jul 2001
Posts: 34
Member
Member
Offline
Joined: Jul 2001
Posts: 34
You need to look harder!!
It's about 10 lines after the "who's online" block.

#146314 12/25/2001 8:36 AM
Joined: Dec 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 29
bandit did you have icq?

#146315 12/25/2001 8:42 AM
Joined: Jul 2001
Posts: 34
Member
Member
Offline
Joined: Jul 2001
Posts: 34
No icq.
yahoo=bandit_1234

#146316 12/25/2001 9:07 AM
Joined: Dec 2001
Posts: 29
Junior Member
Junior Member
Offline
Joined: Dec 2001
Posts: 29
so lpz help me here...
if i send to you the files you can help me with them?

#146317 12/25/2001 6:18 PM
Joined: Jul 2001
Posts: 34
Member
Member
Offline
Joined: Jul 2001
Posts: 34
Sure Pyscho, I'll help you out.
Bandit

#146318 01/19/2002 1:33 PM
Joined: Dec 2000
Posts: 371
Member
Member
Offline
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

Page 3 of 4 1 2 3 4

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Nettomo
Nettomo
Germany, Bremen
Posts: 417
Joined: November 2001
Forum Statistics
Forums63
Topics37,571
Posts293,923
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,832
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 81
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2023 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)