WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Remove Duplicate Event option (13 posts)

  1. Lydia Roberts
    Member
    Posted 10 months ago #

    Hi, I'd like to be able to remove the plus sign that allows people to duplicate an event. This functionality doesn't seem to work smoothly because if someone is not logged in, it takes you to a "not found" page. I'd like to simply remove this option entirely but since there is no css class on that td I am unable to remove it even by hiding it.
    Is there an option I missed in the settings to take this out?

    Thanks in advance.

    By the way here is the page where you can see a little orange plus sign: http://temp.evolv.com/transitionasheville.org/groups/water-action-group/events/

    http://wordpress.org/extend/plugins/events-manager/

  2. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Hi,

    You can edit the template used for that page here:
    /plugins/events-manager/templates/buddypress/group-events.php

    Be sure to check this tutorial for details of how to do it so changes aren't lost when the plugin is upgraded:
    http://wp-events-plugin.com/documentation/using-template-files/

  3. Lydia Roberts
    Member
    Posted 10 months ago #

    Thanks for your quick reply. I tried following along the example on that tutorial so I put the updated template file here:

    /wp-content/themes/zito-transitionavl/plugins/events-manager/templates/templates/buddypress/group-events.php

    I edited the file to remove the td but nothing is changing on the front end. Could this be because I'm using a child theme?

  4. angelo
    NetWebLogic Support
    Posted 10 months ago #

    I think your template path is wrong; should be something like /wp-content/themes/zito-transitionavl/plugins/events-manager/buddypress/group-events.php

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    btw, users should never see a list of events to edit in the first place if users aren't logged in, therefore not being able to see the duplicate link.

  6. Lydia Roberts
    Member
    Posted 10 months ago #

    I have tried a couple paths at this point and still no dice, but will keep trying and maybe move it to the parent theme. If I have to I'll just edit the plugin directly and make a note on what I changed.

    @Marcus I can see the duplicate link if not logged in. Is there a setting somewhere that has to be changed to get this to go away?

  7. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    Have you tried:

    /wp-content/themes/zito-transitionavl/plugins/events-manager/templates/buddypress/group-events.php ?

  8. Lydia Roberts
    Member
    Posted 10 months ago #

    @caimin_nwl Yes I did try that path which should be the correct one. I even tried putting it in the parent theme just to make sure it wasn't a child theme issue. I also tried updating some of the other template files like event-single.php and put it in its proper place with no luck.

    For some reason this method just isn't working as intended. I appreciate all the help but it looks like I will have to update directly on the plugin files.

  9. angelo
    NetWebLogic Support
    Posted 10 months ago #

    the correct path would be /wp-content/themes/zito-transitionavl/plugins/events-manager/buddypress/group-events.php

    http://wp-events-plugin.com/documentation/using-template-files/

  10. Lydia Roberts
    Member
    Posted 10 months ago #

    @angelo_nwl That worked!!!

    So the thing that's confusing to me about this is that group-events.php is located in a different place in the actual plugin directory:

    plugins/events-manager/templates/buddypress/

    however to make it work we had to put it here (in the theme directory):

    plugins/events-manager/buddypress/

    Why is that? That's what was throwing me off. It appears that there are two buddypress folders in the actual plugin.

    Thanks all.

  11. caimin_nwl
    NetWebLogic Support
    Posted 10 months ago #

    The first directory structure is intended to make it easier for plugin users to find the templates they want to copy and modify, without having to wade through the core plugin files.

    AFAIK, the second directory is the standard WordPress way of doing this type of thing. It allows other plugins to locate template files in /plugins/some-other-plugin/ etc..

  12. Lydia Roberts
    Member
    Posted 10 months ago #

    I'm used to creating child themes and having to copy the exact structure, so thanks for explaining this. I was able to update one of the other template files (events-list.php) by placing in this directory in my child theme:

    plugins/templates/events-list.php

  13. angelo
    NetWebLogic Support
    Posted 10 months ago #

    glad it's working now.

Reply

You must log in to post.

About this Plugin

About this Topic