|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
Where did UBB get that shoutbox cgi script? Anyone know? Its pretty cool.
|
|
|
|
Joined: Aug 2002
Posts: 97
Member
|
Member
Joined: Aug 2002
Posts: 97 |
https://ubbdev.com/ubbcgi/ultimatebb.cgi?ubb=get_topic;f=31;t=000101
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
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?
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Correct. It's standalone. And...it does work with 6.3... it was made with/for 6.3...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I think havoq's point is that he wants it for 6.1 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.
|
|
|
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
quote: Originally posted by LK: I think havoq's point is that he wants it for 6.1
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... 
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
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!
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I really wouldn't mind a URL 
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
Joined: Aug 2002
Posts: 65 |
I had this same problem. Open ubb_shoutbox.cgi and make sure that you have this line 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]$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? 
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
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: <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.
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
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. ;-)
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
still doesnt work at all!
go there again
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
Joined: Aug 2002
Posts: 65 |
I give. Did you try the SSI and the Javascript independently to see if they work?
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
Joined: Aug 2002
Posts: 65 |
quote: Originally posted by LK: I think havoq's point is that he wants it for 6.1
1. It doesn't work with 6.1I think here's your answer. I feel stupid for not seeing this before.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
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
|
|
|
|
Joined: Aug 2002
Posts: 65
Member
|
Member
Joined: Aug 2002
Posts: 65 |
Yeah, but look at the code in ubb_shoutbox.cgi # 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.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
|
|
|
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: 87
Joined: December 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,824
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|