Xplorer4x4
02-12-2007, 10:00 PM
As requested, this plug-in shows what skin users are using in their profile.
Place the following in your memberinfo template. It can go anywhere, but I have it before custom profile fields so if you want to do it like this then add:
<if condition="$user['stylename']">
<tr>
<td>
<strong>Style</strong>:<br />
$user[stylelink]
</td>
</tr>
</if>
And place it above
$customfields
You can change the variable in bold
$user[stylename] - The style name, eg. Smooth Blue
$user[styleid] - The style ID, eg. 13 (it's unlikely that you'll need this)
$user[styleurl] - The URL to the style, eg. /forum/showthread.php?t=133805&styleid=13
$user[stylelink] - A link to the style and the style name, eg. Smooth blue
The recommended code to put in your postbit/postbit_legacy templatebit is:
Style: $user[stylelink]
If you don't wish to have the skin name link to the skin, use:
Style: $user[stylename]
Please note: Due to the default behaviour of vBulletin, this will only show the skin set in the user's options, and not the skin chosen from the "Quick Style Chooser". You can fix this by installing Xoligy's other plug-in (https://vborg.vbsupport.ru/showthread.php?p=1137190) (highly recommended).
All credit goes to Xoligy for this hack. All I did was modify it to work in the memberinfo template.
Place the following in your memberinfo template. It can go anywhere, but I have it before custom profile fields so if you want to do it like this then add:
<if condition="$user['stylename']">
<tr>
<td>
<strong>Style</strong>:<br />
$user[stylelink]
</td>
</tr>
</if>
And place it above
$customfields
You can change the variable in bold
$user[stylename] - The style name, eg. Smooth Blue
$user[styleid] - The style ID, eg. 13 (it's unlikely that you'll need this)
$user[styleurl] - The URL to the style, eg. /forum/showthread.php?t=133805&styleid=13
$user[stylelink] - A link to the style and the style name, eg. Smooth blue
The recommended code to put in your postbit/postbit_legacy templatebit is:
Style: $user[stylelink]
If you don't wish to have the skin name link to the skin, use:
Style: $user[stylename]
Please note: Due to the default behaviour of vBulletin, this will only show the skin set in the user's options, and not the skin chosen from the "Quick Style Chooser". You can fix this by installing Xoligy's other plug-in (https://vborg.vbsupport.ru/showthread.php?p=1137190) (highly recommended).
All credit goes to Xoligy for this hack. All I did was modify it to work in the memberinfo template.