Tag Archives: users

Custom Profile Fields

[usersultra_user_custom_meta_info]

This Shortcode displays custom user’s meta information. You can use this shortcode to display custom fields from the users.

Options:

OPTIONS DEFAULT ALTERNATIVES
user_id Current Logged in User ID Any user ID
fields_list NULL any meta field separated by commas. Examples: first_name:First Name
within_widget no “yes” or “no”. Set it to “yes” when using this shortcode within the profile widgets.
template table table, block, simple

Special meta keys:
user_nicename
user_email
user_registered
display_name
first_name
last_name
ID

Example:

			
[usersultra_user_custom_meta_info user_id='157' fields_list='first_name:First Name, last_name:Last Name']

Example 2:

Within a widdget. This example can be used in the User’s Widgets administrator.

[usersultra_user_custom_meta_info fields_list='first_name:First Name,last_name: Last Name, facebook:Facebook, twitter:Twitter, googleplus:Google' within_widget='yes']

Online Users

[usersultra_online_users]

This Shortcode displays Online Users

Options:

OPTIONS DEFAULT ALTERNATIVES
template basic mini, list
optional_fields_to_display NULL badges,country
display_country_flag NULL no,yes,only, both. “only” will display the flag without name. “both” will display name and blag

Example Basic Style:

			
[usersultra_online_users optional_fields_to_display='badges' item_width='26%']

Example Minified Users List:

			
[usersultra_online_users template='mini' pic_size='40']

Example Minified Users List 2:

			
[usersultra_online_users template='list' optional_fields_to_display='badges' pic_size='40']

CLICK HERE TO SEE EXAMPLES

I Can’t see User Profiles

This can be caused by different issues. Usually, it’s due a misconfiguration, these below are some tips that may help you to resolve it.

1)    WordPress Permalink Structure Settings:

1

2) Users Ultra Permalink Structure Settings:

Go to WordPress Settings – Permalink.

2
Users Ultra Pro uses different slugs for creating the user profile; the profile slug can be set by going to the “Permalink” tab. Please check the following screenshot.

For example:  if you profile’s URL looks like http://yourdomain.com/profile/user-name, then the profile slug should be set to “profile”, if you use a different slug for your profile’s URL please make sure to set the same slug in the “slug” box.

3) Very Important:

In this example we’ve created the page “View Profile” which has the slug “profile”.

Sin título

We have to set the same page we’ve just created in the Permalink tab. Make sure you’re using the same slug. If you used the slug “member-profile” then make sure that the page has that slug as well. They should match, otherwise you will get a 404 error.

2

User Profile

[usersultra_profile]

This Shortcode displays the user’s profile.

Options:

OPTIONS DEFAULT ALTERNATIVES
template profile there is only one template at this moment.
user_id You can use this option to display an specific user’s profile.
template_width 100%
pic_type shadow
pic_boder_type none rounded or none
pic_size_type dynamic dynamic fixed
pic_size 230 this is the width of the avatar. the size is in pixels
optional_fields_to_display country,description,social,country,rating,like,friend
media_options_exclude country,description,social,country,rating,like,friend
display_social yes leave it as empty if you don’t with to display social icons
display_country_flag name flag, no,yes,only, both
display_photo_rating yes yes or no
display_photo_description yes yes or no. This will display the photo description in the user’s profile
display_photo_title yes yes or no. This will display the photo title in the user’s profile
display_photo_title_on_profile yes yes or no. This will display the photo title in user’s profile widget
display_gallery_title_on_profile yes yes or no. This will display the gallery title in user’s profile widget
display_gallery_rating yes yes or no
display_private_message yes yes or no
gallery_type null lightbox
disable_navigation_bar yes yes,no

Example:

			
[usersultra_profile profile_fields_to_display='all'  display_country_flag= 'only' optional_fields_to_display='country,social,badges,like,rating']