I've added an area to the memberinfo stats block, that shows some images (from a petz hack).
I wanted to create a profile field for something like:
Display member's virtual petz yes/no
and if set to yes, you can see everyone's petz, if no, you don't see any petz
- I tried this, from an old conditional, but it doesn't seem to be working - any ideas for tweaking it?
1. I created a profile field, a single-selection radio button with yes no choices
2. I noted the field number, then went into the memberinfo template, with the if starting above the petz image code, and the end if below, but it gives me an error saying it is missing a beginning if tag.
if ($bbuserinfo['field56'] == 'Yes')
{
the code to show the virtual petz is here
}
it gives me an error - any ideas?
I wanted to create a profile field for something like:
Display member's virtual petz yes/no
and if set to yes, you can see everyone's petz, if no, you don't see any petz
- I tried this, from an old conditional, but it doesn't seem to be working - any ideas for tweaking it?
1. I created a profile field, a single-selection radio button with yes no choices
2. I noted the field number, then went into the memberinfo template, with the if starting above the petz image code, and the end if below, but it gives me an error saying it is missing a beginning if tag.
if ($bbuserinfo['field56'] == 'Yes')
{
the code to show the virtual petz is here
}
it gives me an error - any ideas?
Comment