Category Archives: USER SHORTCODES

Members Directory

[usersultra_directory]

This Shortcode displays the users directory.

Options:

OPTIONS DEFAULT ALTERNATIVES
template directory_default directory_default, directory_table, directory_minified
exclude NULL Any user ID. You can add multiple IDs separated by commas. Example: 1,2,3
item_width 21% this is the width of each item or user in the directory
item_height auto auto or height in pixels
list_per_page 3 any integer value
pic_type avatar mainpicture, avatar
pic_boder_type none none, rounded
pic_size_type dynamic dynamic, fixed
pic_size 100 size in pixels of the user’s picture
optional_fields_to_display NULL NULL
display_social yes yes
display_country_flag name display flag, no,yes,only, both. Only won’t display name
display_total_found yes yes, no
display_total_found_text Users Any text: example, users, members etc
display_to_logged_in_only empty, null Yes, empty or null
display_to_logged_in_only_text Only logged in users can see this page Any text you wish to display to not logged in users
list_order DESC DESC, ASC
sort_by ID Any meta field
role NULL administrator, subscriber, author
relation NULL AND, OR

Example:

			
[usersultra_searchbox filters='country,age' ]

[usersultra_directory list_per_page=8 optional_fields_to_display='friend,social,country,description,rating' pic_boder_type='rounded' ]

Example 2 Custom Columns:

[usersultra_directory template='directory_table' header_tooltips='yes' columns='Avatar:avatar:1:this tooltip is optional,Name:display_name:1:Another tooltip is optional,Role:role:1:Optional Tooltip,Badges:badges:1, Rating:rating:1,Country:country:1,Age:age:0'  pic_boder_type='rounded' pic_size='50' display_total_found='no' list_per_page=4]

Please note:

The different columns should be specified as the following way: Name:display_name:1

The first value is the “label”, the second value is the “meta field”. The last one should be “0” or “1”. If you set it as “0” the column will be visible only for logged in users.

Registration Form

[usersultra_registration]

This Shortcode displays the users registration form.

Options:

OPTIONS DEFAULT ALTERNATIVES
redirect_to NULL any website URL
disable_social yes yes or no
form_header_text Sing Up any text you wish to use.
custom_text Blank any text you wish to display within the registration form.

Example:

			
[usersultra_registration]

Login Form

[usersultra_login]

This Shortcode displays the user login form.

Options:

OPTIONS DEFAULT ALTERNATIVES
redirect_to NULL any website URL
display_style NULL minified
rounded_border no no,yes
custom_registration_link null Any link you would like to take users to
disable_registration_link no yes,no
form_header_text Sing Up any text you wish to use.
custom_text Blank any text you wish to display within the login form.

Example:

			
[usersultra_login]

			
[usersultra_login display_style='minified'  rounded_border='yes']

Latest Users

[usersultra_users_latest]

This Shortcode can be used to display the latest registered users.

Options:

OPTIONS DEFAULT ALTERNATIVES
item_width 100%  
howmany 3  
pic_type avatar avatar or main picture
pic_boder_type none rounded
pic_size_type dynamic dynamic or fixed
pic_size 100 this value is in pixels
optional_fields_to_display   rating,country,social,likes
display_social yes  
display_country_flag name flag, no,yes,only, both. Only won’t display name

Example:

			
[usersultra_users_latest optional_fields_to_display='social' ] 

Top Rated Users

[usersultra_users_top_rated]

This Shortcode displays the top rated users.

Options:

OPTIONS DEFAULT ALTERNATIVES
item_width 25%  
howmany 3  
pic_type avatar avatar or main picture
pic_boder_type none rounded
pic_size_type dynamic dynamic or fixed
pic_size 100 this value is in pixels
optional_fields_to_display   rating,country,social,likes
display_social yes  
display_country_flag name flag, no,yes,only, both. Only won’t display name
box_border rounded  
box_shadow shadow  
display in-line  

Example:

			
[usersultra_users_top_rated optional_fields_to_display='rating,social,country'  display_country_flag='both'] 

Promote Users

[usersultra_users_promote]

This Shortcode can be used to promote uers by using the user’s ID.

Options:

OPTIONS DEFAULT ALTERNATIVES
users_list   user IDs separated by commas: Example: 1,3,5
item_width 100% this option accepts both, pixels and percentages
pic_type avatar avatar or mainpicture
pic_boder_type none none or rounded
pic_size 100 size in pixels of users avatar
pic_size_type dynamic dynamic or fixed
optional_fields_to_display rating country,description,social,country,rating,like,friend
display_social yes yes or no
display_country_flag name flag, no,yes,only, both. "only" won’t display name
display_latest_photos yes yes or no
display_latest_photos_size 90 size of the photos in pixels
display_latest_photos_howmany 8 how many photos to dispaly in the users spotlight
display_promote_desc   optional text to promote the user
display_promote_title   optional title
box_border rounded none or empy value
box_shadow shadow none
display in-line inline-block, inline, in-line

Example:

			
[usersultra_users_promote optional_fields_to_display='rating,social' users_list='59'  display_country_flag='both'] 

Featured Users

[usersultra_users_featured]

This Shortcode displays featured users by using the user’s ID.

Options:

OPTIONS DEFAULT ALTERNATIVES
users_list NULL Any user’s ID separated by commas
meta_key_to_search NULL Any meta field you’ve created with the fields customizer tool.
meta_keyword NULL Any value you wish to match with.
item_width 25%
howmany 3
pic_type avatar avatar or main picture
pic_boder_type none rounded
pic_size_type dynamic dynamic or fixed
pic_size 100 this value is in pixels
optional_fields_to_display rating,country,social,likes
display_social yes
display_country_flag name flag, no,yes,only, both. Only won’t display name
box_border rounded
box_shadow shadow
display in-line
list_order ASC ASC or DESC

Example:

			
[usersultra_users_featured users_list='55 , 59, 60' optional_fields_to_display='rating'] 

Example 2:

By using this shortcode you will be able to feature certain users that have a particular metadata.
Please note: Do not use users_list value when using this option.

			
[usersultra_users_featured meta_key_to_search='committee' meta_keyword='committee'] 

User Account

[usersultra_my_account]

This Shortcode displays the User’s Dashboard.

Options:

OPTIONS DEFAULT ALTERNATIVES
disable NULL account,myorders,wootracker,profile,profile-customizer, messages, friends,posts,photos,videos
custom_label_upload_avatar Upload Avatar Set your custom label/text for the Upload Avatar button.
avatar_is_called Avatar Set your custom “Avatar” text.
custom_registration_link null Any link you would like to take users to. This will be used when displaying the login form.
disable_registration_link no yes,no. This will be used when displaying the login form

Example:

			
[usersultra_my_account disable='profile-customizer,videos']

Most Visited Users

[usersultra_users_most_visited]

This shortcode displays the most visited users.

Options:

OPTIONS DEFAULT ALTERNATIVES
item_width 25%  
howmany 3  
pic_type avatar avatar or main picture
pic_boder_type none rounded
pic_size_type dynamic dynamic or fixed
pic_size 100 this value is in pixels
optional_fields_to_display   rating,country,social,likes
display_social yes  
display_country_flag name flag, no,yes,only, both. Only won’t display name
box_border rounded  
box_shadow shadow  
display in-line  
     

Example:

			
[usersultra_users_most_visited]

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']