Previous Thread
Next Thread
Print Thread
Rate Thread
#179184 09/24/2002 12:09 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Where did UBB get that shoutbox cgi script? Anyone know? Its pretty cool.

Sponsored Links
#179185 09/24/2002 12:30 PM
Joined: Aug 2002
Posts: 97
Member
Member
Offline
Joined: Aug 2002
Posts: 97
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=31;t=000101

#179186 09/24/2002 1:45 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Is there one for 6.1 or just 6.3?

Or cant I just put that cgi script on a index.html page right? It doesnt require hacking or modifying any of the UBB files right?

#179187 09/24/2002 2:12 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Correct. It's standalone. And...it does work with 6.3... it was made with/for 6.3...

#179188 09/24/2002 2:14 PM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I think havoq's point is that he wants it for 6.1 wink

1. It doesn't work with 6.1, though you can "fix" it by modifying some stuff.

2. You open the file in notepad and follow the instructions - upload to ubb_shoutbox.cgi, then use iframe, js or ssi, etc.

Sponsored Links
#179189 09/24/2002 4:52 PM
Joined: Feb 2000
Posts: 4,625
Member
Member
Offline
Joined: Feb 2000
Posts: 4,625
Quote
quote:
Originally posted by LK:
I think havoq's point is that he wants it for 6.1 wink

1. It doesn't work with 6.1, though you can "fix" it by modifying some stuff.

2. You open the file in notepad and follow the instructions - upload to ubb_shoutbox.cgi, then use iframe, js or ssi, etc.
oh... shocked

#179190 09/24/2002 5:41 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
thanx guys!

#179191 09/25/2002 6:50 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
I cant get shoutbox to work as a standalone guys??

Im using the iframe code found in the txt file, I uploaded to my cgi-bin and chmod it. everytime it calls up it shows my UBB in the iframe menu, kinda, that says i must be registered to perform this action and it gives me a login and register button.
Even if i do login, it doesnt take me to no shoutbox!

let me know if u need a screenshot or something. I cant figure this out!

#179192 09/25/2002 7:01 AM
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I really wouldn't mind a URL tipsy

#179193 09/25/2002 6:05 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
I had this same problem. Open ubb_shoutbox.cgi and make sure that you have this line

Quote
code:
Code
$viewunreg  = 1;   # allow unregistered users to view? (0 = no, 1 = yes)

set as shown here (not a 0), this will allow unregistered users to see the shoutbox.

Then I would suggest this setting right above that one:
code:
[qb]
Code
$unregpost  = 0;   # allow unregistered users to post? (0 = no, 1 = yes)
[/qb]
LK, this is really an awesome mod, but it seems your default settings are backward. You have it set that unregistered people can post, but when they can't even see the damn thing. I look at it this way: give the unregistered people the power to see it, it may make them want to register.

I know, I know, I'm really just being picky and I should be grateful to just be able to use it to begin with. Well, you *do* want it to be perfect, right? thumbsup

Sponsored Links
#179194 09/25/2002 7:12 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672

#179195 09/25/2002 8:17 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
I'm not using iframes, but to me it seems like you need to do a couple of things. Get rid of everything down to and then in the last line, replace "X" with a value like "100" and replace "Y" with a value like "300"

I think it should look like this:

Code
<iframe src="http://www.thecentralword.com/cgi-bin/ubb_shoutbox.cgi?s=iframe" width="100" height="300"></iframe>
But then again, I could be wrong. I am quite a newbie myself.

#179196 09/25/2002 8:23 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
Actually, I tried adding just the above line in my code and it worked fine. But 100 is too narrow for X, try something between 150-175 I guess (I landed on 160).

In any case, I'm glad I tried that little experiment, as I was wondering why I couldn't get a horizontal scroll going with the SSI version. ;-)

#179197 09/25/2002 8:54 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
still doesnt work at all!

go there again

#179198 09/25/2002 9:36 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
I give. Did you try the SSI and the Javascript independently to see if they work?

#179199 09/26/2002 9:11 AM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
Quote
quote:
Originally posted by LK:
I think havoq's point is that he wants it for 6.1 wink

1. It doesn't work with 6.1
I think here's your answer. I feel stupid for not seeing this before.

#179200 09/26/2002 10:04 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
right, but im trying to use it as a standalone on a html page, calling the cgi script.

So im not even using it for 6.1 really

#179201 09/26/2002 3:45 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
Yeah, but look at the code in ubb_shoutbox.cgi

Code
# load modules
use UBBCGI qw(:cgi); # CGIPath/Modules/UBBCGI.pm
use UBBCGI::Carp qw(fatalsToBrowser set_message); # CGIPath/Modules/UBBCGI/Carp.pm
require "vars_config.cgi";
require "$vars_config{CGIPath}/ubb_lib.cgi";
&RequireCode("$vars_config{CGIPath}/ubb_lib_filehandler.cgi");
&RequireCode("$vars_config{CGIPath}/ubb_lib_posting.cgi");
&RequireCode("$vars_config{CGIPath}/ubb_lib_files.cgi");
&RequireCode("$vars_config{CGIPath}/ubb_lib_filehandle.cgi");
$filehandle = new UBB::FileHandler(%vars_config);
&RequireCode("$vars_config{CGIPath}/ubb_lib_time.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_time.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_misc.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_wordlets.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_wordlets_date.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_wordlets_err.cgi");
&RequireCode("$vars_config{VariablesPath}/vars_template_match.cgi");
All those &RequireCode tags are telling the server to go get code or information from other CGI files.

Even if you are "using it as a stand-alone" the file is still calling information from other UBB files.

#179202 09/26/2002 5:17 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
oh, i see.
dangit


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
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,824
Most Online6,139
Sep 21st, 2024
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,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)