Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
#154913 09/12/2002 3:52 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.3.0 Beta Release 1.0

Thanks to the alpha testers - Allen, Chris, Dave2 and Chuck! smile

Sponsored Links
#154914 09/12/2002 3:57 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
wheeee!! laugh

thanks LK smile


- Allen wavey
- What Drives You?
#154915 09/12/2002 4:54 PM
Joined: Feb 2001
Posts: 251
Member
Member
Offline
Joined: Feb 2001
Posts: 251
You the best LK thumbsup

#154916 09/13/2002 3:34 PM
Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Have it working at www.nakkc.org via SSI , working great so far...! thanks LK!

#154917 09/13/2002 5:04 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
So far, Allen, Chris and Dave2 use iframe, Chuck uses javascript and raichu uses ssi... need more testers for JS...

Sponsored Links
#154918 09/13/2002 5:09 PM
Joined: Dec 2001
Posts: 699
Member
Member
Offline
Joined: Dec 2001
Posts: 699
Any differences between my version and this one?

#154919 09/13/2002 7:17 PM
Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
Quote
quote:
Originally posted by Dave2:
Any differences between my version and this one?
Where is your version?

#154920 09/13/2002 9:18 PM
Joined: Sep 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 9
Hey LK,

I just installed it on my board, made it integrate with the summary layout. I love this mod, very cool, thanks.

Check it out, Ford Escort Online , still fine tuning it, but looks good so far.

Lemme know if it's ok to modify it like I did, don't wanna infringe any "copyrights" smile

Marc thumbsup

#154921 09/13/2002 11:18 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Dave2, I don't think there is anything major, but you should use Beyond Compare.

Welcome auto smile I suggest you to use IFRAME if you have a problem with the size but want to show more messages. Then the users can scroll down the little iframe, and it won't affect the rest of the board. Check UBBDev's code @ www.ubbdev.com or Dave's code @ http://www.aagames.co.uk/cgi-bin/ultimatebb.cgi to see how you can use tag.

BTW, nice site smile

#154922 09/13/2002 11:39 PM
Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
Im using ssi on the news site, and the JS version on the board to test...

Would be nice, like in the latest news, different post layouts. Like on the messageboard instead of the acron of the whole time stamp, to have an option to make it show on the wall.
Its a great utility to shout for my users to get online to raid, and a datestamp there would be great

Sponsored Links
#154923 09/14/2002 7:55 AM
Joined: Sep 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 9
Thanks LK,

I am using iframe, and in the iframe I'm using frames to have the submit button always visible. I just had to set the target in the bottom frame.

The reason I don't want it to scroll is that the new messages will always be outside the box and I want to show the latest messages first, I know there's the option in the script to go in 2 directions but it always shows the old messages first then. So I decided to set the max to 5 messages, I would like to set it higher though.

Or did I miss something and can it show new first?

Thanks,

Marc

#154924 09/14/2002 8:20 AM
Joined: Nov 2001
Posts: 1,704
CTM Offline
Moderator / Da Masta
Moderator / Da Masta
Offline
Joined: Nov 2001
Posts: 1,704
Yay, I've been looking forward to a final for this smile

Thanks LK laugh

#154925 09/16/2002 10:49 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3


- Allen wavey
- What Drives You?
#154926 09/16/2002 11:15 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
how do I get rid of the horizontal scroll? smile


- Allen wavey
- What Drives You?
#154927 09/16/2002 11:26 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Maybe use JavaScript instead of iframe, and limit number of shouts to 10 or so... Then it won't get too big, but won't show a scrollbar.

#154928 09/17/2002 12:04 AM
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, it's not recognizing the limit of 10 tipsy


- Allen wavey
- What Drives You?
#154929 09/17/2002 12:57 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
the horizontal scroll bar was due to an extra-long name smile I have the shouts limited to 3 right now, no change in number shown tho smile


- Allen wavey
- What Drives You?
#154930 09/19/2002 12:04 PM
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 doesn't like the MD5 in 6.4 smile


- Allen wavey
- What Drives You?
#154931 09/19/2002 12:16 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed in my local copy, lemme know if you need it wink

#154932 09/19/2002 12:32 PM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
yes please, we be broke now smile


- Allen wavey
- What Drives You?
#154933 09/25/2002 8:17 PM
Joined: Mar 2002
Posts: 99
Member
Member
Offline
Joined: Mar 2002
Posts: 99
ok...i added the javascript version to my header underneath my side menu and above my login form so that it would sit to the left of my board along with everything else. besides tweaking in the table i made for it, it looks good.

*the only problem is that when i did the first shout, (which was just a test shout), the page would not refresh. it started to but after loading my top banner, nothing else on the page would load. it would just sit there and act like it was loading still, but would do that for like 10 minutes straight so i just gave up.

what might cause this?

#154934 09/25/2002 8:56 PM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
I did some research and finally found out that the stylesheet has to be imbedded in the file you are calling if you are using Iframes, so I got my buttons to look right finally.

I'm just wondering how the UBBDev screen got the scrollbar to default to the bottom instead of the top.

#154935 09/26/2002 12:16 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Toe, it should do that, I've no idea why one of the sites doesn't go to the bottom and all others do.

gost, maybe it's your host or proxy..

#154936 09/26/2002 9:04 AM
Joined: Aug 2002
Posts: 65
Member
Member
Offline
Joined: Aug 2002
Posts: 65
Oh great. So once again it's just because I'm retarded. I hate that!

I did noticed that if I submit a shout, the screen refreshes and the scroll box is on the bottom. It's just the very first time someone goes in.

#154937 09/30/2002 4:33 PM
Joined: Dec 2000
Posts: 78
Ed Offline
Member
Member
Offline
Joined: Dec 2000
Posts: 78
Hi guys,
How do I change the time diplayed when posting a chat?

#154938 09/30/2002 11:05 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
MembersPath/shoutbox.cgi.

For example:
Code
00000001||/me is testing /me||09-01-2002||03:12 AM||192.168.0.242
it's NUMBER||DATA||mm-dd-yyyy||hh:mm aa||ip

#154939 10/05/2002 3:52 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
EXCELLENT!!! THANK YOU!!

BTW - you never included delshout.gif that I can see, so here it is: [Linked Image]


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154940 10/05/2002 8:57 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
Hmm - can you think of an easy way to do this?

I'd like the posts to refresh automatically, but I want the text box and buttons in a separate frame so they don't auto refresh while someone is trying to type. Cuz it's a pain needing to hit "refresh" just to see if anyone's replied. This could easily be a mini live chatroom then!

Thanks again,

JG

P.S. You can see what I have so far at the site below... look for }}}Shoutbox{{{


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154941 10/06/2002 10:45 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Copy the following to your frame:
Code
<form name="shout" action="http://www.thegodfathertrilogy.net/cgi-bin/ubb_shoutbox.cgi" method="post">
<input type="hidden" name="d" value="send" />
<input type="hidden" name="refer" value="http://www.thegodfathertrilogy.net/cgi-bin/ubb_shoutbox.cgi?s=iframe" />
<input type="text" name="message" size="25" maxlength="200" value="" onclick="if(this.value == '') { this.value = ''; }" onblur="if(this.value == '') { this.value = ''; }" />


<input type="submit" name="submit" value="Shout" onclick="if(document.shout.message.value == '') { alert('Type a message...'); return false; }" />
<input type="reset" name="reset" value="Reset" />
</form>
Then remove
from ubb_shoutbox.cgi, and add the refresh thing... smile

#154942 10/07/2002 11:59 AM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
Thanks LK!

It's almost there - I have the top frame autorefreshing with the posts, and the bottom frame with the textbox and buttons - and submitting sends to the top frame.

However - after submitting, the textbox and buttons are replaced with the shouts as well. Take a look...

I am using FRAMESET frames, if that makes a difference... I'm not very familiar w/ iframes - did you mean for me to use them instead?

Basically, I need to submit w/o having the bottom frame overwritten with the form results.

THANKS again! smile

JG


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154943 10/07/2002 1:14 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Good job, I like how it looks!!!

You can edit ubb_shoutbox.cgi: (TWICE)
Code
	print "Location: $in{refer}nn";
Replace $in{refer} with http://www.thegodfathertrilogy.net/shoutbox2.html smile

#154944 10/07/2002 1:39 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
AWESOME!! I'm glad it was that simple!

THANK YOU so much, LK! Just gotta play w/ different refresh rates to get it ideal - thanks again! laugh

Now you have another hack - }}}ShoutChat{{{ laugh

JG


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154945 10/07/2002 2:16 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
Okay, one last question laugh

Is there something I can add that'll make the main frame refresh upon hitting the submit button rather than waiting for the meta refresh to see your post?

Thanks again!

JG


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154946 10/07/2002 2:25 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I have never learnt how to deal with frames because I simply hate them wink

#154947 10/07/2002 2:32 PM
Joined: Apr 2001
Posts: 96
Power User
Power User
Joined: Apr 2001
Posts: 96
I'm thinking more along the lines of a simple javascript (onSubmit) to add to the form tag... I'll try to find something (and brush up on my JavaScript laugh )

P.S. On another forum someone suggested
parent.content.location.reload(true) -- It's not perfect, but I'm getting closer! smash

As for frames - off topic, sorry - I think they're okay if done properly laugh

JG


GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0
#154948 10/08/2002 3:05 PM
Joined: Sep 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 9
Hey Jgeoff,

I have already implemented sort of a minichat on my site as soon as LK posted the Shoutbox...haven't been on the board here for a couple of days, else you could just grab the code if you wanted to.

Check it out here : http://www.custom4auto.com/cgi-bin/EscortBoard/ultimatebb.cgi

Just click on Open Chat,

Marc

#154949 10/08/2002 3:19 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
4auto: (taken from popit.js)
Code
		'if(b==2){px=event.screenX-ofx-1;py=event.screenY-ofy-1;top.window.moveTo(px,py);}n'+
Why did you add it? confused I personally think it's annoying that when I click on "Version 1.0 beta" it moves the window, and I can't see any benefit? confused

#154950 10/08/2002 3:28 PM
Joined: Sep 2002
Posts: 9
Junior Member
Junior Member
Offline
Joined: Sep 2002
Posts: 9
LK,

Is that still on there? smile I thought I removed the chromeless windows since it won't work properly in IE 6...Thanks for noticing, I'll fix that.

Marc

#154951 10/09/2002 1:58 AM
Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
Never saw this released, nice work LK. May give this a test run now. smile

#154952 11/14/2002 2:25 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
the very latest 6.4 beta is now telling me I have too many smilies if I have *any* in my 'shouts' tipsy


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

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
Gizmo
Gizmo
Portland, OR, USA
Posts: 5,833
Joined: January 2000
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
Morgan 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)