Shortcodes¶
vBLink includes useful shortcodes to display related information about your vBulletin forum and users in your posts such as you can create links to the profile page of a user of display the title of your forum.

Contents
User¶
User shortcodes allows you to display information about a vBulletin user. You can either directly use the id
of a vBulletin user or provide an id
from one of the linked WordPress accounts.
All the shortcodes have the following set of attributes in common.
Name | Description |
---|---|
id | vBulletin user id. |
wp_id | WordPress user id. |
Attention
You should only use one of those attributes. If you provide both of them wp_id
will have priority over id
.
Username¶
Displays the username of a vBulletin user.
[vb_user_username id="1"]
Tip
You can use Profile Link shortcode to create a link to the user’s vBulletin profile page.
Profile Link¶
Creates a link to the profile of a vBulletin user. You can provide a custom text for the link, otherwise username will be used.
[vb_user_profile_link id="1"]
[vb_user_profile_link id="1"]My custom text[/vb_user_profile_link]
Avatar¶
Displays the avatar of a vBulletin user.
Name | Default | Description |
---|---|---|
use_placeholder | false | Display the default avatar if user doesn’t have one. |
width | original width | Width of the avatar. |
heigth | original height | Height of the avatar. |
[vb_user_avatar id="1" use_placeholder="true" width="50" height="50"]
Avatar URL¶
Displays the avatar URL of a vBulletin user.
Name | Default | Description |
---|---|---|
use_placeholder | false | Returns the URL of default avatar if user doesn’t have one. |
[vb_user_avatar_url id="1"]