PDA

View Full Version : Profile Enhancements - Skin view In Profile


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.

Xplorer4x4
02-13-2007, 07:47 PM
Reserved.

projectego
02-13-2007, 07:54 PM
Thank you!

/me clicks install

gforce75
05-28-2007, 01:11 AM
Thanks for the hack!

Aimee1969
05-28-2007, 02:11 AM
What am I doing wrong...It just says default.
No matter what skin I am using???

Xplorer4x4
06-02-2007, 01:14 PM
What am I doing wrong...It just says default.
No matter what skin I am using???

Did you do this:
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).