Post by Sylvia Wolf on Nov 20, 2016 13:31:06 GMT -8
Hello I seem to be having a problem with custom profile fields on a custom theme. It's not showing up and I've added the mini_ to everything that needed it. The custom profile fields match the words in the code, yet nothing is showing still. Can you help me? Here is the code:
<!-- PROFILE HOVER BY TRINITY BLAIR OF ADOXOGRAPHY, DO NOT STEAL -->
<div class="mini_profile"><div class="profilemini2">
{if $[user.is_staff]}
<div class="mini-name">$[user]</div>
<div class="mini-group-color" style="background-color:#{if $[user.group]}$[user.group.color]{else}$[user.rank.color]{/if};">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</div>
<div class="my_avatar" width="222px" height="352px" align="center">$[user.avatar]</div>
<div class="profilemini">
<div class="info">
<table width="100%">
<!-- THIS IS THE INNER TABLE WITH THE WHITE BACKGROUND, IF YOU WANT TO ADD ANYTHING INTO THIS TABLE DO IT AFTER THIS DIV -->
<div class="mini-inner">
<!-- BEGIN INSIDE HOVER STUFF BELOW -->
<center>
<div class="mini-online">{if $[user.is_online]}<strong>USER IS ONLINE</strong>{else}<em>USER IS OFFLINE</em>{/if}</div>
<div class="mini-gif">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "200x100 GIF"}
<span class="$[user.mini_custom_field.content_class]">
<img src="$[user.mini_custom_field.value]" /></span>
{/if}
{/foreach}
</div>
<div class="mini-charage"><strong>$[user.age]<font size="1"><br />Years<br />Old</font></strong></div>
<div class="mini-gender"><strong>$[user.gender.text]</strong></div><br />
<div class="mini-charsex">
<a href="$[user.pm_href]"><strong>PM Me</strong></a>
</div>
<br clear="all">
<div class="mini-status2">$[user.personal_text]</div>
<div class="mini-music2">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Music"}
<div class="player"><object width="200" height="20" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" type="application/x-shockwave-flash">
<param value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" name="movie">
<param value="#202020" name="bgcolor">
<param value="mp3=$[user.mini_custom_field.value]&bgcolor=202020&loadingcolor=383838&buttoncolor=d8d8d8&slidercolor=6b667d;" name="FlashVars">
</object></div>
{/if}
{/foreach}
<div class="filler" style="width:200px;height:20px;background-color:#202020;"></div>
</div>
</center>
<!-- END INSIDE HOVER STUFF -->
</div>
<!-- THIS IS THE END OF THE WHITE INNER TABLE CODE SO DON'T ADD ANYTHING BELOW THIS LINE UNLESS YOU WANT SOMETHING NOT TO APPEAR IN THE WHITE TABLE -->
</table>
</div>
</div>
<br clear="all" />
<div class="mini-posts"><font color="#949494">$[user.posts]</font> {if $[user.posts] == 1}POST{else}POSTS{/if} & <font color="#949494">$[user.likes]</font> {if $[user.likes] == 1}LIKE{else}LIKES{/if}</div>
{elseif $[user.is_member]}
<div class="mini-name">$[user]</div>
<div class="mini-group-color" style="background-color:#{if $[user.group]}$[user.group.color]{else}$[user.rank.color]{/if};">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</div>
<div class="my_avatar" width="222px" height="352px" align="center">$[user.avatar]</div>
<div class="profilemini">
<div class="info">
<table width="100%">
<!-- THIS IS THE INNER TABLE WITH THE WHITE BACKGROUND, IF YOU WANT TO ADD ANYTHING INTO THIS TABLE DO IT AFTER THIS DIV -->
<div class="mini-inner">
<!-- BEGIN INSIDE HOVER STUFF BELOW -->
<center>
<div class="mini-online">{if $[user.is_online]}<strong>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Alias"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
IS ONLINE</strong>{else}<em>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Alias"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
IS OFFLINE</em>{/if}</div>
<div class="mini-gif">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "200x100 GIF"}
<span class="$[user.mini_custom_field.content_class]">
<img src="$[user.mini_custom_field.value]" /></span>
{/if}
{/foreach}
</div>
<div class="mini-charage"><strong>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Character Age"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
<font size="1"><br />Years<br />Old</font></strong></div>
<div class="mini-gender">$[user.gender.text]</div><br />
<div class="mini-charsex">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Sexuality"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
</div>
<br clear="all">
<div class="mini-status">$[user.personal_text]</div>
<div class="mini-applot">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "PLOTTER"}
<span class="$[user.mini_custom_field.content_class]">
<a href="$[user.mini_custom_field.value]">PLOTTER</a></span>
{/if}
{/foreach}
</div>
<br clear="all">
<div class="mini-music">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Music"}
<div class="player"><object width="200" height="20" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" type="application/x-shockwave-flash">
<param value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" name="movie">
<param value="#202020" name="bgcolor">
<param value="mp3=$[user.mini_custom_field.value]&bgcolor=202020&loadingcolor=383838&buttoncolor=d8d8d8&slidercolor=6b667d;" name="FlashVars">
</object></div>
{/if}
{/foreach}
<div class="filler" style="width:200px;height:20px;background-color:#202020;"></div>
</div>
</center>
<!-- END INSIDE HOVER STUFF -->
</div>
<!-- THIS IS THE END OF THE WHITE INNER TABLE CODE SO DON'T ADD ANYTHING BELOW THIS LINE UNLESS YOU WANT SOMETHING NOT TO APPEAR IN THE WHITE TABLE -->
</table>
</div>
</div>
<br clear="all" />
<div class="mini-posts"><font color="#949494">$[user.posts]</font> {if $[user.posts] == 1}POST{else}POSTS{/if} & <font color="#949494">$[user.likes]</font> {if $[user.likes] == 1}LIKE{else}LIKES{/if}</div>
{else}
<div class="mini-name">$[user]</div>
<div class="mini-group-color">GUEST</div>
<div class="my_avatar" width="222px" height="352px" align="center"><img src="http://placehold.it/220x350" /></div>
{/if}
</div></div>
<!-- END PROFILE HOVER BY TRINITY BLAIR OF ADOXOGRAPHY, DO NOT STEAL -->
Can someone please help me? I've been trying this for more than 4 hours now.. No matter what I try I just can't figure it out.
<!-- PROFILE HOVER BY TRINITY BLAIR OF ADOXOGRAPHY, DO NOT STEAL -->
<div class="mini_profile"><div class="profilemini2">
{if $[user.is_staff]}
<div class="mini-name">$[user]</div>
<div class="mini-group-color" style="background-color:#{if $[user.group]}$[user.group.color]{else}$[user.rank.color]{/if};">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</div>
<div class="my_avatar" width="222px" height="352px" align="center">$[user.avatar]</div>
<div class="profilemini">
<div class="info">
<table width="100%">
<!-- THIS IS THE INNER TABLE WITH THE WHITE BACKGROUND, IF YOU WANT TO ADD ANYTHING INTO THIS TABLE DO IT AFTER THIS DIV -->
<div class="mini-inner">
<!-- BEGIN INSIDE HOVER STUFF BELOW -->
<center>
<div class="mini-online">{if $[user.is_online]}<strong>USER IS ONLINE</strong>{else}<em>USER IS OFFLINE</em>{/if}</div>
<div class="mini-gif">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "200x100 GIF"}
<span class="$[user.mini_custom_field.content_class]">
<img src="$[user.mini_custom_field.value]" /></span>
{/if}
{/foreach}
</div>
<div class="mini-charage"><strong>$[user.age]<font size="1"><br />Years<br />Old</font></strong></div>
<div class="mini-gender"><strong>$[user.gender.text]</strong></div><br />
<div class="mini-charsex">
<a href="$[user.pm_href]"><strong>PM Me</strong></a>
</div>
<br clear="all">
<div class="mini-status2">$[user.personal_text]</div>
<div class="mini-music2">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Music"}
<div class="player"><object width="200" height="20" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" type="application/x-shockwave-flash">
<param value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" name="movie">
<param value="#202020" name="bgcolor">
<param value="mp3=$[user.mini_custom_field.value]&bgcolor=202020&loadingcolor=383838&buttoncolor=d8d8d8&slidercolor=6b667d;" name="FlashVars">
</object></div>
{/if}
{/foreach}
<div class="filler" style="width:200px;height:20px;background-color:#202020;"></div>
</div>
</center>
<!-- END INSIDE HOVER STUFF -->
</div>
<!-- THIS IS THE END OF THE WHITE INNER TABLE CODE SO DON'T ADD ANYTHING BELOW THIS LINE UNLESS YOU WANT SOMETHING NOT TO APPEAR IN THE WHITE TABLE -->
</table>
</div>
</div>
<br clear="all" />
<div class="mini-posts"><font color="#949494">$[user.posts]</font> {if $[user.posts] == 1}POST{else}POSTS{/if} & <font color="#949494">$[user.likes]</font> {if $[user.likes] == 1}LIKE{else}LIKES{/if}</div>
{elseif $[user.is_member]}
<div class="mini-name">$[user]</div>
<div class="mini-group-color" style="background-color:#{if $[user.group]}$[user.group.color]{else}$[user.rank.color]{/if};">{if $[user.group]}$[user.group.name]{else}$[user.rank.name]{/if}</div>
<div class="my_avatar" width="222px" height="352px" align="center">$[user.avatar]</div>
<div class="profilemini">
<div class="info">
<table width="100%">
<!-- THIS IS THE INNER TABLE WITH THE WHITE BACKGROUND, IF YOU WANT TO ADD ANYTHING INTO THIS TABLE DO IT AFTER THIS DIV -->
<div class="mini-inner">
<!-- BEGIN INSIDE HOVER STUFF BELOW -->
<center>
<div class="mini-online">{if $[user.is_online]}<strong>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Alias"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
IS ONLINE</strong>{else}<em>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Alias"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
IS OFFLINE</em>{/if}</div>
<div class="mini-gif">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "200x100 GIF"}
<span class="$[user.mini_custom_field.content_class]">
<img src="$[user.mini_custom_field.value]" /></span>
{/if}
{/foreach}
</div>
<div class="mini-charage"><strong>
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Character Age"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
<font size="1"><br />Years<br />Old</font></strong></div>
<div class="mini-gender">$[user.gender.text]</div><br />
<div class="mini-charsex">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Sexuality"}
<span class="$[user.mini_custom_field.content_class]">
$[user.mini_custom_field.value]</span>
{/if}
{/foreach}
</div>
<br clear="all">
<div class="mini-status">$[user.personal_text]</div>
<div class="mini-applot">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "PLOTTER"}
<span class="$[user.mini_custom_field.content_class]">
<a href="$[user.mini_custom_field.value]">PLOTTER</a></span>
{/if}
{/foreach}
</div>
<br clear="all">
<div class="mini-music">
{foreach $[user.mini_custom_field]}
{if $[user.mini_custom_field.name] == "Music"}
<div class="player"><object width="200" height="20" data="http://flash-mp3-player.net/medias/player_mp3_mini.swf" type="application/x-shockwave-flash">
<param value="http://flash-mp3-player.net/medias/player_mp3_mini.swf" name="movie">
<param value="#202020" name="bgcolor">
<param value="mp3=$[user.mini_custom_field.value]&bgcolor=202020&loadingcolor=383838&buttoncolor=d8d8d8&slidercolor=6b667d;" name="FlashVars">
</object></div>
{/if}
{/foreach}
<div class="filler" style="width:200px;height:20px;background-color:#202020;"></div>
</div>
</center>
<!-- END INSIDE HOVER STUFF -->
</div>
<!-- THIS IS THE END OF THE WHITE INNER TABLE CODE SO DON'T ADD ANYTHING BELOW THIS LINE UNLESS YOU WANT SOMETHING NOT TO APPEAR IN THE WHITE TABLE -->
</table>
</div>
</div>
<br clear="all" />
<div class="mini-posts"><font color="#949494">$[user.posts]</font> {if $[user.posts] == 1}POST{else}POSTS{/if} & <font color="#949494">$[user.likes]</font> {if $[user.likes] == 1}LIKE{else}LIKES{/if}</div>
{else}
<div class="mini-name">$[user]</div>
<div class="mini-group-color">GUEST</div>
<div class="my_avatar" width="222px" height="352px" align="center"><img src="http://placehold.it/220x350" /></div>
{/if}
</div></div>
<!-- END PROFILE HOVER BY TRINITY BLAIR OF ADOXOGRAPHY, DO NOT STEAL -->
Can someone please help me? I've been trying this for more than 4 hours now.. No matter what I try I just can't figure it out.