Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
#201929 07/26/2004 1:27 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
I visited your "homepage" yahoo.com and couldn't find any shoutbox wink
Can you give me the URL of your site?

Sponsored Links
#201930 07/26/2004 2:51 PM
Joined: Jul 2004
Posts: 132
Likes: 1
Journeyman
Journeyman
Offline
Joined: Jul 2004
Posts: 132
Likes: 1
Ho ho ho laugh
Link on its way.
Thanks.

#201931 07/26/2004 2:56 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
a test account would be nice also, as your shoutbox requires us to be logged in

#201932 07/26/2004 2:57 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Replied wink

You got a nice site btw smile

#201933 07/26/2004 4:29 PM
Joined: Jul 2004
Posts: 132
Likes: 1
Journeyman
Journeyman
Offline
Joined: Jul 2004
Posts: 132
Likes: 1
Hi again,
Unregistered users now allowed.

Damn mouse batteries failed in the middle of this post.....

thanks again guys smile
H.

Sponsored Links
#201934 07/26/2004 4:44 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
odd, please post the contents of your vars_time.cgi file

#201935 07/26/2004 5:07 PM
Joined: Jul 2004
Posts: 132
Likes: 1
Journeyman
Journeyman
Offline
Joined: Jul 2004
Posts: 132
Likes: 1
Hi Ian, here it is...

Code
%vars_time = (
TimeZone => q~GMT~,
TimeZoneOffset => q~0~,
DateFormat => "EuroX",
TimeFormat => "AMPM"
);
1;
Thanks again,
d.

#201936 07/26/2004 5:22 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Fixed, I just had to submit the Date & Time settings..

Just a question, why do you use AMPM on GMT/EuroX? I thought that AMPM is only used in the USA...

#201937 07/26/2004 5:45 PM
Joined: Jan 2003
Posts: 3,456
Likes: 2
Master Hacker
Master Hacker
Offline
Joined: Jan 2003
Posts: 3,456
Likes: 2
Quote
Originally posted by LK:

Fixed, I just had to submit the Date & Time settings..

Just a question, why do you use AMPM on GMT/EuroX? I thought that AMPM is only used in the USA...

haha, AMPM isn't even used in the entire US

#201938 07/26/2004 5:45 PM
Joined: Jul 2004
Posts: 132
Likes: 1
Journeyman
Journeyman
Offline
Joined: Jul 2004
Posts: 132
Likes: 1
Perhaps I'm not understanding this properly...?

I was under the impression that the am/pm settings were simply a choice of how the time was displayed?

Either way, I owe you one smile
PM on its way....

Thanks to all.
d.

Sponsored Links
#201939 03/27/2005 10:46 PM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Heres a question:

Is there a way to output the shoutbox to another file called shoutbox_archive. This way you can trace back to a month if you wanted to see a shout, or even a few weeks if need be.

Im sure it would have to do with this section:

Code
	if ($#file > $shouts - 1) {
my $i = 0;
foreach($#file - ($shouts-1)..$#file) {
$file[$i] = $file[$_];
$i++;
}
$#file = $shouts - 1;
}

&WriteFileAsArray("$vars_config{MembersPath}/shoutbox.cgi", @file);

#201940 03/28/2005 7:28 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Nice idea...
Try that:
First create a copy of shoutbox.cgi as shoutbox_archive.cgi in your Members folder. Make sure its CHMOD is 777.
Then after the code you posted, add:
Code
&AppendFileAsString("$vars_config{MembersPath}/shoutbox_archive.cgi", "n$file[$#file]");
Untested, but should work.

#201941 03/28/2005 9:16 AM
Joined: Sep 2001
Posts: 672
Member
Member
Offline
Joined: Sep 2001
Posts: 672
Oh it works, flawlessly!

Thanks LK, this will come in handy for me tipsy

#201942 06/25/2005 9:42 PM
Joined: Oct 2004
Posts: 16
Junior Member
Junior Member
Offline
Joined: Oct 2004
Posts: 16
I will probably get flamed for asking this newbie question but what is:

# Upload to cgi, chmod 755 and use!

I realize I need to rename the file and upload it. But upload it where? Just to the ubb/cgi folder?

Thanks.

You ever think of writing a book LK? You da man!

#201943 06/25/2005 9:47 PM
Joined: Oct 2004
Posts: 16
Junior Member
Junior Member
Offline
Joined: Oct 2004
Posts: 16
Forgot to ask. I love the shoutbox on the main page. I want that style. Is that in a frame? How do I get my board to do frames?

Thanks again.

#201944 06/26/2005 1:28 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Joe,

You won't get flamed as long as you hate the Spurs smile

Upload the file to your cgi-bin folder, the one with ultimatebb.cgi and cp.cgi.
Then if your host is on UNIX chmod the file to 755 (if you don't know how to do that, google "chmod").

About the second question, what do you mean? If you mean the ubbdev.com style, it is indeed an iframe. ubb_shoutbox.cgi has the directions on how to use it as an iframe.

#201945 09/25/2005 10:58 AM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
I just added it, but it doesn't appear. What am I doing wrong this time Ian? http://hogwartsbynight.com/ubb/ultimatebb.php

I guess my question is, how do you insert the script to appear on the left of your board as such --->

As in, I am horrible at knowing where to put the iframe so it will appear on the left side.

#201946 09/25/2005 5:37 PM
Joined: Sep 2005
Posts: 136
Journeyman
Journeyman
Offline
Joined: Sep 2005
Posts: 136
Ah..ok I worked on the sidebar all day and I got that working and how I want it in my test forum, but now its saying that the cgi file I uploaded. and moded to 755 can not be found.

#201947 09/26/2005 9:23 AM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
http://hogwartsbynight.com/cgi-bin/ubb/ubb_shoutbox.cgi
It works, it only tells you to upload https://www.ubbdev.com/ubb/delshout.gif into 'http://hogwartsbynight.com/ubb/delshout.gif'.

#201948 02/13/2006 2:22 AM
Joined: Jun 2003
Posts: 60
Member
Member
Offline
Joined: Jun 2003
Posts: 60
Hello!
Here's one for you.
I have the shoutbox running as an Iframe.
Put in a few style tags to the ubb_shoutbox.cgi file which work fine.
However, I am trying to add a gradient background, it gives strange results.
In the 'body_extra' area I added both the style and body style tags.
Both times, it does create a gradient but it is a blue gradient (which I don't want) regardless of what I change the color to.
For the time being I just set a background color.
The webpage is: http://www.technicalblog.org/tech/ultimatebb.cgi
The code I added for the gradient looks like this:
Code
 'body_extra'       => 'body style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#555555', startColorstr='#444444', gradientType='0');"'         # body tag extra code     - IFRAME ONLY 
Any ideas???

Thanks in advance. smile
Oh, BTW, Version 6.7.2


REaMERE
#201949 02/14/2006 3:19 PM
Joined: Mar 2001
Posts: 7,394
LK
Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Try:
Code
 'body_extra'       => qq~ style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#555555', startColorstr='#444444', gradientType='0');"~         # body tag extra code     - IFRAME ONLY 

#201950 02/15/2006 3:00 PM
Joined: Jun 2003
Posts: 60
Member
Member
Offline
Joined: Jun 2003
Posts: 60
That did it!
Thanks, you are the code breaker, awesome.

I suppose that type of cide could be applied to the Forum Summary .pl pages as well?

Thanks again! smile


REaMERE
Page 2 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
Posts: 70
Joined: January 2007
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
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)