Category Archives: USER SHORTCODES

Photo Grid

[usersultra_images_grid]

This Shortcode helps you to display the photo galleries.

Options:

OPTIONS DEFAULT ALTERNATIVES
searcher_type NULL advanced
photo_open_type NULL lightbox, single_page
box_border NULL rounded
box_shadow none shadow
display_photo_rating yes no, yes
display_photo_tags yes no, yes
display_photo_excerpt yes no, yes
display_photo_categories yes no, yes
display_photo_name yes no, yes
photos_per_page 8 any integer value
display_total_found yes yes or no
display_search_box yes yes or no

Example:

			
[usersultra_images_grid box_border='rounded' box_shadow='shadow' searcher_type='advanced' photo_open_type='lightbox']

Example 2. More Photos per page:

			
[usersultra_images_grid box_border='rounded' box_shadow='shadow'  photos_per_page='20' searcher_type='advanced' photo_open_type='lightbox']

Pricing Tables

[respo_pricing]

This Shortcode displays a pricing table.

Options:

OPTIONS DEFAULT ALTERNATIVES
color black green,black,red,blue
plan_id NULL Any plan ID you have created on the membership section.
pricing_decimals 2 0,1,2,3 etc etc
period_label on on or off
button_url Any custom URL
button_text Sign Up any text you wish to display
button_color green green,black,red,blue
class NULL any custom class you would like to add to your table

Example:

Copy&Paste Shortcode

The above code will help you to reproduce the pricing tables displayed in this page.

[one_fourth_first][respo_pricing plan_id="1" per="per month" button_text="Sign Up" button_color="blue" color="blue" button_target="self" button_rel="nofollow"]
<ul>
	<li>text</li>
	<li>text</li>
	<li>text</li>
	<li>text</li>
</ul>
[/respo_pricing][/one_fourth_first][one_fourth][respo_pricing plan_id="8" per="per month" button_text="Sign Up" button_color="blak" button_target="self" button_rel="nofollow" ]
<ul>
	<li>15GB Bandwidth</li>
	<li>350 MB Storage</li>
	<li>5 Domains</li>
	<li>4</li>
</ul>
[/respo_pricing][/one_fourth][one_fourth][respo_pricing plan_id="2" per="per month" button_text="Sign Up" button_color="green" color="green" button_target="self" button_rel="nofollow" ]
<ul>
	<li>25GB Bandwidth</li>
	<li>450 MB Storage</li>
	<li>7 Domains</li>
	<li>4</li>
</ul>
[/respo_pricing][/one_fourth][one_fourth_last][respo_pricing plan_id="10" per="per month" button_text="Sign Up" button_color="yellow" color="yellow" button_target="self"button_rel="nofollow" ]
<ul>
	<li>35GB Bandwidth</li>
	<li>550 MB Storage</li>
	<li>9 Domains</li>
	<li>4</li>
</ul>
[/respo_pricing][/one_fourth_last]

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

Protect Content

[usersultra_protect_content]

This Shortcode protects portions of contents bassed on logged in or membership.

Options:

OPTIONS DEFAULT ALTERNATIVES
logged_in_based NULL logged_in_based, membership_based, role_based, group_based
membership_id NULL the ID of the membership package separated by commas
custom_message_loggedin NULL “_blank” will display a blank message.
custom_message_membership NULL “_blank” will display a blank message.
ccap any user with these tags will be able to see the protected content. you can set the tags in the UU Users module.
roles NULL any role you wish to display the content to. Example: administrator, subscriber
custom_message_role NULL “_blank” will display a blank message.
groups NULL any group ID you wish to display the content to. Example: 1,3. You will find the group’s ID on the groups module.
custom_message_group NULL “_blank” will display a blank message.

Logged in based protection:

			
[usersultra_protect_content display_rule='logged_in_based' custom_message_loggedin='Only Logged in users can see the content']Your private content here [/usersultra_protect_content] 

Role based protection:

[usersultra_protect_content display_rule='role_based' roles='subscriber,administrator' custom_message_role='Only Subscribers can see the content']Your private content here [/usersultra_protect_content] 

Groups based protection:

[usersultra_protect_content display_rule='group_based' groups='2,4' custom_message_group='Only Users in this group can see the content']Your private content here [/usersultra_protect_content] 

Search Box

[usersultra_searchbox]

This Shortcode displays the search box.

Options:

OPTIONS DEFAULT ALTERNATIVES
fields NULL any profile field example: age, country
filters NULL any profile field example: age, country
custom_form NULL any custom profile form you have created through Users Ultra.
target_page_url NULL Usually your users directory page.
exclude_fields NULL any profile field example: age, country
operator AND AND, OR
use_in_sidebar NULL NULL, yes
users_are_called Users Any custom text: Users, members etc
combined_search_text type user name here Any text that will be displayed in the search box.
button_text Search Search, submit etc
reset_button_text Reset Any desired text.

Example:

			
[usersultra_searchbox filters='country,age' ]

Example 2. Searching on Custom Forms:

			
[usersultra_searchbox filters='country,age' custom_form='ddedgoe']

Example 3. Searching With Custom Meta Fields:

	
[usersultra_searchbox filters='country,age,c_de_custom8' custom_form='2mzi8']

Please note:  When searching on custom forms you have to set a valid custom_form value. The custom_form ID is giving by Users Ultra when creating it through the UU Dashboard.

Social Connection Buttons

[usersultra_social]

This Shortcode displays custom social buttons in your WordPress Theme.

Options:

OPTIONS DEFAULT ALTERNATIVES
provider NULL facebook,yahoo,google,twitter,linkedin,yammer

Example:

			
[usersultra_social provider='facebook,yahoo,google,twitter,linkedin,yammer']

Members Directory Minified

[usersultra_directory_mini]

This Shortcode displays the users directory minified.

Options:

OPTIONS DEFAULT ALTERNATIVES
template directory_mini directory_mini
container_width 100% any value in pixels or percentage
item_width 10% any value in pixels or percentage
item_height auto auto or any value in pixels
list_per_page NULL auto integer value
pic_type avatar avatar, profilepicture
pic_boder_type none none, rounded
pic_size_type dynamic dynamic, fixed
pic_size 100 any dimension in pixels. do not use “px”
optional_fields_to_display NULL any use’s profile field.
display_social yes yes, no
display_country_flag name flag, no,yes,only, both. “Only” won’t display name
display_total_found yes yes, no
display_total_found_text Users Any text, users, members, etc.
list_order DESC DESC, ASC

Example:

			
[usersultra_directory_mini list_per_page=8 optional_fields_to_display='' display_country_flag='only' pic_size=50 pic_boder_type='rounded']