• Resolved benallgood

    (@benallgood)


    Is there a plugin that works in conjunction with Open User Map for registered users or members? If a registered user creates a location or multiple locations, it would be nice to have a user profile page that shows a listing of those. The user would also be able to add or edit their locations easily from their profile page. Visitors to that users profile page would be able to see that user’s locations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Daniel

    (@danielschoenherr)

    Hi @benallgood,

    That’s already possible. Checkout the Shortcode Guide where it describes content filtering by user. This is really powerful and would work with any member plugin. It does exactly what you’ve described.

    Best regards,
    Daniel

    Thread Starter benallgood

    (@benallgood)

    The only options I saw there were below. What I was wanting was for a visitor to see the listing of a user by variable (profile page). If a user had a profile page, there would be a link to view a map with that user’s location. That would use: user=”current”. But, if another user visited that link on that other member’s profile page, it would show their own locations instead of the locations for the profile page they were visiting. user-“123” would have to be hardcoded into each profile page.

    user=”current”
    user=”123″
    user=”role:subscriber”

    Plugin Support Daniel

    (@danielschoenherr)

    Hi @benallgood,

    Thanks for the clarification.

    You’re right:
    user="current" always shows the locations of the logged-in user. It does not automatically detect “the profile being viewed” on a member profile page.

    However:
    Most membership/profile plugins provide their own shortcode or template tag to output the profile owner’s user ID. You can simply insert that into the Open User Map shortcode.

    Example
    If your membership plugin has something like:

    [profile_user_id]

    You can use:

    [open-user-map user="[profile_user_id]"]


    This way, the map (or list) always shows the locations of the profile owner — no hardcoding required.


    Best regards,
    Daniel

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Complimentary User or Member plugin’ is closed to new replies.