|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
My second standalone "addon" Name: UBB Shoutbox Originally by: JustDave (for UBB.threads) Description: This addon lets your users chat with each other, or leave a comment about your site, in a Shoutbox. It can be used in 3 different ways: iframe, ssi and javascript. Please refer to the script file for more information. NO FILES MODIFIED Demo: https://ubbdev.com Link: CGI File Requirements: UBBâ„¢ 6.4.0 Beta Release 1.0 Number of Downloads: [img] https://www.ubbdev.com/lk/num.php?s=ubb_shoutbox64.txt[/img] Thanks to the alpha testers - Allen, Chris, Dave2 and Chuck! 
|
|
|
|
Joined: Nov 2001
Posts: 745
Admin Emeritus
|
Admin Emeritus
Joined: Nov 2001
Posts: 745 |
Shoutbox works good except that mine is complaining about /noncgi/delshout.gif missing on IE and Opera. I'm snagging a graphic to stick in there, but you should probably put a note in there that this file is required.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes, noncgi/delshout.gif is a required graphic for the delete button of admins/mods.
|
|
|
|
Joined: Apr 2002
Posts: 57
Member
|
Member
Joined: Apr 2002
Posts: 57 |
Ok...I admit I am confused...
I am unclear as to how I am adding this hack...
Is it all just one file called ubbshoutbox.cgi?
|
|
|
|
Joined: May 2001
Posts: 6,708
Member
|
Member
Joined: May 2001
Posts: 6,708 |
I'm pretty sure you upload ubbshoutbox.cgi in the appropiate folder and then call it onto your web page via SSI etc. whatever method you must use.
*Disappears*
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Yes, what LD said, except that it's "ubb _shoutbox.cgi"  ... and that you should upload it to cgi-bin folder of your UBB.
|
|
|
|
Joined: Apr 2002
Posts: 57
Member
|
Member
Joined: Apr 2002
Posts: 57 |
DO I upload the entire text or after the explanation... It's not making any sense to me 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
You rename "ubb_shoutbox64.txt" to "ubb_shoutbox.cgi", and upload it to your cgi-bin directory
|
|
|
|
Joined: Apr 2002
Posts: 57
Member
|
Member
Joined: Apr 2002
Posts: 57 |
I dide what was instructed, placed the javascript version in my footer and still do not see a thing...
Am I missing something?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
1. "http://www.sourceonline.com/cgi-bin/ubb_shoutbox.cgi?s=javascript" - don't you mean djsourceonline? 2. When I try to access your shoutbox manually, I get a permission error... CHMOD it to 755 if it's UNIX, if not tell your server admin to change its mode to make it executeable.
|
|
|
|
Joined: Apr 2002
Posts: 57
Member
|
Member
Joined: Apr 2002
Posts: 57 |
I got it LK thank you for your patience with me!
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
Very nice Gizzy... works perfectly. Thanks to you and the others who worked on this.
A question... it allows unregistered or unlogged in members to post... how can I prevent this or is it possible?
Also, is there a way to refresh it automatically?
Thanks again...
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
WL, in ubb_shoutbox.cgi file there is [code][/code]Change "1" to "0". to refresh it automatically - it's possible, but then it will also refresh the line where you type the text and it might be really annoying  . The best thing to do is to use jgeoff's modification to this mod - http://www.thegodfathertrilogy.net/chatbox_howto.txt
|
|
|
|
Joined: Jul 2002
Posts: 51
Member
|
Member
Joined: Jul 2002
Posts: 51 |
LK, thanks... after I actually read thru the code I saw that... I have removed my head from my tail now. Thanks for the reply and your patience for dumb questions 
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
What happened to the posts about Chatbox?
Were they deleted?
Daryl Fawcett
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
They're in the topic in 6.3 forum 
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
Hi, I've tried to use it, but it doesn't work the same way as it does on his site. Appereantly some perl code was changed as well. Could i get this extra mod? 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
There are some small differences in ubb_shoutbox.cgi such as removing the textbox...
|
|
|
|
Joined: Jun 2002
Posts: 111
Member
|
Member
Joined: Jun 2002
Posts: 111 |
quote: Originally posted by LK: There are some small differences in ubb_shoutbox.cgi such as removing the textbox... I can see that this part was removed: [code][/code]But what more??? After a refress the shoutbox2 does get messed up.
|
|
|
|
Joined: May 2001
Posts: 58
Member
|
Member
Joined: May 2001
Posts: 58 |
No workie on IIS boxes: http://hack.turboford.org edit: Works great! Thanks
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Its name should be "ubb_shoutbox.cgi", not "ubb_shoutbox64.cgi"
|
|
|
|
Joined: Aug 2000
Posts: 1,609
Addict
|
Addict
Joined: Aug 2000
Posts: 1,609 |
Great mod!
I installed this on my site yesterday, and it seems to have been taken quite well by my members. Thanks for the mod!
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
quote: Originally posted by LK: Yes, noncgi/delshout.gif is a required graphic for the delete button of admins/mods. LK, where can I get the graphic called "delshout.gif"? Thanks.
Sue adwoff.com
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
or ![[Linked Image]](http://www.lkworld.com/ubb/delshout.gif) for dark bgs 
|
|
|
|
Joined: May 2001
Posts: 794
Content Queen
|
Content Queen
Joined: May 2001
Posts: 794 |
Thanks, guys! 
Sue adwoff.com
|
|
|
|
Joined: Mar 2002
Posts: 18
Junior Member
|
Junior Member
Joined: Mar 2002
Posts: 18 |
hmmm what would i need to do to have more than one lets say i wanted... ubb_shoutbox1.cgi ubb_shoutbox2.cgi and so on... what code would i need to edit thanks 
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Copy "ubb_shoutbox.cgi" to "ubb_shoutbox2.cgi". Open ubb_shoutbox2.cgi. Find: (MANY times) [/code]replace with:</pre></div></div>For <span style="font-style: italic">example</span>: (there are MANY others)<br><div class="ubbcode-block"><div class="ubbcode-header">Code</div><div class="ubbcode-body ubbcode-pre" ><pre> [code] ...
|
|
|
|
Joined: Sep 2001
Posts: 1
Junior Member
|
Junior Member
Joined: Sep 2001
Posts: 1 |
Hi - I just installed it and it works fine for "unregistered" users but gives an error for registered users (if logged into the UBB forums). Here's the error Msg when trying to post as a registered user: "Software error: Undefined subroutine &main::md5_hex called at /home/cust1/usr1153/cgi-bin/ubbcgi/ubb_lib.cgi line 376. For help, please send mail to the webmaster..." Here\'s the link to Shoutbox on The Other Side BBS It looks like a great MOD. Just need a little tweaking to include registered users. I have tried both setting by setting the 0 and 1's in the config in the code. I am calling it from http://www.theothersidebbs.com/cgi-bin/ubbcgi directory And have tried moving it to: http://www.theothersidebbs.com/cgi-bin directory Any help from the UBB dev gurus would be more than appreciated ! Thanks in advance... - Keyz
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Ask your host about it, it has to work... (as you can see in ubb_shoutbox.cgi it does require MD5.pm)
|
|
|
|
Joined: Nov 2001
Posts: 28
User
|
User
Joined: Nov 2001
Posts: 28 |
How come I can't see the graphic called "delshout.gif"?
Daryl Fawcett
|
|
|
|
Joined: Jul 2002
Posts: 9
Junior Member
|
Junior Member
Joined: Jul 2002
Posts: 9 |
hmm - well take care if you use the .js script in a table/cell. If someone post a picture as big as people have done in this thread it will stretch the cell as wide as the picture :rolleyes: I decided to use a inline frame instead ... NilsG
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
quote: Originally posted by AllenAyres: ![[Linked Image]](https://ubbdev.com/ubb/delshout.gif)
|
|
|
|
Joined: Jan 2003
Posts: 4
Junior Member
|
Junior Member
Joined: Jan 2003
Posts: 4 |
Hi I recently added a ShoutBox to my forums and I have a question. When someone posts a shout it adds the delete icon next to their last shout. I assumed this was to allow them to delete their last shout. However when they click on it to delete they get a No permission message. ?? Loving this shoutbox though. Members where looking for a way to say howdy to people they saw on the forums and I didn't want to add a full chatroom to the site. Berlie http://www.poetrypages.com
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
moved my site to a server with apache and get a 500 ISE with it now... any ideas why it's giving me a hassle now when it worked fine on iis? I've set permissions on it to 644, 666, 755, and 777 without any improvement. I've re-upped it a few times too http://www.stand318.com/ubbcgi/ubb_shoutbox.cgi?s=iframe
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Berlie, you're right... To fix it, in ubb_shoutbox.cgi, find: [/code]replace with:[code] Allen, what does it say in the error log?
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote:
Premature end of script headers
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Okay, that doesn't help a lot  it means that it didn't print content-type... Can you try to add content-type: text/htmlnn everywhere you think it fits in ubb_shoutbox, and in each instance put different text afterwards, then tell me in which line it stops printing it?
|
|
|
|
Joined: Jan 2003
Posts: 2
Junior Member
|
Junior Member
Joined: Jan 2003
Posts: 2 |
Does anyone have the Shoutbox.cgi and shoutbox2.cgi available for download?
Or, Can someone explain a little more how to edit these to not put the text area and submit box in the bottom frame?
Thanks
|
|
|
|
Joined: Mar 2000
Posts: 21,079 Likes: 3
I type Like navaho
|
I type Like navaho
Joined: Mar 2000
Posts: 21,079 Likes: 3 |
quote: Originally posted by LK: Okay, that doesn't help a lot it means that it didn't print content-type... Can you try to add content-type: text/htmlnn everywhere you think it fits in ubb_shoutbox, and in each instance put different text afterwards, then tell me in which line it stops printing it? I'll give it a shot 
|
|
|
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
|
|
|
|