Helpful Information
 
 
Category: vBulletin 3.5
Forum Skin in Profile

This adds which style the member is using to browse the forums in his profile.

It will only get styles chosen in the UserCP. The "quick style chooser" saves the style in cookies, so its impossible to get it.

It adds a query to member.php.

Installation
- Install "Forum Skin in Profile 0.2.xml" plugin
- Edit MEMBERINFO template

find

<if condition="$show['usernotes']">

add before

<div class="fieldset">
<div style="padding:$stylevar[formspacer]px">
Forum Skin: $userstyle
</div>
</div>

Change to "Style" if you dont like calling it a "Forum Skin".


plugin "Forum Skin in Profile 0.2" in "member_complete"

if ($userinfo['styleid'] != 0) {
$title = $db->query_first("SELECT title FROM ".TABLE_PREFIX."style WHERE styleid = ".$userinfo['styleid']);
$userstyle = '<a href="index.php?styleid='.$userinfo['styleid'].'">';
$userstyle .= $title['title'];
$userstyle .= '</a>';
} else {
$userstyle = '<em>default</em>';
}

screen please :)

when I saw your name in last post I knew the message :)

when I saw your name in last post I knew the message :)

lol :p

Héhé, the problem is that often converters do not put a screen, but for the foreign languages as mine, it is sometimes difficult to understand some hack without screen, thank you for your understanding Dream ;)

small update to do the query just when needed

no problem, added a screenshot

small update to do the query just when needed

no problem, added a screenshot

thanks ;)

I installed in RC1, it's just showing 'default' whichever skin I choose [as admin] - it seems to work for regular users.

I installed in RC1, it's just showing 'default' whichever skin I choose [as admin] - it seems to work for regular users.

you have to choose the skin in your usercp, choosing the style with the quick style chooser doesnt work, as stated in the first post.

Ah right, thanks. I didn't even know you could choose it in the UserCP.

/me installs

Thanks for sharing.. Install clicked


How can I implement 'Forum Skin: $userstyle' in my postbit' ??

Thanks
Ad

Thanks for sharing.. Install clicked


How can I implement 'Forum Skin: $userstyle' in my postbit' ??

Thanks
Ad

http://www.vbulletin.org/forum/showthread.php?s=&threadid=92009

http://www.vbulletin.org/forum/showthread.php?s=&threadid=92009

Thanks Dream.... did overlook that one :rolleyes:

cool.

It's not showing any result.

Besides what do you mean by "plugin "Forum Skin in Profile 0.2" in "member_complete"" ?

What am I supposed to do?

Thanks










privacy (GDPR)