WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
Allow users to "Add location" without using dashboard (14 posts)

  1. jyoung2480
    Member
    Posted 2 years ago #

    I have anonymous submission allowed, but I would like for all of my buddypress members to be able to add a location, submit an event, and edit the event after submission from within the front end instead of the dashboard. How would I go about doing this?

    Currently, when they click on "Add a location," it attempts to send them to the dashboard, which I have blocked.

    Any suggestions?

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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you could change that link for now via templates http://wp-events-plugin.com/documentation/using-template-files/

    i agree that by default if BP is enabled links point to the BP pages though, will change this.

  3. jyoung2480
    Member
    Posted 2 years ago #

    Okay, so I need to change the link by editing the template to send them to a different page within BP, right?

    But what would I enter as the code for that page in order to give them the add location options?

    Is there a short code like you use for the create an event page?

    Thanks for the help!

  4. jyoung2480
    Member
    Posted 2 years ago #

    Actually, what I would really like to do is provide a buddypress page that looks exactly like the add event page in the admin.

    I tried creating a shortcode that would call the em_admin_event_page function, but when you view the page all you see is the shortcode. I'm not sure what I'm doing wrong.

    I love how everything looks and functions on the admin side and I want that to be available for my users.

    Thanks!

  5. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    there's all those pages within bp, if you check Events > My events in BP there should be an "Add Event" link on there.

  6. jyoung2480
    Member
    Posted 2 years ago #

    I guess I'm having trouble finding what you're referring to.

    Are you saying link them from the buddypress page to the add event page on the admin dashboard?

    I don't want any of my users to have to use the back end of my site. I want them to be able to use all of the functionality available on the dashboard, but make it available through a buddypress page so they never leave the front end.

    I know this is a weird request, but it would make all the difference for my site.

    Thanks again for the help and speedy replies!

  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    the links are on the BP admin bar and the BP profile pages. If you check it on a default theme you should see them.

  8. jyoung2480
    Member
    Posted 2 years ago #

    I totally see what you were trying to show me now. Once I switched to the default theme, everything worked as it was supposed to.

    However, what could be causing the child theme to keep the plugin from working correctly? I'd obviously really rather use the child theme, but we can't if it prevents the plugin from working correctly.

    When I'm using the child them the links show in the admin bar, but whenever you click on them it takes you to the the home page of the site instead of showing the plugin pages.

    Also, I have the "Use dropdown for locations?" setting set to no, but it seems like it isn't turning it off on the add event page. Any ideas? I don't want people to see a list of locations, unless I can limit them to only showing their own.

    Sorry for all the questions. I really do appreciate it!

  9. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    each theme is different, so can only go so far

    chances are you don't have the right buddypress files in that folder, if you try copying the members/single/plugins.php and groups/single/plugins.php from the parent to the theme it should work

  10. jyoung2480
    Member
    Posted 2 years ago #

    That was it! Thanks a ton.

    Now, for the "Use drop for locations?" issue, do you have any idea why it's still listing the locations when I select "no" as the setting?

    And is that all I would need to do in order to prevent other users from seeing all of the locations? I'm just worried about privacy concerns if, for example, someone listed their house as a location.

    Thanks again for all of the help!

  11. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    you need to uncheck the read_others_locations capability in your Events > Settings page.

    we didn't add the same location picker as with the admin area due to the extra JS clashes. however this is an area we'll revisit soon and make even better.

  12. enseignement
    Member
    Posted 2 years ago #

    Hi,

    I'm not using BP, just using multisite.
    However, I would like to achieve the same...
    Unfortunately /my-locations/add/ leads to 404 :(
    Is there a front-end version to add location to a post ?

  13. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 2 years ago #

    yes, it should work, do you get any php errors etc. with that?

  14. enseignement
    Member
    Posted 2 years ago #

    You can see it here :
    http://www.enseignons.be/actualites/activite-scolaire/

    Just got nothing else than a 404 page of wordpress.
    Benjamin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic