[EN] Weatherforecast with User ZIP code (weather.com)

Forum rules
This forum is not for support requests.

Only post Modifications for Board3 Portal 1.0.x in this forum.

Myaj
Active Member
Posts: 17
Joined: 23. October 2008 04:53

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by Myaj »

Actually, Marc, that worked for viewing the page in IE, I always forget to double check that.

Firefox still is off center, but its now centered for IE users, thank you.

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by zappa84 »

it didn't work for me.. :? it messed up all my fonts (they are huge now) and the images isn't centered.. any clue??

here the screenshot... i'm using portal 1.03 if it helps..



Image

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by zappa84 »

*bump* :?

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by zappa84 »

guys no help at all with this??
User avatar

Topic author
Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by Kevin »

Link to your forum?
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by zappa84 »

thanks for your reply. i restored the original file because it's my live forum, so i couldn't wait... but i would like to have this mod working on my forum..

here it is the link: http://www.newage-os.org

like i said in the first post :t messed up all my fonts (they are huge now) and the images isn't centered..

So if you could help me to understand the problem , it would be great..

zappa84
Active Member
Posts: 18
Joined: 14. May 2009 22:01
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by zappa84 »

it's me again.. did anybody figure out the problem?
User avatar

Topic author
Kevin
Site Admin
Posts: 2989
Joined: 7. January 2006 20:11
phpBB.de User: Saint
phpBB.com User: Saint_hh
Location: Hamburg
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by Kevin »

I don't see any weather box on your site, i just see a screwed up portal. So it's hard to say where to begin and i guess that you have done something wrong with the edits. Try doing the edits from scratch while searching this complete topic. You might also try a different service than accuweather.
There have been many tips and solutions within this topic.
~~~ They say the definition of madness is doing the same thing and expecting a different result ~~~

Kein Support per PN / No support via PM!

stitch
Active Member
Posts: 1
Joined: 27. May 2009 16:12
phpBB.com User: stitch625

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by stitch »

Hello all,

Just dropped in and seen this mod. OMG!!! I have been wanting amod like this ever since phpbb3 came about. There has been a weather mod in development for over 2 years now and I can't wait any longer.

I see that this mod is for a portal. I do not use a portal on my board but would like to integrate this into my index page. I have tried using the code that is provided here but when I use

Code: Select all

// Weather START
include($phpbb_root_path . 'includes/weather.' . $phpEx);
// Wether END 

But all I get is a blank page unless I comment it out. How hard would this be to do? Any help would be greatly appreciated. Like I said I have been searching for mod like this for over 2 years now.

Thanks

mikey12561
Active Member
Posts: 13
Joined: 22. January 2010 19:30

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by mikey12561 »

Just so you know the first edit that you have for prosilver which is this edit

Open: styles/prosilver/template/portal/portal_body.html

This is supposed to be portal_center.html

The edit isn't in the body. Just so you know.

I also want to point out this edit

Code: Select all

// Weather START
    include($phpbb_root_path . 'portal/block/weather.'.$phpEx);
// Wether END                                       
\

Its wrong and should be this

Code: Select all

// Weather START
    include($phpbb_root_path . 'weather.'.$phpEx);
// Wether END                                       
Mind you all of this was on PHPBB 3.0.6

weave
Active Member
Posts: 3
Joined: 20. August 2009 15:01

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by weave »

I am getting this error on my portal page

[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3840: Cannot modify header information - headers already sent by (output started at /portal/block/weather.php:1)

That line in functions.php says:

header('Pragma: no-cache');
User avatar

DragonMaster
Active Member
Posts: 29
Joined: 14. February 2009 00:22
phpBB.com User: DragonMaster1
Location: U.S.A.
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by DragonMaster »

weather.com has changed it's code and has caused a few problems for other applications also. Although my portal is running ok, it might mess up the ones outside of the usa

weave
Active Member
Posts: 3
Joined: 20. August 2009 15:01

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by weave »

I think my issue is that the weather.php code was modified by the guy who already had zip code and his modified code was put in as the standard code....

Until I get some ideas, I removed all the code

Xmes
Active Member
Posts: 2
Joined: 6. May 2010 15:21
phpBB.com User: Xmes

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by Xmes »

Hello!

I don't find in the styles/prosilver/template/portal/portal_body.html and in the styles/subsilver2/template/portal/portal_body.html this code:

Code: Select all

<!-- IF S_DISPLAY_WELCOME -->
            <!-- IF S_DISPLAY_WELCOME_GUEST and S_USER_LOGGED_IN -->
            <!-- ELSE -->
                <!-- INCLUDE portal/block/welcome.html -->
            <!-- ENDIF -->
        <!-- ENDIF --> 
Where is this?

Where do I insert this html code:

Code: Select all

        <!-- Weather Start -->
            <!-- INCLUDE portal/block/weather.html -->
        <!-- Weather End -->   
Thank you!
User avatar

Marc
Dev
Posts: 2504
Joined: 17. July 2008 21:08
phpBB.de User: marc1706
phpBB.com User: Marc
Location: Clausthal-Zellerfeld / München
Contact:

Re: [EN] Weatherforecast with User ZIP code (weather.com)

Post by Marc »

styles/*yourstyle*/template/portal/portal_center.html
Locked

Return to “board3 Portal v1.0.x - Modifications”