|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
I visited your "homepage" yahoo.com and couldn't find any shoutbox Can you give me the URL of your site?
|
|
|
|
Joined: Jul 2004
Posts: 132 Likes: 1
Journeyman
|
Journeyman
Joined: Jul 2004
Posts: 132 Likes: 1 |
Ho ho ho Link on its way. Thanks.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
a test account would be nice also, as your shoutbox requires us to be logged in
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Replied You got a nice site btw 
|
|
|
|
Joined: Jul 2004
Posts: 132 Likes: 1
Journeyman
|
Journeyman
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 H.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
odd, please post the contents of your vars_time.cgi file
|
|
|
|
Joined: Jul 2004
Posts: 132 Likes: 1
Journeyman
|
Journeyman
Joined: Jul 2004
Posts: 132 Likes: 1 |
Hi Ian, here it is... %vars_time = ( TimeZone => q~GMT~, TimeZoneOffset => q~0~, DateFormat => "EuroX", TimeFormat => "AMPM" ); 1; Thanks again, d.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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...
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
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
|
|
|
|
Joined: Jul 2004
Posts: 132 Likes: 1
Journeyman
|
Journeyman
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 PM on its way.... Thanks to all. d.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
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: 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);
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
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: &AppendFileAsString("$vars_config{MembersPath}/shoutbox_archive.cgi", "n$file[$#file]"); Untested, but should work.
|
|
|
|
Joined: Sep 2001
Posts: 672
Member
|
Member
Joined: Sep 2001
Posts: 672 |
Oh it works, flawlessly! Thanks LK, this will come in handy for me 
|
|
|
|
Joined: Oct 2004
Posts: 16
Junior Member
|
Junior Member
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!
|
|
|
|
Joined: Oct 2004
Posts: 16
Junior Member
|
Junior Member
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Joe, You won't get flamed as long as you hate the Spurs 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.
|
|
|
|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
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.
|
|
|
|
Joined: Sep 2005
Posts: 136
Journeyman
|
Journeyman
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.
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
|
|
|
|
Joined: Jun 2003
Posts: 60
Member
|
Member
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: '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. Oh, BTW, Version 6.7.2
REaMERE
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Try: 'body_extra' => qq~ style="filter:progid:DXImageTransform.Microsoft.Gradient(endColorstr='#555555', startColorstr='#444444', gradientType='0');"~ # body tag extra code - IFRAME ONLY
|
|
|
|
Joined: Jun 2003
Posts: 60
Member
|
Member
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! 
REaMERE
|
|
|
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.
|
|
Posts: 449
Joined: February 2008
|
|
Forums63
Topics37,575
Posts293,930
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|