Author Topic: adding a sticker to my sig.  (Read 5083 times)

0 Members and 1 Guest are viewing this topic.

Offline LeomaTNWX

  • Senior Contributor
  • ****
  • Posts: 271
    • Leoma, Tn Weather
adding a sticker to my sig.
« on: February 21, 2009, 11:51:43 PM »
Here is the HTML code. But I am not sure how to add it. Can someone help please?

<a href="http://www.wunderground.com/weatherstation/WXDailyHistory.asp?ID=KTNLEOMA2"><img src="http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=wxstnsticker&weatherstationcount=KTNLEOMA2" height="160" width="160" border="0" alt="Weather Underground PWS KTNLEOMA2" /></a>

Offline wxkpt

  • Kingsport, TN Weather
  • Senior Contributor
  • ****
  • Posts: 284
  • When The Weather Gets Tough.. Get With The Weather
    • Kingsport, TN Live and Local weather
Re: adding a sticker to my sig.
« Reply #1 on: February 22, 2009, 12:37:54 AM »
use the code below
Code: [Select]
[img]http://banners.wunderground.com/cgi-bin/banner/ban/wxBanner?bannertype=wxstnsticker&weatherstationcount=KTNLEOMA2[/img]

Offline LeomaTNWX

  • Senior Contributor
  • ****
  • Posts: 271
    • Leoma, Tn Weather
Re: adding a sticker to my sig.
« Reply #2 on: February 22, 2009, 11:39:26 PM »
Thanks! But why is it just showing my city and not the state also?

Offline mackbig

  • Forecaster
  • *****
  • Posts: 4128
    • Mackie's Main Street, Unionville, ON Canada Weather
Re: adding a sticker to my sig.
« Reply #3 on: February 23, 2009, 06:57:42 AM »
Most have the state as well, not sure which one you clicked,  you could try this one.

Code: [Select]
[img]http://banners.wunderground.com/weathersticker/big2_cond/language/www/US/TN/Leoma.gif[/img]




Thanks! But why is it just showing my city and not the state also?

Andrew - Davis VP2+ 6163, serial weatherlink, wireless anemometer, running Weather Display.  Boltek PCI Stormtracker, Astrogenic Nexstorm, Strikestar - UNI, CWOP CW8618, GrLevel3, (Station 2 OS WMR968, VWS 13.01p09), Windows 7-64

Offline LeomaTNWX

  • Senior Contributor
  • ****
  • Posts: 271
    • Leoma, Tn Weather
Re: adding a sticker to my sig.
« Reply #4 on: February 23, 2009, 08:26:40 AM »
Thanks I think I like it better than the other.

Offline casparjack

  • Broxwood Weather Live
  • Member
  • *
  • Posts: 18
    • Broxwood Weather Live
Re: adding a sticker to my sig.
« Reply #5 on: December 02, 2011, 07:48:05 AM »
Hi there, I appreciate this is an old topic, but a search yielded the answer to my problem (almost) as I want to add a banner to my signature.

I have used your code line and modified it slightly to generate the signature you now see, but I really want to use the flash/swf banner that WU show as the first in their PWS page - however as a total noob to coding I'm struggling, an hour of trial and error has just produced a page of error returning code in Notepad I'm afraid.

The code WU suggest is as follows:

<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=IHEREFOR10&freq=3.0&units=metric&lang=EN" /><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=IHEREFOR10&freq=3.0&units=metric&lang=EN" type="application/x-shockwave-flash" width="290" height="130" /></object>

...but I can't seem to pick out the bits I need and amend the generator for the image I want.

Any help would be much appreciated.

:)


Davis Wireless VP2+/FARS/Wireless Anemometer/2x Remote Temperature Sensors - Running Weather Display and WeatherLink 24/7 on PC based Windows XP

Offline xykotik

  • DonkeyTailWX DW6891
  • Forecaster
  • *****
  • Posts: 696
  • I'll deal with it tomorrow
    • DonkeyTail Weather
Re: adding a sticker to my sig.
« Reply #6 on: December 02, 2011, 11:50:52 AM »
Well, you won't be able to run html or shockwave code inside an [img] tag with ubb code.  That's to keep the hackers and spammers at bay.  The regular WU stickers generate an actual image based on the switches in the embed.  ubb code isn't going to pretend that an swf object is an image.


Facit solem suum oriri super bonos et malos et pluit super iustos et iniustos.

Springtime in Seattle...  March comes in like a lion and out like a wet lion.

Offline casparjack

  • Broxwood Weather Live
  • Member
  • *
  • Posts: 18
    • Broxwood Weather Live
Re: adding a sticker to my sig.
« Reply #7 on: December 02, 2011, 01:33:18 PM »
Well, you won't be able to run html or shockwave code inside an [img] tag with ubb code.  That's to keep the hackers and spammers at bay.  The regular WU stickers generate an actual image based on the switches in the embed.  ubb code isn't going to pretend that an swf object is an image.

Thanks, I'd almost got there myself to be honest - as a result of Googling like mad - the alternative seems to be for me to try and use a more detailed banner like yours for example; could you perhaps point me in the right direction to achieve that please?

:)


Davis Wireless VP2+/FARS/Wireless Anemometer/2x Remote Temperature Sensors - Running Weather Display and WeatherLink 24/7 on PC based Windows XP

Offline xykotik

  • DonkeyTailWX DW6891
  • Forecaster
  • *****
  • Posts: 696
  • I'll deal with it tomorrow
    • DonkeyTail Weather
Re: adding a sticker to my sig.
« Reply #8 on: December 02, 2011, 07:34:41 PM »
Sure.  I use something called "Anole wxgraphic" like many others here.  Your wx software has to be able to process template files (ie .htx) and you need a server or web-host that runs php.  I see you have those things (Weather Display and your own webpage) so it's not too difficult to use.  I learned a bit about php coding playing with it.
« Last Edit: December 02, 2011, 07:38:23 PM by xykotik »


Facit solem suum oriri super bonos et malos et pluit super iustos et iniustos.

Springtime in Seattle...  March comes in like a lion and out like a wet lion.

Offline casparjack

  • Broxwood Weather Live
  • Member
  • *
  • Posts: 18
    • Broxwood Weather Live
Re: adding a sticker to my sig.
« Reply #9 on: December 03, 2011, 01:33:51 PM »
Thanks, I noticed that others have used the same too and I did have a brief look at the site, but to be honest on first visit I was a little daunted, as it didn't mean much to me. So I need to spend some time learning it, then hopefully as you say I'll end up adding some knowledge!

:)


Davis Wireless VP2+/FARS/Wireless Anemometer/2x Remote Temperature Sensors - Running Weather Display and WeatherLink 24/7 on PC based Windows XP

Offline cospringswx

  • Forecaster
  • *****
  • Posts: 4136
    • Colorado Springs Weather
Re: adding a sticker to my sig.
« Reply #10 on: March 15, 2012, 02:58:00 AM »
I know this post is old but can someone help me add mine.
Here is the code I have

http://www.hayskansasweather.com/wxgraphic.php?type=banner_big




Ryan 

Colorado Springs, CO
www.cospringsweather.com
Davis Vantage Vue
Weather Display Software
Amcrest HD IP Camera

Offline cospringswx

  • Forecaster
  • *****
  • Posts: 4136
    • Colorado Springs Weather
Re: adding a sticker to my sig.
« Reply #11 on: March 15, 2012, 02:58:26 AM »
nevermind it worked LOL




Ryan 

Colorado Springs, CO
www.cospringsweather.com
Davis Vantage Vue
Weather Display Software
Amcrest HD IP Camera