Page 4 of 5

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

Posted: 26. March 2009 19:59
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.

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

Posted: 14. May 2009 22:06
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

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

Posted: 16. May 2009 00:44
by zappa84
*bump* :?

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

Posted: 19. May 2009 15:21
by zappa84
guys no help at all with this??

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

Posted: 19. May 2009 23:00
by Kevin
Link to your forum?

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

Posted: 20. May 2009 00:26
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..

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

Posted: 22. May 2009 00:50
by zappa84
it's me again.. did anybody figure out the problem?

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

Posted: 22. May 2009 07:37
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.

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

Posted: 27. May 2009 16:20
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

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

Posted: 25. January 2010 17:49
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

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

Posted: 11. February 2010 20:29
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');

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

Posted: 11. February 2010 23:06
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

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

Posted: 12. February 2010 16:16
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

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

Posted: 8. May 2010 11:21
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!

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

Posted: 8. May 2010 11:45
by Marc
styles/*yourstyle*/template/portal/portal_center.html