add forecast from http://cz.windguru.com to my page

How to add forecast from http://cz.windguru.com to my page. Instructions of this here http://cz.windguru.com/int/help_index...

My site is http://xplnt.com
1 person has
this question
+1
Reply
  • Hi Alex,

    There's not a lot more I can add to the instructions that you gave me, but this is how I see it:
    • Using the link to the instructions that you provided, create an account with Windguru.
    • Click on "Forecasts for my website" and create the forecast that you want displayed on your site.
    • Refer back to their instructions on the link you provided- you will need to make use of the iFrame method. This means you will be given a piece of HTML code to insert on your Yola page.
    • Copy that code and paste it into a HTML widget that you have dragged onto the relevant page in your Yola sitebuilder.
    • Save and update your Yola site.


    You can add HTML by dragging and dropping an HTML Widget from the sidebar on the right onto your page (the icon for this is a blue sphere). An HTML editor will open up that will allow you to write or paste in your code. When you are done, click "OK" and you will see the way that the HTML displays on your page.

    Hope this helps!
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • In Text Document README for windguru.inc.php (version 1.6 beta) I see next:

    ============================================================
    REQUIREMENTS
    =============================================================

    - PHP support (tested with 4.3.10, but should work with older versions. PHP 5
    was not tested)

    - MySQL or PostgreSQL or at least one writable directory for caching the
    forecasts.

    =============================================================
    INSTALLATION
    =============================================================

    IF YOU ARE UPGRADING FROM PREVIOUS VERSION SEE 'UPGRADING' SECTION BELOW...

    1) On windguru.cz go to windguru user settings -> forecasts for webmasters
    section. Fill the form with forecasts options and configure up to 10 forecasts
    which you want to use on your website.

    2) Upload 'windguru.inc.php' and 'windguru.config.php' to directory which is
    specified in include_path in your php configuration (php.ini)

    3) Edit 'windguru.config.php' as needed. You have to decide which cache type
    you are going to use, you have 3 possibilites: mysql, postgresql or file. If
    you use 'mysql' for the cache, use 'mysql_tables.sql' to create the necessary
    tables in your database, if you use 'postgresql' use 'postgresql_tables.sql'.
    If you can't or do not want to use any database use 'file'. Depending on the
    type of cache you use, edit the appropriate options. If you use 'file' you need
    a directory where your webserver can write to / read from. See the comments in
    'windguru.config.php'

    4) Upload 'wg_images' directory (contains the GIFs with wind arrows, windguru
    logo, css etc..) to the same directory where are your PHP scripts which show the
    windguru forecasts.

    5) To test if it works, upload 'windguru_forecast_test.php' to the same
    directory where are your PHP scripts which show the windguru forecasts and try
    in your browser. You should see Spain - Tarifa forecast with windguru logo and
    information about the cache test.

    If you see the forecast as expected and cache test says OK then you are ready.
    If not check your configuration.

    IF YOU SEE THE FORECAST BUT CACHE TEST FAILS, DO NOT START USING THE SCRIPTS!
    (you could cause windguru server overload)

    6) After your test is succesfull include the forecasts to your PHP scripts
    using this:

    ...

    ...

    7) Link the windguru style sheet inside the section of your PHP forecast
    page like this:

    =============================================================
    UPGRADING
    =============================================================

    1) replace old windguru.inc.php with the new version of windguru.inc.php and copy
    the wg_images/wgstyle.css to your wg_images directory

    2) version 1.3 beta and above uses external style sheet to format the forecast,
    you need to include the style sheet inside the section of your PHP forecast
    page like this:

    When upgrading from version 1.0 you also need to:

    3) update your windguru.config.php
    (there is a new config variable $WG_config['lang'], you can set your default
    language with this)

    4) if you use database cache you must recreate the database tables with
    the new sql scripts (see 'postgresql_tables.sql' or 'mysql_tables.sql')

    =============================================================
    TROUBLESHOOTING
    =============================================================

    IF you see this PHP warning:
    "Warning: file(): URL file-access is disabled in the server configuration"
    make sure you have "allow_url_fopen = On" in your php.ini or use CURL download
    method instead (you can set this in windguru.config.php)

    If the forecast looks ugly, make sure you did include the style sheet - see
    Installation, 7)

    If you make changes to your forecast preferences in your windguru settings,
    it is possible that you will need to wait till the next model update to take
    effect

    =============================================================
    NOTES
    =============================================================

    - USE THE SCRIPTS AT YOUR OWN RISK! If your server burns down or your cat dies,
    it was your fault.

    - !!!! DO NOT EDIT 'windguru.inc.php' WITHOUT ASKING FOR PERMISSION !!!!

    - If you would like to modify/improve 'windguru.inc.php' mail to

    - Send bug reports to

    - If you have troubles mail to vhornik@seznam.cz

    - Please be patient when waiting for my answers.

    Contact: Vaclav Hornik
    Date: 19. 4. 2008
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated happy, confident, thankful, excited indifferent, undecided, unconcerned kidding, amused, unsure, silly

  • I made only this first step:

    1) On windguru.cz go to windguru user settings -> forecasts for webmasters
    section. Fill the form with forecasts options and configure up to 10 forecasts
    which you want to use on your website.

    ********

    How can I make second step? -
    "2) Upload 'windguru.inc.php' and 'windguru.config.php' to directory which is
    specified in include_path in your php configuration (php.ini)"

    Upload to file manager? Maybe not.... Can you give to me detailed direction like for greenhorn:)
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • Alex,sadly this cannot be done,As this requires you to upload PHP files.
    You cannot upload PHP files to yola for a bunch of reasons.
    Sorry to be the bearer of bad news.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • EMPLOYEE
    I’m sorry!
    Laura Thomas (Social Media Coordinator) May 24, 2010 22:16
    Hi Alex,

    John Mc is correct. Sorry we missed this requirement in the initial review of your inquiry.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited

  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned kidding, amused, unsure, silly sad, anxious, confused, frustrated happy, confident, thankful, excited