UBB.Dev
Posted By: LK [6.4 - 6.6] [beta] Shoutbox - 12/25/2002 9:58 PM
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
Posted By: Ron M Re: [6.4 - 6.6] [beta] Shoutbox - 12/26/2002 9:31 PM
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.
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 12/27/2002 1:31 PM
Yes, noncgi/delshout.gif is a required graphic for the delete button of admins/mods.
Posted By: djmaine Re: [6.4 - 6.6] [beta] Shoutbox - 12/28/2002 4:25 AM
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?
Posted By: Lord Dexter Re: [6.4 - 6.6] [beta] Shoutbox - 12/28/2002 8:06 AM
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*
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 12/28/2002 9:49 AM
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.
Posted By: djmaine Re: [6.4 - 6.6] [beta] Shoutbox - 12/28/2002 4:35 PM
DO I upload the entire text or after the explanation...

It's not making any sense to me

frown
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 12/28/2002 4:41 PM
You rename "ubb_shoutbox64.txt" to "ubb_shoutbox.cgi", and upload it to your cgi-bin directory
Posted By: djmaine Re: [6.4 - 6.6] [beta] Shoutbox - 12/29/2002 6:44 AM
I dide what was instructed, placed the javascript version in my footer and still do not see a thing...

Am I missing something?
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 12/29/2002 7:01 AM
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.
Posted By: djmaine Re: [6.4 - 6.6] [beta] Shoutbox - 12/29/2002 9:16 PM
I got it LK thank you for your patience with me!
Posted By: Hexican Re: [6.4 - 6.6] [beta] Shoutbox - 12/31/2002 4:47 AM
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...
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 12/31/2002 7:21 AM
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
Posted By: Hexican Re: [6.4 - 6.6] [beta] Shoutbox - 12/31/2002 1:58 PM
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
Posted By: Daryl Fawcett Re: [6.4 - 6.6] [beta] Shoutbox - 01/03/2003 4:41 AM
What happened to the posts about Chatbox?

Were they deleted?
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/03/2003 3:28 PM
They're in the topic in 6.3 forum tipsy
Posted By: twslex Re: [6.4 - 6.6] [beta] Shoutbox - 01/04/2003 12:06 AM
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
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/04/2003 8:28 AM
There are some small differences in ubb_shoutbox.cgi such as removing the textbox...
Posted By: twslex Re: [6.4 - 6.6] [beta] Shoutbox - 01/04/2003 5:18 PM
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.
Posted By: caroth Re: [6.4 - 6.6] [beta] Shoutbox - 01/07/2003 4:17 AM
No workie on IIS boxes:

http://hack.turboford.org

edit: Works great! Thanks
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/07/2003 7:26 PM
Its name should be "ubb_shoutbox.cgi", not "ubb_shoutbox64.cgi"
Posted By: AKD96 Re: [6.4 - 6.6] [beta] Shoutbox - 01/07/2003 8:35 PM
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!
Posted By: ADWOFF Re: [6.4 - 6.6] [beta] Shoutbox - 01/14/2003 3:29 AM
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.
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/14/2003 6:18 AM
[Linked Image]
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/14/2003 1:36 PM
or [Linked Image] for dark bgs tipsy
Posted By: ADWOFF Re: [6.4 - 6.6] [beta] Shoutbox - 01/14/2003 10:33 PM
Thanks, guys! laugh
Posted By: Neo11223 Re: [6.4 - 6.6] [beta] Shoutbox - 01/15/2003 5:38 PM
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
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/15/2003 6:35 PM
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]
...
Posted By: Keyz Re: [6.4 - 6.6] [beta] Shoutbox - 01/22/2003 5:04 PM
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
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/22/2003 8:03 PM
Ask your host about it, it has to work... (as you can see in ubb_shoutbox.cgi it does require MD5.pm)
Posted By: Daryl Fawcett Re: [6.4 - 6.6] [beta] Shoutbox - 01/24/2003 6:32 PM
How come I can't see the graphic called "delshout.gif"?
Posted By: OcShoot Re: [6.4 - 6.6] [beta] Shoutbox - 01/25/2003 7:34 AM
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
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/25/2003 8:34 AM
Quote
quote:
Originally posted by AllenAyres:
[Linked Image]
Posted By: Berlie Re: [6.4 - 6.6] [beta] Shoutbox - 01/27/2003 8:44 PM
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
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 1:25 AM
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
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 7:04 AM
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?
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 9:11 AM
Quote
quote:

Premature end of script headers
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 3:49 PM
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?
Posted By: NYRodder Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 3:52 PM
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
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/30/2003 11:10 PM
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
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/31/2003 2:28 AM
bah.. I have no idea where it might 'fit' tipsy
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/03/2003 5:25 AM
can you give me one example and I'll figure out the rest?
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 02/03/2003 1:11 PM
Allen, maybe once per 10 lines of code put print "Content-type: text/htmlnn[line number]" replacing [line number] with the line number... But make sure it's not in the middle of something, for example don't put it in the middle of:
Quote
quote:
BEGIN { # get our modules directory set up
($0 =~ m!(.*)(\|/)[^/\]+!) && unshift(@INC, $1, "$1$2Modules");
$| = 1;
}
but instead, put it in the end (after })
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/04/2003 1:00 AM
thank you.. I can do dat smile
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/04/2003 6:51 AM
ok, it printed out all the Content-type: text/html line numbers until the one after line 216, then it started printing the shoutbox, without any styles and all users were 'unregistered':

Quote
quote:

50Content-type: text/html 67Content-type: text/html 96Content-type: text/html 108Content-type: text/html 120Content-type: text/html Content-type: text/html 133Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 166Content-type: text/html 198Content-type: text/html 216 02:36 AM Welcome to all the new people who joined this week
07:03 AM wb Embie, thought is good, take your time
here is my current file:
https://www.ubbdev.com/ubb/upload/00000494/ubb_shoutbox.txt
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/04/2003 6:56 AM
and I can make new posts in it with it linking to my name, tho styles are still gone and the refresh for a new post doesn't work.
Posted By: Ed Re: [6.4 - 6.6] [beta] Shoutbox - 02/15/2003 4:10 PM
What does this mean?

"Software error:
Undefined subroutine &main::md5_hex called at /home/edndot/public_html/cgi-bin/ubb/ubb_lib.cgi line 395"

MD5 is installed - I am using the I-Frame method

Thanks,
Ed
Posted By: CTM Re: [6.4 - 6.6] [beta] Shoutbox - 02/15/2003 4:46 PM
Are you sure you're using 6.4? There's a 6.3 version in the 6.3 Beta forum if you're not...
Posted By: Ed Re: [6.4 - 6.6] [beta] Shoutbox - 02/15/2003 5:44 PM
Actually it is 6.5.0 Beta Release 1
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/16/2003 12:06 AM
make sure you've uploaded all the Modules folder for 6.5 smile
Posted By: Ed Re: [6.4 - 6.6] [beta] Shoutbox - 02/16/2003 4:52 AM
It is uploaded - any other help?

http://www.snowclubs.com/cgi-bin/ubb/ubb_shoutbox.cgi?s=iframe
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/16/2003 9:03 PM
it looks ok to me, tho I am not logged in... clear your browser's cache and check it.
Posted By: Ed Re: [6.4 - 6.6] [beta] Shoutbox - 02/17/2003 4:04 AM
Hi Allen,
What browswer are you using?

When I use IE 6.0 I get this:
"Software error:
Undefined subroutine &main::md5_hex called at /home/edndot/public_html/cgi-bin/ubb/ubb_lib.cgi line 395"

When I use netscape 7.0 I get This:
You are not logged in. You must be logged in (and registered) to perform this function.

Login or Register

Ummm?
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 02/17/2003 4:42 AM
IE 6, tho I am not logged in... got a test login?
Posted By: Ed Re: [6.4 - 6.6] [beta] Shoutbox - 02/20/2003 4:00 PM
Thanks Allen - The problem was my browser.
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 02/20/2003 6:28 PM
It can't be with your browser, it has to be a problem somewhere in your server...
Posted By: jgeoff Re: [6.4 - 6.6] [beta] Shoutbox - 04/05/2003 4:48 AM
I'm working on updating the }}}ChatBox{{{ to work with UBB.classic 6.5 ... it's almost there, and hopefully I'll figure it out w/o asking (begging) LK for help laugh

For some reason it seems this part isn't working any more in the submit form:

[code][/code]Still looking into it... and still missing it. May have to begin begging LK laugh

P.S. What's wrong w/ the time stamps on this board?
Posted By: Painfool Re: [6.4 - 6.6] [beta] Shoutbox - 04/06/2003 10:40 AM
Quote
quote:
Originally posted by jgeoff:
P.S. What's wrong w/ the time stamps on this board?
Mine works fine with 6.5 so not sure there. As far as the time stamps go, set your time zone in MY PROFILE and it corrects it.
Posted By: Painfool Re: [6.4 - 6.6] [beta] Shoutbox - 04/11/2003 1:18 AM
Ran into a little problem this morning. All the shouts that had been posted had been removed or were lost. This follows me actually pointing out the DELETE X for users as they were posting corrections as additional shouts instead of removing and reposting. So, I posted a request as to who or what removed the shouts if known and received the following.
_______________________________________________

I was trying to use them last night (very early).

First, I could not see the [X].

I added a shout and then I could.

I tried to delete my shout and received a No Permissions error message.

I placed another shout to that effect.

I tried once more to delete the first shout, received "no permissions" and all shouts were still present upon refresh.

When I left, all were there. Just mentioning this in case it's bugged or something.
_______________________________________________
Is anything in the above scenario able to wipe all the shouts? I am aware of the fix in this thread and will apply it now... but would like to attribute the missing shouts to an error and not a hack.

Thanks!
Posted By: Painfool Re: [6.4 - 6.6] [beta] Shoutbox - 04/11/2003 6:20 AM
Ok still working on this.

I created a new member, and my board requires that you be approved for membership. When you first register and are in the Registration Que the shout box shows

Content-type: text/html

Where the shouts would go and

User not approved

Where the input box would go. Makes it look kinda broken. Going to authenticate the test user to see if anything else is strange from the regular user point of view. My tester above claims after the Permissions fix he saw Delete graphics on ALL shouts after posting one ... going to test that now wink
Posted By: Painfool Re: [6.4 - 6.6] [beta] Shoutbox - 04/11/2003 6:23 AM
Oh wow ... it DOES show the delete graphic next to every shout, but it appears it only deletes YOUR shout regardless of which one you press. Can you verify this is as intended LK, and that other shouts can not be deleted by some fluke?

Mike
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 04/11/2003 8:55 AM
I can't confirm it, go to https://www.ubbdev.com/ubbcgi/ubb_shoutbox.cgi?s=iframe or http://www.lkworld.com/cgi-bin/ubb_shoutbox.cgi and you'll see it only has an [x] near the last shout, if you posted it.
Posted By: jgeoff Re: [6.4 - 6.6] [beta] Shoutbox - 04/24/2003 4:27 AM
Does anyone notice anything wrong with this code below? It used to work before I upgraded to 6.5 confused

Quote
quote:
Originally posted by jgeoff:
I'm working on updating the }}}ChatBox{{{ to work with UBB.classic 6.5 ... it's almost there, and hopefully I'll figure it out w/o asking (begging) LK for help laugh

For some reason it seems this part isn't working any more in the submit form:

[code][/code]Still looking into it... and still missing it. May have to begin begging LK laugh
When someone submits a shout in the ChatBox, the bottom frame and the top frame both reload and show the shouts. The bottom frame is supposed to always show the input form.

(You can see the ChatBox on the UBB in my sig)
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 04/27/2003 10:45 PM
in your shoutbox2, try to replace(untested):
Code
[/code]with:[code]
notice the TARGET thing in the end..
Posted By: reakhavok Re: [6.4 - 6.6] [beta] Shoutbox - 05/03/2003 12:19 AM
Does anyone know how to make my shouts go from botom to top instead of top to bottom. and also to have the text box and buttons at the top??

thanks
Posted By: reakhavok Re: [6.4 - 6.6] [beta] Shoutbox - 05/03/2003 12:32 AM
OK im dumb.. i didnt even look at the code.. i got it to go from bottom to top.. but i still would like the submit button there at the top as well. any ideas??
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 05/04/2003 2:27 AM
I'm having one small problem with it, if I delete a shout while in a topic, it'll reload the topic with "No Topic found" but if I do it on the main page it works fine, anyone else get this?
Posted By: jgeoff Re: [6.4 - 6.6] [beta] Shoutbox - 05/06/2003 4:13 AM
LK - Thanks! Now the submit box stays where it is... You da man! laugh
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/11/2003 10:47 AM
nevermind, all of a sudden it works
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/13/2003 3:11 PM
I keep having this silly problem of which I suspect I'm really overlooking something obvious.

Im using iframes within a table, so far so good cos everything is working. Except that for some reason the shoutbox wont show the ubb smileys: the links keep directing to the cgi-bin instead of the normal ubb dir. Any ideas on how to fix this?
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 05/13/2003 10:31 PM
I tried to access your homepage, http://-/, but it doesn't seem to work wink If you still can't understand why the URL is a required field, can you just post here or in PM your _real_ URL?
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/13/2003 11:06 PM
woopsie daisy, it seems the process of waking up didnt complete, today.. ;D


My html source tells me that its looking for the graemlin in the root but when i checked the html source for other examples mentioned in this topic, the link was a complete link to the forums, eg src="http://www.domain.com/ubbnoncgi/smile.gif". Mine just says "src="smile.gif" where the root obiously is the cgi-bin... And i cant help it, i fear that ill add a shout "doh" when the problem is solved, it has to be something simple im overlooking.

Thnx for checking it out smile
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 05/13/2003 11:19 PM
That's pretty odd.. you can see in ubb_shoutbox.cgi that it replaces the regular smiley URL with the full path. For some reason it doesn't do it in your board..

A simple workaround would be to find:
Code
[/code]add below: (untested)[code]
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/13/2003 11:40 PM
[code][/code]isnt anywhere in my ubb_shoutbox.cgi... could that possibly be the cause? In any cause, i know so little about perl and cgi, i wouldnt be able to even guess where to add that line if not below the line you mentioned... Maybe i need to add it somewhere?
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 05/14/2003 7:52 AM
Oops sorry, $w is only in the unreleased version of shoutbox tipsy
Find:
Code
[/code]add below: (untested)[code]
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/14/2003 9:30 AM
Hehe, hope my being vague isnt infectious tipsy

Anyway, I've added the line below the other but unfortunately, it gave me a compilation error... Its such a great addon but it would be even cooler without the thumbnails... smile Any more suggestions? *crosses fingers and bellybutton*
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 05/14/2003 12:21 PM
Oops sorry, in the end of this line (after " />~"), add ";" (semicolon)...
Posted By: m0by0ne Re: [6.4 - 6.6] [beta] Shoutbox - 05/14/2003 1:23 PM
Yesssss! thank you, works like a "smiling" charm smile

Silly me, i could have thought of adding the semolicon myself aswell but seems the vagueness isnt over yet wink

thnx for the help and the great addon!
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 08/23/2003 10:24 AM
hmmm.. does this take into account the timezones from 6.5 yet? mine is 2 hours behind me tipsy

http://www.praisecafe.org/ubbcgi/ubb_shoutbox.cgi
Posted By: autostream Re: [6.4 - 6.6] [beta] Shoutbox - 10/06/2003 3:42 AM
well thanks to everyone, lk and the godfather guy mostly.
I finally got my shoutbox working under TRIPLE frames. Yes 2 frames within a frame which I didnt even think I could do...
and regardless of what you have heard, UBB can be made to work within frames!!!
actually now my homepage includes my message board and SEVEN frames at once.

http://usastreetracing.com/forum
Posted By: autostream Re: [6.4 - 6.6] [beta] Shoutbox - 10/06/2003 4:51 AM
one problem though is that after you type a response and send it, it still remains in the textbox and doesnt clear out....I prolly erased the code that does it while figuring out all thhe custom hacking.. does anyone know what that code is and where it goes?
Posted By: DarkFormula Re: [6.4 - 6.6] [beta] Shoutbox - 10/08/2003 5:35 AM
When using the reverse posting order, how can I get the submit field/button at the top of the area instead of the bottom?
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 12/27/2003 6:34 AM
Can anyone get this to work on 6.7? I get like 400 lines of errors when trying
Posted By: Mark Schonfeld Re: [6.4 - 6.6] [beta] Shoutbox - 12/27/2003 6:45 AM
[removed by Mark Schonfeld]
Posted By: gRooV Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 2:48 AM
My explorer shows an error when loading the ubb_shoutbox.cgi?s=iframe. Can you help me? Im using v6.5.
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 2:56 AM
it's your html...

Code
<body bgcolor="#000000" text="#FFCC00" link="#FFCC00" vlink="#FFCC00" alink="#FFCC00"
background="http://www.hlektronika.gr/images/scifibkgnd.gif" topmargin="0"
onLoad="goforit();MM_displayStatusMsg('H l e k t r o n i k a . g r');return
document.MM_returnValue">
goforit() isn't defined
Posted By: gRooV Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 3:17 AM
Cound you help me more, please? What should i change in order to fix this error? I dont know much about html and scripts!! frown
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 5:02 AM
change


Code
<body bgcolor="#000000" text="#FFCC00" link="#FFCC00" vlink="#FFCC00" alink="#FFCC00"
background="http://www.hlektronika.gr/images/scifibkgnd.gif" topmargin="0"
onLoad="goforit();MM_displayStatusMsg('H l e k t r o n i k a . g r');return
document.MM_returnValue">
to


Code
<body bgcolor="#000000" text="#FFCC00" link="#FFCC00" vlink="#FFCC00" alink="#FFCC00"
background="http://www.hlektronika.gr/images/scifibkgnd.gif" topmargin="0" >
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 9:21 AM
since it's in the header, try to add
Code
print '<script type="text/javascript">function goforit() { }</script>';
to somewhere on the ubb_shoutbox.cgi code.
Posted By: gRooV Re: [6.4 - 6.6] [beta] Shoutbox - 02/08/2004 8:28 PM
Thanks a lot both of you!! Its ok now!!
Posted By: PFCritics Re: [6.4 - 6.6] [beta] Shoutbox - 02/25/2004 2:31 AM
I am using Shoutbox version 6.6...

Everything was going good, and before I launch my site I am testing everything. I went to test the shoutbox...attempted to delete a shout(I'm Admin), and then I got this message:

Forbidden
You don't have permission to access to this document on this server.

Apache Server at pfcritics.com

Here is: http://www.pfcritics.com/PFC2/index.php

*Begs for help*
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 02/25/2004 4:07 PM
Can you check your error log, or ask your server admin to send it to you if you don't have access to this file, and paste here the lines about the time you tried to delete the shout?
Posted By: PFCritics Re: [6.4 - 6.6] [beta] Shoutbox - 02/26/2004 12:39 AM
[Tue Feb 24 20:59:54 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:02:39 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:04:54 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:05:44 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:13:33 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:36:25 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:36:30 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:36:35 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:40:23 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:43:53 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:43:57 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 21:44:00 2004] [error] [client 216.222.232.104] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 22:24:26 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 22:24:32 2004] [error] [client 216.214.14.212] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Tue Feb 24 23:28:06 2004] [error] [client 138.87.163.18] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Tue Feb 24 23:28:06 2004] [error] [client 138.87.163.18] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:09:54 2004] [error] [client 69.139.152.152] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:09:56 2004] [error] [client 69.139.152.152] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:12:24 2004] [error] [client 69.139.152.152] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 08:12:27 2004] [error] [client 69.139.152.152] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 08:30:18 2004] [error] [client 212.179.200.210] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 08:38:46 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:38:49 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:38:56 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:38:56 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:39:00 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:39:00 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:39:04 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:39:04 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:39:07 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:39:07 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:39:14 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:39:14 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:39:23 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 08:39:24 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 08:40:27 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 08:40:33 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 08:40:37 2004] [error] [client 66.144.4.146] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/ubb/clone
[Wed Feb 25 09:48:12 2004] [error] [client 206.118.48.9] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/favicon.ico
[Wed Feb 25 09:48:13 2004] [error] [client 206.118.48.9] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/styles.css
[Wed Feb 25 09:48:14 2004] [error] [client 206.118.48.9] File does not exist: /home/httpd/vhosts/pfcritics.com/httpdocs/css/style.css
[Wed Feb 25 17:00:37 2004] [error] [client 216.214.12.102] attempt to invoke directory as script: /home/httpd/vhosts/pfcritics.com/cgi-bin

The last one is my IP and when I clicked delete for sute.
Posted By: BigMrC Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 10:49 PM
Take a look at my board:
http://www.oxfordbar.com/ubb/ultimatebb.php
Two things:
Shoutbox looks stupid - how would I blend it in with my board?
Where is the graphic that's missing - delshout.gif - where do I upload it from?
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 10:55 PM
MrC, just wondering why you didn't just go to 6.7.1, as it has a whole lot of great new features?

You can steal delshout.gif from UBBDEV's shoutbox.
Posted By: BigMrC Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 11:04 PM
So 6.7.1 version is compatible with my board? - my board is version 6.6.1
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 11:11 PM
I meant the UBB version. You just restarted your boards, and 6.7 has been out for months
Posted By: BigMrC Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 11:15 PM
Because my access to the downloads section ran out before 6.7 was released, I downloaded version 6.6.1 just before it ran out, just got round to installing it now.
So am I using the correct shoutbox for my board?
How would I go about making it look better. I currently have the code that calls it in the footer html of my style sheet, for a start I don't want the shoutbox appearing on every page - just the main page and maybe alongside the board? What do you think?
Posted By: BigMrC Re: [6.4 - 6.6] [beta] Shoutbox - 05/29/2004 11:31 PM
Ian? Anybody?
Posted By: Gizmo Re: [6.4 - 6.6] [beta] Shoutbox - 05/30/2004 1:10 AM
You're using the proper shoutbox for your version. And you take delshout from ubbdev.
Posted By: LK Re: [6.4 - 6.6] [beta] Shoutbox - 05/30/2004 2:34 PM
www.ubbdev.com/ubb/delshout.gif : [Linked Image]

Just wanted to have the 100th reply of my favorite mod (tied with spellcheck) smile
Posted By: Gizmo Re: [6.4 - 6.6] [beta] Shoutbox - 05/31/2004 12:32 AM
not anymore!
Posted By: MysfytGyrl Re: [6.4 - 6.6] [beta] Shoutbox - 07/09/2004 3:40 AM
I uploaded my ubb_shoutbox.cgi in text mode, and set permissions to 755. But for some reason I get a 500 Internal Server Error in my iframe. I can't figure out why the cgi file isn't working properly. Any ideas? THANKS!

http://www.e-clipse.com/UBBCGI/ultimatebb.cgi
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 07/09/2004 6:16 AM
hmm.. should be a simple upload. You might delete it and re-upload and re-set permissions to 755 - it's possible the file got corrupted in the transfer.
Posted By: MysfytGyrl Re: [6.4 - 6.6] [beta] Shoutbox - 07/10/2004 12:07 AM
OK.... I reuploaded it from work, and now I get a software error. No clue what any of it means.

http://www.e-clipse.com/UBBCGI/ultimatebb.cgi

It's on the right sidebar.

Thanks!
Posted By: Ian Spence Re: [6.4 - 6.6] [beta] Shoutbox - 07/10/2004 12:48 AM
you need to install the 6.7 version, which is located in this forum

https://www.ubbdev.com/ubb/ultimatebb.php/topic/33/129.html
Posted By: MysfytGyrl Re: [6.4 - 6.6] [beta] Shoutbox - 07/10/2004 2:20 AM
Thanks a million! It's working.

By the way... any way to overide the colors? I changed the color settings in the cgi, but it is still using my templates colors instead. I don't want the ugly black background... can't figure out how2 get rid of it.

Thanks!
Posted By: Wiley Re: [6.4 - 6.6] [beta] Shoutbox - 07/19/2005 11:35 AM
I have version 6.4 of Ubb. I am still trying to install the shout box. I uploaded the cgi file to the main directory of my server (domain.com/cgi-bin/) and set the permissions to 755.
I placed the call to the shoutbox into my generic footer. I also changed the url to the cgi-bin to match the server address. Which script do I put in there?? The Java, SSI or Iframe??? or all three???

HELP !!! LOL
Posted By: Wiley Re: [6.4 - 6.6] [beta] Shoutbox - 07/19/2005 11:36 AM
Also, I dont have a cgi folder in my ubb directory. Is there supposed to be one there also???
Posted By: Wiley Re: [6.4 - 6.6] [beta] Shoutbox - 07/19/2005 11:45 AM
Or am I in the wrong forum?? I have ubbthreads 6.4... I noticed something in here about ubb classic??
Posted By: Gizmo Re: [6.4 - 6.6] [beta] Shoutbox - 07/19/2005 1:39 PM
UBBDev.com is for UBB.Classic development.
ThreadsDev.com is for UBB.Threads development.
Posted By: God Re: [6.4 - 6.6] [beta] Shoutbox - 01/17/2006 7:48 AM
Two questions (6.6):

1. Is there any way to pull up old shouts that are no longer in the box?

2. Is there any way to make this work without having to refresh to see new posts? Something like the ajax shoutbox that other forum models use.
Posted By: AllenAyres Re: [6.4 - 6.6] [beta] Shoutbox - 01/19/2006 5:32 AM
old shouts get deleted automatically once the number limit is reached...

We haven't used ajax yet, got a link to one working on another site?
Posted By: God Re: [6.4 - 6.6] [beta] Shoutbox - 01/19/2006 6:32 AM
I've never seen it on UBB. I've got one on my vbulletin forum but I'm sure you've seen it in the works before. If you haven't go here: www.bowrd.com and don't consider it as spam as I don't even really have the site up yet.. I'm still waiting on my styles to be completed as well as a couple custom scripts.

Is there perhaps a way to make a log of all the shouts?
© UBB.Developers