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?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
bah.. I have no idea where it might 'fit' tipsy


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
can you give me one example and I'll figure out the rest?


- 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
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 })

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
thank you.. I can do dat smile


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
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

Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Are you sure you're using 6.4? There's a 6.3 version in the 6.3 Beta forum if you're not...

Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Actually it is 6.5.0 Beta Release 1

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
make sure you've uploaded all the Modules folder for 6.5 smile


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
it looks ok to me, tho I am not logged in... clear your browser's cache and check it.


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
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?

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
IE 6, tho I am not logged in... got a test login?


- Allen wavey
- What Drives You?
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Thanks Allen - The problem was my browser.

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
It can't be with your browser, it has to be a problem somewhere in your server...

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
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?


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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.

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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!

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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

Joined: Aug 2000
Posts: 178
Member
Member
Offline
Joined: Aug 2000
Posts: 178
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

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

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
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)


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
in your shoutbox2, try to replace(untested):
Code
[/code]with:[code]
notice the TARGET thing in the end..

Joined: Apr 2003
Posts: 12
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 12
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

Joined: Apr 2003
Posts: 12
Junior Member
Junior Member
Offline
Joined: Apr 2003
Posts: 12
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??

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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?

Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
LK - Thanks! Now the submit box stays where it is... You da man! laugh


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
nevermind, all of a sudden it works

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
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?

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

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
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

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

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
[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?

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops sorry, $w is only in the unreleased version of shoutbox tipsy
Find:
Code
[/code]add below: (untested)[code]

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
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*

Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Oops sorry, in the end of this line (after " />~"), add ";" (semicolon)...

Joined: May 2003
Posts: 6
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 6
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!

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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


- Allen wavey
- What Drives You?
Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
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

Joined: May 2001
Posts: 55
Member
Member
Offline
Joined: May 2001
Posts: 55
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?

Joined: Mar 2002
Posts: 78
Member
Member
Offline
Joined: Mar 2002
Posts: 78
When using the reverse posting order, how can I get the submit field/button at the top of the area instead of the bottom?


1998 Firebird Formula with a blower and then some...
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Can anyone get this to work on 6.7? I get like 400 lines of errors when trying

Joined: Jul 2003
Posts: 273
Member
Member
Offline
Joined: Jul 2003
Posts: 273
[removed by Mark Schonfeld]

Joined: Dec 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 6
My explorer shows an error when loading the ubb_shoutbox.cgi?s=iframe. Can you help me? Im using v6.5.

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: Dec 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 6
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

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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" >

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

Joined: Dec 2002
Posts: 6
Junior Member
Junior Member
Offline
Joined: Dec 2002
Posts: 6
Thanks a lot both of you!! Its ok now!!

Joined: Feb 2004
Posts: 3
Junior Member
Junior Member
Offline
Joined: Feb 2004
Posts: 3
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*

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

Joined: Feb 2004
Posts: 3
Junior Member
Junior Member
Offline
Joined: Feb 2004
Posts: 3
[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.

Joined: Nov 2001
Posts: 70
Member
Member
Offline
Joined: Nov 2001
Posts: 70
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?

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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.

Joined: Nov 2001
Posts: 70
Member
Member
Offline
Joined: Nov 2001
Posts: 70
So 6.7.1 version is compatible with my board? - my board is version 6.6.1

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
I meant the UBB version. You just restarted your boards, and 6.7 has been out for months

Joined: Nov 2001
Posts: 70
Member
Member
Offline
Joined: Nov 2001
Posts: 70
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?

Joined: Nov 2001
Posts: 70
Member
Member
Offline
Joined: Nov 2001
Posts: 70
Ian? Anybody?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
You're using the proper shoutbox for your version. And you take delshout from ubbdev.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
www.ubbdev.com/ubb/delshout.gif : [Linked Image]

Just wanted to have the 100th reply of my favorite mod (tied with spellcheck) smile

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
not anymore!


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Jun 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 5
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

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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.


- Allen wavey
- What Drives You?
Joined: Jun 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 5
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!

Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
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

Joined: Jun 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 5
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!

Joined: Jul 2005
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jul 2005
Posts: 3
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

Joined: Jul 2005
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jul 2005
Posts: 3
Also, I dont have a cgi folder in my ubb directory. Is there supposed to be one there also???

Joined: Jul 2005
Posts: 3
Junior Member
Junior Member
Offline
Joined: Jul 2005
Posts: 3
Or am I in the wrong forum?? I have ubbthreads 6.4... I noticed something in here about ubb classic??

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev.com is for UBB.Classic development.
ThreadsDev.com is for UBB.Threads development.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Sep 2005
Posts: 44
God Offline
Member
Member
Offline
Joined: Sep 2005
Posts: 44
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.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
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?


- Allen wavey
- What Drives You?
Joined: Sep 2005
Posts: 44
God Offline
Member
Member
Offline
Joined: Sep 2005
Posts: 44
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?

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)