|
Post by ariella on Jun 3, 2020 22:03:44 GMT
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/
|
|
550 posts
bits
For a moment, nothing happened. Then, after a second or so, nothing continued to happen.
|
Post by gimmick on Jun 3, 2020 23:16:09 GMT
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.
|
|
|
Post by ariella on Jun 3, 2020 23:35:01 GMT
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>
|
|
|
Post by ariella on Jun 3, 2020 23:37:18 GMT
|
|
550 posts
bits
For a moment, nothing happened. Then, after a second or so, nothing continued to happen.
|
Post by gimmick on Jun 3, 2020 23:56:07 GMT
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}
|
|
|
Post by ariella on Jun 3, 2020 23:57:52 GMT
I'll try that and let you know what happens. I'm not super good at code XD but that's probably obvious.
|
|
|
Post by ariella on Jun 4, 2020 0:08:50 GMT
No dice. Maybe there's something else wrong?
I did add that coding, though.
|
|
550 posts
bits
For a moment, nothing happened. Then, after a second or so, nothing continued to happen.
|
Post by gimmick on Jun 4, 2020 0:25:07 GMT
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
|
|
|
Post by ariella on Jun 4, 2020 0:28:55 GMT
200x300 Image but being changed right now
|
|
|
Post by ariella on Jun 4, 2020 0:30:41 GMT
It works! Yay! Thank you!
|
|
550 posts
bits
For a moment, nothing happened. Then, after a second or so, nothing continued to happen.
|
Post by gimmick on Jun 4, 2020 0:32:29 GMT
Excellent!
|
|
|
Post by ariella on Jun 4, 2020 0:34:39 GMT
Thank you so much!
|
|
|
Post by Kitten4u on Jun 21, 2020 20:57:55 GMT
[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.
|
|