Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
#197751 12/25/2002 2:58 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
My second standalone "addon" smile

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 smile

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! smile

Sponsored Links
Joined: Nov 2001
Posts: 745
Admin Emeritus
Admin Emeritus
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
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*

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Yes, what LD said, except that it's "ubb_shoutbox.cgi" tipsy ... and that you should upload it to cgi-bin folder of your UBB.

Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
DO I upload the entire text or after the explanation...

It's not making any sense to me

frown

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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.

Sponsored Links
Joined: Apr 2002
Posts: 57
Member
Member
Offline
Joined: Apr 2002
Posts: 57
I got it LK thank you for your patience with me!

Joined: Jul 2002
Posts: 51
Member
Member
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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 shocked . 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
Offline
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 smile

Joined: Nov 2001
Posts: 28
User
User
Offline
Joined: Nov 2001
Posts: 28
What happened to the posts about Chatbox?

Were they deleted?


Daryl Fawcett
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
They're in the topic in 6.3 forum tipsy

Joined: Jun 2002
Posts: 111
Member
Member
Offline
Joined: Jun 2002
Posts: 111
Quote
quote:
Originally posted by LK:
The best thing to do is to use jgeoff's modification to this mod - http://www.thegodfathertrilogy.net/chatbox_howto.txt
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?

rockband

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
Joined: Jun 2002
Posts: 111
Quote
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
Offline
Joined: May 2001
Posts: 58
No workie on IIS boxes:

http://hack.turboford.org

edit: Works great! Thanks

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
Joined: May 2001
Posts: 794
Quote
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
[Linked Image]


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
or [Linked Image] for dark bgs tipsy

Joined: May 2001
Posts: 794
Content Queen
Content Queen
Offline
Joined: May 2001
Posts: 794
Thanks, guys! laugh


Sue
adwoff.com
Joined: Mar 2002
Posts: 18
Junior Member
Junior Member
Offline
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 smile

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Copy "ubb_shoutbox.cgi" to "ubb_shoutbox2.cgi". Open ubb_shoutbox2.cgi.
Find:
(MANY times)
Code
[/code]replace with:
Code
</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
Offline
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
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
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
Offline
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
Offline
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 ...

[Linked Image]
NilsG

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Quote
quote:
Originally posted by AllenAyres:
[Linked Image]

Joined: Jan 2003
Posts: 4
Junior Member
Junior Member
Offline
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 tipsy

http://www.stand318.com/ubbcgi/ubb_shoutbox.cgi?s=iframe


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Berlie, you're right... To fix it, in ubb_shoutbox.cgi, find:
Code
[/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
quote:

Premature end of script headers


- Allen wavey
- What Drives You?
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Okay, that doesn't help a lot wink 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
Offline
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
quote:
Originally posted by LK:
Okay, that doesn't help a lot wink 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?
eek

I'll give it a shot laugh


- Allen wavey
- What Drives You?
Page 1 of 3 1 2 3

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
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
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,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

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