PDA

View Full Version : Sig Problem...


AjStone
25th October 2002, 19:44
Ok, ya'll have seen my sig:

Keeping the Redneck spirit alive since 1984
Now, I would like to make an addition. First, click here:
http://uptimes.wonko.com/account.php?op=details&hid=2285

Then, click here:
http://uptimes.wonko.com/remote.php?hostid=2285&bgcolor=ffffff&color=000000

I am uploading my server uptime to http://uptimes.wonko.com and it has a nifty little feature that it shows a picture that is refreshed every five minutes, showing the latest uptime, as shown in the second link. However, when I insert the {IMG} string, with the appropriate link into my sig, it comes out like this:
(I used braces instead of brackets to show the text above, without activating VB code)

Keeping the Redneck spirit alive since 1984
My Server uptime: http://uptimes.wonko.com/remote.php?hostid=2285&bgcolor=ffffff&color=000000

The text that I have entered is as follows, but with brackets, instead of braces as I am going to type now:

{I}{B}{U}Keeping the Redneck spirit alive since 1984{/U}{/B}{/I}
{SIZE=1}My Server uptime: {IMG}http://uptimes.wonko.com/remote.php?hostid=2285&bgcolor=ffffff&color=000000{/IMG}{/SIZE}

So as you can see, it does not change the http link into the image as shown in the second link above. What can I do to fix this? Thanks for all the help.

~Aj

Tom
25th October 2002, 20:01
There is nothing you can do. On these boards (for security reasons) image URLs are not allowed to contain & or ?.

Tom

AjStone
25th October 2002, 20:04
Well there goes a good idea.

(Hey man, that means a bunch. They come rare from me...)

:( :hang:

rm'
25th October 2002, 20:07
Code something to periodically download the file, rename it, then upload it via FTP to webspace. Use the renamed file in your sig. Of course, this solution stops working once your computer is offline... but that's ok, because either your computer is off, so your uptime's been reset, or your internet connection was cut, so you wouldn't be able to update your Wonko uptime any way :-)

AjStone
25th October 2002, 20:12
Ok, can you explain this further? I have 24/7 webserver access to host the code, but yeah, your right, my computer only uploads time when I'm online, but I'm not concerned with that because I connect often enough anyway. So where can I get this "something" to retrieve the uptime pic and rename it?

rm'
25th October 2002, 20:17
You have to program it yourself :-p (I'm talking about a win32 app, by the way, that downloads the wonko image, then uploads to an FTP account somewhere. The only purpose of it is to rename the file).

I'd do it myself, but I currently only have the Learning Edition of VB6 installed, and it doesn't have any FTP tools. You can either look for another solution, wait for someone else to do it, or wait until I feel like installing VB6 Enterprise.

Tom
25th October 2002, 20:20
See if this works. It is just a redirect.
http://winampdb.com/~tstanley/aj.php

Tom

rm'
25th October 2002, 20:23
There you go. That's why he's coding Winampdb, and I'm not :blah:

Jay
25th October 2002, 20:27
yea use a redirect, much easier. If you have got php installed just name a file myimage.php and place this in it.

<?php
header("Location: http://uptimes.wonko.com/remote.php?hostid=2285&bgcolor=ffffff&color=000000");
?>

I am sure there is also an Apache way of doing this using .htaccess as well.

AjStone
25th October 2002, 20:39
Message Removed by AjStone

AjStone
25th October 2002, 20:43
Ok, well I've thought about it some; is this correct?

[list=1]
Create text file that contains text posted by KXRM
Save it as uptime.php
Upload it to my webserver
Insert [IMG] code in my sig, directing to uptime.php file located on my webserver?
[/list=1]

Is that it?

I cannot try it now because I'm not at home. I will soon, tho.

Jay
25th October 2002, 20:52
if your webhost supports PHP then yes that's it.

AjStone
25th October 2002, 22:10
Alright! :D

Thanks a bunch ya'll!

Oh, referring to "Tom" (the first responder to my thread) are you Tom Pepper of Nullsoft as shown below?

:D

http://www.winamp.com/images/team/tom-face.gif

Jay
25th October 2002, 23:06
Originally posted by AjStone
Alright! :D

Thanks a bunch ya'll!

Oh, referring to "Tom" (the first responder to my thread) are you Tom Pepper of Nullsoft as shown below?

:D

http://www.winamp.com/images/team/tom-face.gif No he is not he is often confused as him though, Tom pepper is peppert in the forums I think.