![]() |
I think this is a 5 min job for a smart PHP'er!
I want to display a certain html table on someones user profile ONLY if they've entered something in a certain custom profile feild.
Thanks. |
um, that does not explain much, maybe more detail?
|
<if condition="$profile[fieldX]">
Html code </if> |
Quote:
The ID of this custom feild is 6, do I need to change profile to something else? |
$profile[field6]
|
it should look like $profile[field6]
Make sure you are using the actual field ID number and not the Sort display number. also make sure you have something in that profile field. |
The ID is definetly 6 and it's order is 5.
http://www.gamernade.com/forums/members/picodeath.html Quote:
Which has something in it, so it should show.. no? |
Why don't you tell us exactly what template you are adding this to and post the exact code you are using (and a little around it so we can see where you are posting it).
|
MEMBERINFO > MEMBERINFO
Quote:
|
Change this:
HTML Code:
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> HTML Code:
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> |
All times are GMT. The time now is 03:02 AM. |
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:
|