Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Martin,

    You should be able to create links to the user’s profile. The following code is what we use for the live preview:

    [user-search login_necessary='No' search_fields='First Name' user_profile_page='http://www.etoilewebdesign.com/front-end-only-users-demo/user-profile-page/']

    In your case, you should add the last attribute to insert a link to the profiles.

    Hope this helps! πŸ™‚

    Etoile Web Design

    Thread Starter Martin

    (@speechless)

    yeah .. I figured it out.
    Though, is there any chance of showing the email address in the “user profile page” which in this case is the username the user are using for login?

    Also, the attribute login_necassary=”no” … what does it do?

    Thanks!

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Martin,

    You can just use the “display_field” attribute for that. For example:

    [user-search search_fields=’First Name’ display_field=’Email’]

    You can type the shortcode name and help (e.g. [user-search help) in any WordPress page to get a complete list of the shortcode’s attributes.

    Thread Starter Martin

    (@speechless)

    Yeah .. I got that!
    But, in the link that the user clicks when they search. They will come to the user profile when clicking the link. I need the email address to be shown in the user profile for the searched user!

    Thread Starter Martin

    (@speechless)

    Also .. the [user-search help doesn’t work.
    I tried to do the [user-search help]-command instead without any luck.

    Do I need to enter anything else after help?

    Thread Starter Martin

    (@speechless)

    It says

    search_fields is empty. Make sure to include an attribute.

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    The user profile page should show the email address by default. Did you, by any chance, use the “omit_fields” fields attribute in your [user-profile] shortcode?

    Try typing [user-search help in Text/HTML mode in the editor. Sometimes a conflict with the theme or another plugin makes it not work in Visual mode.

    Thread Starter Martin

    (@speechless)

    Or … to make it easier.
    Isn’t it even better to just add the Username in to the User Profile combined with all the other information of the user?

    Right now I have the registration set Yes for using the email address as username.
    So, this should be added to the user profile to show the users username when searching. In this case the email address will show!

    Thread Starter Martin

    (@speechless)

    The only thing I’ve added to the user profile page is, [user-profile].
    And it prints out what the user has entered in the registration form. But not the username which in this case is the email address.

    Thread Starter Martin

    (@speechless)

    omit_fields attribute? What is that?

    Thread Starter Martin

    (@speechless)

    Yeah .. help works in the html editor!

    But still … the username in the user profile?

    Thread Starter Martin

    (@speechless)

    The username shows in the Edit profile page, to clarify.
    I does not in the user profile which is clicked when searched.

    Sorry for a lot of messages.. Testing a lot right now!

    Plugin Contributor etoilewebdesign

    (@etoilewebdesign)

    Hi Martin,

    You are correct that the username does not currently show up on the user profile page. And since you have the email set as the username, that is why the email address doesn’t show on the user profile page.

    We will look into adding this in a future update.

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

The topic ‘Advance search’ is closed to new replies.