Author Topic: New phpbb board - weather display possible?  (Read 854 times)

0 Members and 1 Guest are viewing this topic.

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
New phpbb board - weather display possible?
« on: July 02, 2017, 08:00:49 PM »
I'm work on a phpbb board (non-weather related) and I'd like to know if there's a way to display my PWS weather or Weather Underground weather in messages.  In an iframe would work best, but I've not found anyone who's done this.

Any ideas?
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline SLOweather

  • Global Moderator
  • Forecaster
  • *****
  • Posts: 3456
    • Weatherelement Moline IL
Re: New phpbb board - weather display possible?
« Reply #1 on: July 02, 2017, 08:05:17 PM »
Can you do a sig, like mine below? If so, those are fairly easy to do with weather data. You can use a WU image (still, I think), or use the stickertags php script to roll your own.
« Last Edit: July 02, 2017, 08:08:44 PM by SLOweather »

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: New phpbb board - weather display possible?
« Reply #2 on: July 02, 2017, 08:29:51 PM »
Well, that's pretty cool.  Where's the stickertags php script?  I might be able to do something with it.

Thanks,
Mort
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: New phpbb board - weather display possible?
« Reply #3 on: July 02, 2017, 09:05:45 PM »
Anole stopped distributing it a while back, but here (attached) is the latest release from him.

Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: New phpbb board - weather display possible?
« Reply #4 on: July 02, 2017, 09:14:15 PM »
Wow - Thanks Ken.  I don't know just yet how it would fit into a phpbb board.

If I had something like your weather info that you display in a message, that would work out nice.

How do you do that?
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9257
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: New phpbb board - weather display possible?
« Reply #5 on: July 02, 2017, 09:41:10 PM »
With the wxgraphic.php, you install the script on the same website that you upload your clientraw.txt file from Weather-Display to..

Then you can use the output of wxgraphic.php?type=sticker or ?type=banner in a <img src="..../wxgraphic.php?type=sticker" > HTML entry.

With phpBB (and SMF) it may not 'like' images that don't end in .jpg/.gif/.png, so you may have to add a small line in the .htaccess file on your website that does a redirect like

Redirect /sig.gif /wxgraphic.php?type=sig
Redirect /banner.gif /wxgraphic.php?type=banner

then you can use <img src=".../sig.gif"> or <img src=".../banner.gif"> in the phpBB for a signature image.
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: New phpbb board - weather display possible?
« Reply #6 on: July 02, 2017, 10:01:21 PM »
It looks like I'll be busy tomorrow  =D&gt;
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: New phpbb board - weather display possible?
« Reply #7 on: July 02, 2017, 10:55:15 PM »
That is the bomb, Ken!  I guess it took all of 15 minutes to get it work.

I like you graphic better.
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

Offline mldenison

  • Contributor
  • ***
  • Posts: 111
    • York, PA Weather
Re: New phpbb board - weather display possible?
« Reply #8 on: July 03, 2017, 06:28:59 AM »
I think it's done...

« Last Edit: July 03, 2017, 06:37:05 AM by mldenison »
Windows 7 x64
Weather PC: Intel NUC
Davis Vantage Pro 2
Weather Underground: KPAYORK30
York, PA Weather (Saratoga)
York, PA Weather (Leuven)
York, PA PWS Station

 

anything