Your Time:
Our Time:
← Back to discussions

Can't hide holidays on front end

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 13 replies, 3 voices, and was last updated 10 years, 12 months ago by Fem.

  • 2015-09-14 at 10:33 am
    #9637
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    If you can provide us FTP details and also WP Logins to your website with URL then we can take a closer look at it. Make sure you set the post as private reply so that only admin can see your wp-logins.

    2015-09-14 at 3:51 pm
    Support Expired
    #9641
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    Currently this is only on a local VM. The best I can probably do is the same as last time (TeamViewer connection).
    Would that be OK?

    2015-09-15 at 12:23 pm
    #9653
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Hi,

    You can come on Skype. So that we can share the screen and it is easy for us to communicate.

    Our Skype Id: support-aws

    2015-09-15 at 4:47 pm
    #9664
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Please find the following path.

    path: iva-business-hours-pro/assets/js

    And replace it with the given attachment file.

    2015-09-16 at 5:22 pm
    Support Expired
    #9690
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    That didn’t work. This is from the same section in the db now:

    {“name”:”4th of July”,”start”:1435968000,”end”:1435968000,”desc”:””,”desc_disable”:”o”}
    {“name”:”Thanksgiving”,”start”:1448496000,”end”:1448496000,”desc”:””,”desc_disable”:”f”}
    {“name”:”Christmas”,”start”:1450915200,”end”:1450915200,”desc”:””,”desc_disable”:”f”}

    I can see in your code (iva-bhrs-holidays.php line 62) that you are looking for “on” “if( $desc_disable != ‘on’ )” to compare if the holiday should be displayed or not. If you look at my first post the word “on” is there but it is spread out over two entries.

    If you look at the new excerpt above the word “off” is spread out over three entries.

    To test this, I can select to hide a holiday, click save, then click somewhere else on the admin menu, then back to the holidays and the holiday won’t be checked.

    2015-09-16 at 5:38 pm
    #9691
    Anonymous
    Inactive
    • Topics: 0
    • Replies: 3227
    • Total posts: 3227
    • Post count: 0

    Hi,

    You can come on Skype. So that we can share the screen and it is easy for us to communicate.

    Our Skype Id: support-aws

    2015-09-16 at 6:28 pm
    Support Expired
    #9693
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    OK. If we’re going to do the Skype thing then I just came across another issue. When attempting to create new hours this error is displayed directly above the description box:

    Notice: Undefined variable: iva_bh_desc in C:\Program Files (x86)\Ampps\www\wp-content\plugins\iva-business-hours-pro\iva-business-hours-pro.php on line 969

    I’ll try to plan a time when you’re support is online.

    2015-09-16 at 9:25 pm
    Support Expired
    #9696
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47
    This reply has been marked as private.
    2015-09-18 at 12:18 pm
    #9722
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Hi danfeeley,

    Now it’s working.

    Regards,
    krishnaveni

    2015-09-18 at 2:22 pm
    Support Expired
    #9737
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    Thank you, I can now hide holidays on the front end but there are still a couple of other problems that I listed above. Would you prefer them in separate support threads?

    When creating hours:
    Notice: Undefined variable: iva_bh_desc in /wp-content/plugins/iva-business-hours-pro/iva-business-hours-pro.php on line 969

    Holidays that contain and apostrophe show the escape “\” character on the front end
    And everytime you click save in settings it adds another “\” on the front-end.

    2015-09-18 at 3:23 pm
    #9739
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    it’s working fine now please can you check.please provide the screen short where exactly errors are showing.

    • This reply was modified 10 years, 12 months ago by Fem.
    2015-09-18 at 4:55 pm
    Support Expired
    #9742
    danfeeley
    Participant
    • Topics: 16
    • Replies: 40
    • Total posts: 56
    • Post count: 47

    Thank you for fixing those. It appears to all be working now.
    Do you know if an updated version of the plugin (with all the fixes) will be released anytime soon?

    There was a another issue that they fixed on my local machine that I don’t believe is on the server.

    2015-09-21 at 10:41 am
    #9759
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    Hi danfeeley,

    definitely we will update this plugin very soon…

    Regards,
    krishnaveni

You must be logged in to reply to this topic.