The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Ok, I know this is a simple mistake....
I know this is a simple mistake but I haven't coded anything with <else /> in a long time.
If you can tell by the code here: HTML Code:
<if condition="$bbuserinfo['field11']"> <dt class="shade">$vbphrase[usml_myspace]</dt> <dd><a href="http://www.myspace.com/$userinfo[field11]" target="_blank">$userinfo[field11]</a></dd> <else /> <dd>This user has not entered his MySpace Friend ID</dd> </if> |
#2
|
||||
|
||||
You can't have a <dd> tag without a <dt> tag.
|
#3
|
||||
|
||||
So then I would change to this?
HTML Code:
<if condition="$bbuserinfo['field11']"> <dt class="shade">$vbphrase[usml_myspace]</dt> <dd><a href="http://www.myspace.com/$userinfo[field11]" target="_blank">$userinfo[field11]</a></dd> <else /> <dt class="shade">$vbphrase[usml_myspace]</dt> <dd>This user has not entered his MySpace Friend ID</dd> </if> |
#4
|
||||
|
||||
That looks like it would work.... However, where are you displaying this? $bbuserinfo is the user viewing the page. If you are doing this on the profile page, you probably want to use $userinfo to display info about the user who's profile you are viewing. (You have $bbuserinfo in one place and $userinfo in another.)
|
#5
|
||||
|
||||
That is in the Memberinfo "Contact Info" tab.
I was guessing it was $userinfo too, we'll see if that works --------------- Added [DATE]1243123408[/DATE] at [TIME]1243123408[/TIME] --------------- Ok, that worked. I knew it was a simple mistake |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|