![]() |
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']"> 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> |
Bump
|
$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). |
Thanx for that! It worked!
|
All times are GMT. The time now is 07:11 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|