Forum Replies Created

Viewing 15 replies - 1 through 15 (of 109 total)
  • Plugin Author Bernhard Riedl

    (@neoxx)

    Hi tourmarketplace,

    Thanks for your interest in TimeZoneCalculator.

    Unfortunately that’s not possible. – Please find more information in this support forum post.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi again highgatecreative,

    I use PHP’s strtotime function in TimeZoneCalculator to retrieve the Unix timestamp for a given query_time.

    Here’s what the documentation says about this function:

    “Dates in the m/d/y or d-m-y formats are disambiguated by looking at the separator between the various components: if the separator is a slash (/), then the American m/d/y is assumed; whereas if the separator is a dash (-) or a dot (.), then the European d-m-y format is assumed. If, however, the year is given in a two digit format and the separator is a dash (-, the date string is parsed as y-m-d.

    To avoid potential ambiguity, it’s best to use ISO 8601 (YYYY-MM-DD) dates or DateTime::createFromFormat() when possible.”

    I’ve tested [timezonecalculator_output query_time="01/11/2017 8pm" query_timezone="America/New_York"] with PHP 7 and TimeZoneCalculator generates the timezone-block for the elevenths of January set in New York’s timezone.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi highgatecreative,

    Thanks for pointing that out. As the deprecation in this instance does not result in an error but should rather be seen as an information, I’ll remove these function calls in the next version of TimeZoneCalculator which I will commit around the WordPress 4.8 release.

    If you don’t want to wait until then, just replace all occurrences of get_currentuserinfo() with wp_get_current_user().

    My Best,
    Berny

    Forum: Plugins
    In reply to: [TagPages] Use for search
    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi mstudioIL,

    WordPress provides a full-text search for your posts and pages, although you can also browse your posts for example with categories and tags.

    This plugins enables tags for pages, because tags are by default only available for posts.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi scysys,

    That’s interesting. – I would need further insights, because the function head_meta() exists and works for me.

    On which page do you get this warning? Did you modify the plugin as follow up to your previous post?

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi Stephan,

    To display the current date and time for Amsterdam and New York within a post or page, you can add the following shortcode:

    [timezonecalculator_output timezones="Europe/Amsterdam\nAmerica/New_York"]

    Though, I’m sorry to tell you that TimeZoneCalculator does not include the functionality to calculate the difference of timezones with a shortcode. If you are in to do some coding, here’s a pointer to the PHP docs on UTC offsets.

    Hope that helps.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi scysys,

    Sorry, that’s not possible without changing the code.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi bnizette,

    Thanks for your feedback. And kudos for reporting this bug ??

    It seems that the conditional check for the Admin Bar has been changed in WordPress 4.4. I’ll release an update this weekend which will include the fix.

    Until then, if you want to suppress the warning message, you can either disable the option Display WordPress Clock in Admin Bar in the tab Administrative Options of TimeZoneCalculator’s settings page or set WP_DEBUG to false.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi Rusty,

    I’m not sure if I understand your question correctly. TimeZoneCalculator offers either the possibility to include calculations within a page or post content by the usage of shortcodes or the usage of widgets which you can drag and drop to defined places in your theme.

    In case your theme doesn’t support widgets at the desired position, you can also call the function directly. The implementation is different for every theme (maybe there’s an action or filter available) so it would be best to contact the theme author to get more details.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi mehdi.gpr,

    Thanks for your interest in TimeZoneCalculator.

    Unfortunately, that’s not an easy task. – Please have a look at that question. – I think that would cover your requirement.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi Nick,

    Thanks for using TimeZoneCalculator.

    Regarding your question, I recommend to keep the li-tags for semantic purposes, as you want to display a list inline. To format the list you can add some CSS.

    Here’s a simplified version of the code which can be inserted as Format of TimeZone-Entry:

    <li style="display:inline; margin-right:5px"><abbr title="%name">%abbreviation</abbr>: <span title="%name">%datetime</span></li>

    Please note that it’s no good practice to mix up markup and style-code, so you should convert your CSS-code to a class after you’re happy with the results. Moreover, the last child does not need a margin-right.

    Here’s a link which explains inline-styling of li-tags.

    Another possibility would be to use a special HTML character which would result in

    <abbr title="%name">%abbreviation</abbr>: <span title="%name">%datetime</span>

    whereas the space at the end is realized by a non-breaking space. Anyway, this method would create an extra space at the end of list.

    Hope that helps.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi again,

    Be sure that you click on Edit. – A short highlighting (green) of the timezone entry and the TimeZone form should occur. – After that you can update all changes with Save Changes.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi UserA1Biz,

    Thanks for using TagPages.

    If your theme doesn’t display tags for pages out of the box, please have a look on TagPages’ FAQs page, first question ‘How can I display the chosen tags on my pages?’ or contact your theme author.

    Hope that helps,

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi Peter,

    Thanks for your glowing review, I’m happy that you like TimeZoneCalculator.

    Unfortunately there’s no default method to suspend TimeZoneCalculator’s Ajax refreshes. As workaround you could add a condition in js/refresh.js, function timezonecalculator_refresh(params, query_params) which checks for the existence of the lightbox (e.g. look for some element with jQuery).

    if (!jQuery('#elemId').length) {
      jQuery.ajax ...
    }

    As you have mentioned, other lightboxes work. – I personally use the ThickBox version which is bundled with WordPress. – Please keep me updated in case you get a pointer by the guys of BuddyBoss Media.

    Hope that helps.

    My Best,
    Berny

    Plugin Author Bernhard Riedl

    (@neoxx)

    Hi CalamityJaneAgain,

    Thanks for using TimeZoneCalculator (and reading up on old support posts).

    Sure, it’s possible to change any labels.

    First of all you need to select the timezone which you want to edit in the Selection GUI section to adapt the entry in the TimeZone form. Then click on the arrow to show the details. Untick Use DB Abbreviations and enter UK in the fields Abbreviation Standard and Abbreviation Daylightsaving.

    My Best,
    Berny

Viewing 15 replies - 1 through 15 (of 109 total)