Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Tony Hayes

    (@majick)

    Hi @paok1926,

    That is a strange one, we should definitely get to the cause of this, have not seen anything like that happen in any of our testing.

    I can confirm your shift times are all there and being retrieved fine, but it could be possibly related to something in the time calculation for the hour start and end in each table cell, though again that is working fine elsewhere…

    If you can replace the file /wp-content/plugins/radio-station/templates/master-schedule-table.php with this copy from the develop branch, I have uncommented some debug lines that will help me check whether that is the cause:
    https://raw.githubusercontent.com/netmix/radio-station/develop/templates/master-schedule-table.php

    Also note for future reference the format for shortcodes is [master-schedule show_image="1" show_djs="1" view="table"] but you don’t need the view=”table” as that is the default anyway.

    As is seems to relate to the hours in the table, I’d suggest you could adding the tabbed view shortcode to the page in the meanwhile also.

    Plugin Contributor Tony Hayes

    (@majick)

    Just another thought, if you could check your server time compared to your WordPress timezone and Radio Station timezone and provide that information, it may help shed light on whether there is some kind of time calculation conflict going..

    Thread Starter paok1926

    (@paok1926)

    Thread Starter paok1926

    (@paok1926)

    as you can see here, my php timezone is europe/athens
    https://thessradio.net/korkor.php

    and everywhere the timezone is europe/athens

    Plugin Contributor Tony Hayes

    (@majick)

    @paok1926 Thanks for confirming that. Glad it’s not a servr time issue!

    Further investigation has confirmed the initial analysis, a bug where the translated hour label (along with the translated am/pm strings) was being used in calculations instead of the raw hour value.

    This means that it would affect anyone using a combination of 12 hour format display and a different language locale than English, which explains why we missed it in testing. (The 24 hour format display would be unaffected as it does contain am/pm in the time format string.)

    I have pushed a fix to develop (for inclusion in 2.3.1 release) and you can repeat the procedure of downloading the same template file again and replacing it (make sure you refresh the page to bypass your browser cache and get the new copy, you can check it contains a new $hour_display variable.)

    I’ve opened an bugfix issue for reference on GitHub:
    https://github.com/netmix/radio-station/issues/180

    Thanks again for the early reporting on this one. If you can confirm this fix worked for you, we can mark this as resolved.

    Thread Starter paok1926

    (@paok1926)

    it works, the table is ugly (left column is very large) but it works..
    https://thessradio.net/%cf%80%cf%81%cf%8c%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1/

    Plugin Contributor Tony Hayes

    (@majick)

    You can style the table however you wish with the available element classes.
    We have intentionally kept it generic and minimal styling so that existing theme styles are honoured through inheritance. Of course those can be built upon with further CSS.

    For example, soemthing like this will reduce the first column to minimal:
    #master-program-schedule tr th {width: auto;}

    Plugin Contributor Tony Hayes

    (@majick)

    I have added this style change to the next release, it seems to be a style issue present in Firefox but not Chrome.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘after update empty program..’ is closed to new replies.