The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom user background/conditional to see if user customized his profile
Hello,
I got 2 questions. 1) I want to give certain users the ability to use a custum forum background on their profile page. The furthest I got was this: Code:
<if condition="$bbuserinfo['fieldx'] && $prepared['userid'] == $bbuserinfo['userid']"> <body style="background: $bbuserinfo[fieldx];"> <else /> <body style="background: #color;"> </if> Has anyone been able to do this? 2) Is there a conditional that shows if a member has customized his/her profile? Something like <if condition="$bbuserinfo['customizedprofile'] ></if> |
#2
|
|||
|
|||
Bump
|
#3
|
||||
|
||||
$bbuserinfo refers to the person viewing the page, not the person who's profile page you are on. You should try $userinfo instead.
Do a search on "customize" in the MEMBERINFO template and you'll see the code they use to display the Hide User Customizations code (it only shows if the user customized their profile). |
#4
|
|||
|
|||
Thanx for that! It worked!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|