• Hi and thanks for this useful plugin!
    How do you add tags using buddypress frontend ? I see no tag input in the Add/Edit form…
    Admin area is not accessible to users.

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    Glad you’re enjoying the plugin.

    To do that you’d need to create a custom version of this template:
    /events-manager/templates/forms/event-editor.php

    This tutorial explains how to create custom templates that are upgrade-safe:
    https://wp-events-plugin.com/documentation/using-template-files/

    Thread Starter Georgio

    (@georgio-1)

    Thanks for your response.

    To do that you’d need to create a custom version of this template:
    /events-manager/templates/forms/event-editor.php

    In the above file, I tried to imitate the attributes/categories pattern without success, because I don’t know which tag template to call:

    <div class="event-extra-details">
     <?php if(get_option('dbem_attributes_enabled')) { em_locate_template('forms/event/attributes-public.php',true); }  ?>
     <?php if(get_option('dbem_categories_enabled')) { em_locate_template('forms/event/categories-public.php',true); }  ?>
     <?php if(get_option('dbem_tags_enabled')) { em_locate_template('???????.php',true); }  ?>
    </div>
    

    Any help?

    • This reply was modified 8 years, 5 months ago by Georgio.

    You’d need to create a copy of this file

    events-manager/templates/forms/event/categories-public.php

    but edited to use tags instead of categories.

    You’d then need to include the new file in the main template using something like

    em_locate_template('forms/event/tags-public.php',true);

    Thread Starter Georgio

    (@georgio-1)

    It doesn’t work and it couldn’t. Categories are set by the admin, so in the event form (add/edit an event) there is a multiselect area a user can choose from, while Tags are created by the user and, with the time, they can become many hundreds. So a text input is needed instead of a multiselect thing.

    When I tested, a multiselect area was created that didn’t include the tags I had created in the admin area and it created also a bug: the booking part of the form disappeared and the sidebar of my site as well. So it needs the correct code but I am not a developer.

    As buddypress has 200,000 installations and a frontend which manages everything, I think it is a good idea to add this feature in the future.

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Tags with buddypress frontend’ is closed to new replies.