Coding help with miniprofile

43written posts
ariellaearned bits
offlinecurrently
ariella
New Member
ariella Avatar
So as previously stated, I'm having a wee bit of an issue with the miniprofile on a site. Normally, I can get by without too much help, but this has been stumping me for a bit of time now.

The 200x300 placeholder is there, and the avatars show up fine. It's when it comes to the big image that I'm having an issue. I tested it by putting an image in the appropriate spot on the profile editing section, but still nothing.

The site in question is multiversescollide.boards.net/
last edit on Jun 3, 2020 22:04:05 GMT by ariella
932written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever
So I'm not seeing the 200x300 avatar, and I don't see a space where a big image would show up either in the mini profile. Is it perhaps on a different skin than the one that's shown to guests? Could you add a screenshot? Also, this this might be a little hard to troubleshoot without being able to see the skin's layout templates.
43written posts
ariellaearned bits
offlinecurrently
ariella
New Member
ariella Avatar
Here's the coding for the layout template. Screenshot coming.

<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<div class="$[miniprofile_class]">
<div class="intmp" id="forthecolor$[user.group.id]">
<div class="mpname" style="background:#$[user.group.color]">
$[user]
{if $[user.is_guest]}(guest){/if}
{if $[user.is_deleted]}(deleted member){/if}</div>
<div class="intmp2">
<div class="bigimage">
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "200x300 hover image"}
<span class="$[user.custom_field.content_class]">
<img src="$[user.custom_field.value]">
</span>
{/foreach}
</div>
<div class="bigimage2">
<div class="mpava">
$[user.avatar]
</div>
<div class="mppostgall">
<b style="color:#$[user.group.color]"><span class="money_amount"></span></b> dollars <font color="#aaa">&</font> <b style="color:#$[user.group.color]">$[user.posts]</b> posts
</div>
<div class="mpapplot">
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "Application"}
<span class="$[user.custom_field.content_class]">
<a href="$[user.custom_field.value]" style="color:#$[user.group.color]">application</a>
</span>
{/if}
{/foreach}

{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "Plotter"}
<span class="$[user.custom_field.content_class]">
<a href="$[user.custom_field.value]" style="color:#$[user.group.color]">plotter</a>
</span>
{/if}
{/foreach}

</div>
<div class="mpstatus">
{if $[user.personal_text.message]}
$[user.personal_text]
{/if}
<i>—
<font color="#$[user.group.color]">
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "OOC name"}
<span class="$[user.custom_field.content_class]">
$[user.custom_field.value]
</span>
{/if}
{/foreach}
</font>
(@$[user.username])</i>
</div>
</div>
</div>
{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="$[user.group.color]" name="bgcolor"><param value="mp3=$[user.mini_custom_field.value]&bgcolor=aaaaaa&loadingcolor=aaaaaa&buttoncolor=ffffff&slidercolor=ffffff;" name="FlashVars">
</object></div>
{/if}
{/foreach}
</div>
</div>
932written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever
Where you see this:
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "200x300 hover image"}
<span class="$[user.custom_field.content_class]">
<img src="$[user.custom_field.value]">
</span>
{/foreach}


I think you're missing a closing {/if}, so it should look like this:
{foreach $[user.custom_field]}
{if $[user.custom_field.name] == "200x300 hover image"}
<span class="$[user.custom_field.content_class]">
<img src="$[user.custom_field.value]">
</span>
{/if}
{/foreach}
last edit on Jun 3, 2020 23:56:44 GMT by gimmick
932written posts
gimmickearned bits
offlinecurrently
gimmick
Part of the Furniture
gimmick Avatar
All birds and men are sure to die but songs may live forever
What specifically is the name of the profile field where the image is added? Is it also '200x300 hover image', with the exact same capitalization? If it's different, I would change the one in the layout code to be identical, caps included
last edit on Jun 4, 2020 0:25:55 GMT by gimmick
3,084written posts
Kitten4uearned bits
offlinecurrently
Kitten4u
Part of the Furniture
Kitten4u Avatar
[nospaces]

[attr="class","infoBG"]
[attr="class","infoBG2"]
[attr="class","infoBack"]
[attr="class","infoTitle"][attr="class","fa fa-star-o"] threadarchived
[attr="class","infoDiv"]

[attr="class","infoBody"]

To keep the forum clean and so people know that all threads in certain areas are current and that the OP is likely to still have interest, we archive threads that haven't gotten posts for 2 weeks. This thread is being archived for that reason. If you would like this thread reopened, contact a staff member.