Event start/end time

This topic contains 14 replies, has 3 voices, and was last updated by  Kiran 6 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #425737

    stepoutbuffalo
    Buyer
    Post count: 260

    Hi all!
    I’ve got the next issue in GD: when adding the same event’s start and end time for one-day event (e.g., 7th April, start time – 8pm, end time – 8 pm), the GD adds one more day to the event duration (please, see the links with screenshots: https://prnt.sc/j39d5h – from the admin panel, https://prnt.sc/j39dkf – from the frontend).
    I had found the place in the code where this functionality defined (please, check the attached screenshot).
    How can I fix it without deformation the plagin core?

    #425853

    Alex Rollin
    Moderator
    Post count: 27815

    I have flagged this for the developers to take a look. Thanks for bringing it to our attention.

    #425962

    stepoutbuffalo
    Buyer
    Post count: 260

    Also, there one more issue
    When user creates the Event from the front-end form and makes this event recurring, the Data Base save the start and end dates which user had set (https://prnt.sc/j3pl83 – please, see the screenshot). And these dates are shown on the event page correct.
    But when editing the event in the admin-panel, we can see that event became not recurring (see the screenshot – https://prnt.sc/j3pllw). So, when we update this event, the dates will be shown not correct.

    #426000

    Alex Rollin
    Moderator
    Post count: 27815

    This is already fixed and the fix will be in the next update.
    If you want to update patch on your site before next update then please provide us admin & FTP credentials in a private reply.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    FTP Credentials
    FTP Host:
    FTP Port:
    FTP User:
    FTP Password:

    #426228

    stepoutbuffalo
    Buyer
    Post count: 260

    Please, could you help me with one more question?
    How can I change expire_date during the creating/updating the event in the admin panel and on the front-end form?
    Using action geodir_after_save_listinginfo, in the admin panel, I get $ _POST data, so I can send $ _POST [‘event_end’] to expire_date. On the frontend, the action geodir_after_save_listinginfo completes after the form is submitted, and therefore $ _POST is empty.
    Thanks!

    #426230

    Alex Rollin
    Moderator
    Post count: 27815

    I will flag your question for a developer to see if they can provide you with a hook or action.

    #426232

    Kiran
    Moderator
    Post count: 7069

    Hello,

    To update expire date during insert/update event you can use hook https://wpgeodirectory.com/codex/codex/geodirectory_actions/geodir_after_save_listing/

    Kiran

    #426804

    stepoutbuffalo
    Buyer
    Post count: 260
    This reply has been marked as private.
    #426847

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #426890

    Kiran
    Moderator
    Post count: 7069

    Hello,

    I have updated patch on your site and now recurring event problem has been fixed.

    Thanks,
    Kiran

    #428317

    stepoutbuffalo
    Buyer
    Post count: 260
    This reply has been marked as private.
    #428427

    Kiran
    Moderator
    Post count: 7069

    Hello,

    The changes has been done in file \wp-content\plugins\geodir_event_manager\gdevents-admin\admin_functions.php and in function geodir_event_event_schedule_setting()

    You can overwrite this file in case you need to fix on other sites.

    Kiran

    #429557

    stepoutbuffalo
    Buyer
    Post count: 260

    Hello,

    we caught the images loading issue and recorded the video.
    Attaching the link to the DropBox file – https://www.dropbox.com/s/h46huk3sj05cro6/loading%20images.mov?dl=0

    When loading the page for the first time, we can see the spinner instead of the image under Event title (it can continuing a minute, and nothing changes). After refreshing the page everything loading fine

    #429588

    Alex Rollin
    Moderator
    Post count: 27815

    Please provide a link to the page and we will take a look.

    #429672

    Kiran
    Moderator
    Post count: 7069
Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount