Pending Review bugs

Home Forums Calendar Products Community Events Pending Review bugs

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #961244
    Eva
    Participant

    Hey guys,

    I’ve now installed the Community Events plugin and I have some questions, because I am not sure if it works like it should or if I made some wrong settings.

    1) After a contributor (someone logged-in) places an event, the admin gets an email about that. Thats fine. But if the admin clicks on the link in the email, the event is opened in the “normal” frontend edit-mode. But there is no possibility to publish it there. Normally this is what I expect when I clicks on the link. Does the admin always has to go to the wordpress dashboard to publish an pending event? Then I think it would be much better to get to the dashboard edit-mode via the link in the notification mail.

    2) As soon as the admin clicks on the link in the notification email and saves it, the event “belongs” to the admin and is deleted from the one who submitted the event originally. Please have a look at this issue. This is a big problem.

    3) If someone who is not logged in, clicks on the “add event” link, he gets to the login-screen. Thats fine. But after logging-in he gets redirected to the homepage and not to the url he originally clicked on. Is it possible to change these redirections?

    THANK YOU in advance for your help 🙂

    Eva

    #961345
    Brian
    Member

    Hi,

    Sorry for the issues.

    Let’s get to the bottom of these.

    1) Events
    If events are set to pending review or draft then on the front end you cannot publish you have to do that from the admin. It maybe possible to change that link in the email to review an event and that would bypass the ownership issue.

    2) Ownership
    It looks like clicking on the link does not take over ownership. If I click submit event on the front end I do take over the event. If I publish in the admin I do not take over the event.

    3) Login
    I find when I login using the Community Events Add Link:

    http://yoursite.com/events/community/add

    That I get taken right to the form on a successful login. So the login redirection maybe from your theme or a plugin, but it is not a standard feature of our plugins.

    Let me know what you find out.

    Thanks

    #961365
    Eva
    Participant

    Hey Brian,

    Thank you for your answers. Can you please tell me where and how to change the link in the notification email?
    I think this would be the best solution for the issues.

    Thanks again

    Eva

    #961366
    Eva
    Participant

    …and is it possible to write in the email WHO submitted the event?
    That would be awesome 😉

    #961426
    Brian
    Member

    Sure I can help out.

    First follow our themer’s guide to learn how to move and edit templates in your theme:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    Then find and move this file to your theme:

    the-events-calendar-community-events\views\community\email-template.php

    There you can replace this line:

    <h4><?php echo $this->getEditButton( $post, __( 'Review Event', 'tribe-events-community' ) ); if ( $post->post_status == 'publish' ) { ?> | ">View Event<?php } ?></h4>

    With this:

    https://gist.github.com/jesseeproductions/49ec468fac6e729c5a11

    That will show a link to edit in the backend and also show the username of the person who submitted.

    You can change the username (user_login ) to something else ( user_nicename? ) from the user profile from the fields listed here in the exmaple:

    https://codex.wordpress.org/Function_Reference/get_user_by

    Let me know how that works out.

    Thanks

    #962058
    Eva
    Participant

    Thanks so much for helping out! Works perfectly!

    #962072
    Brian
    Member

    Great glad it helps.

    I am going to close this ticket, but if you need anything else related to this topic or another please post a new topic on the forum and we can help you out.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Pending Review bugs’ is closed to new replies.