Attention:

Support Rules and Guidelines
Before you post your support topic, please remember to:
  • Read the support forum rules.
  • Check the wiki and use search to see if your problem can be answered there first.
  • Link your board please, and make sure that the problem on your board is visible to guests or provide a test account.
  • Do not post Board Wrappers and CSS unless requested. With a board link, this is not necessary.
  • Be as descriptive as you can and use as many details as possible when describing your problem.
  • Please briefly mark any links to forums that may not be work-safe.
This will help ensure your support issue will be attended to in a quick and efficient manner.

  Add ReplyNew TopicNew Poll

 Custom profile fields showing at the bottom of topic pages
#
Link: https://katamariontheweb.jcink.net/index.php?act=idx

Specific Link as an Example: https://katamariontheweb.jcink.net/index.php?showtopic=43 Scroll to the very bottom and there should be a bit of text that should be in each users mini profile.

I have a few custom profile fields. For some reason, they're displaying both in the mini profile and at the very bottom of a topic page in bulk. I haven't changed anything in the board settings that would have messed with this in quite some time and at the same time I'm not really sure when this issue popped up but I feel like it's recent.
PM
#
Can we see the HTML template for your mini profile?

signature
user posted image
#
CODE
<div class="postbit">
<div align='center'>
<!-- |avatar| --><br />
<!-- |title| --><br />
</div>
</div>
<img src="<!-- |g_icon| -->" />
<div class="postbit">
<img src='http://files.b1.jcink.com/themes/default/posts.png'> Posts: <!-- |posts| -->
</div>
<div class="postbit">
<img src='http://files.b1.jcink.com/themes/default/joined.png'> Joined: <!-- |member_joined| -->
</div>
<div class="postbit">
<script>if("<!-- |field_18| -->" !='') { document.write("<span class=‘legacy-posts’><B>Legacy Posts:</B> <!-- |field_18| --></span>"); } </script>
</div>
<div class="postbit">
<script>if("<!-- |field_2| -->" !='N/A') { document.write("<span class=‘favorite-cousin’><B>Favorite Cousin:</B> <!-- |field_2| --></span>"); } </script>
</div>
<div class="postbit">
<script>if("<!-- |field_6| -->" !='') { document.write("<span class=‘currently-playing’><B>Currently Playing:</B> <!-- |field_6| --></span>"); } </script>
</div>
<div class="postbit">
<script>if("<!-- |field_5| -->" !='N/A') { document.write("<span class=‘gender’><B>Gender:</B> <!-- |field_5| --></span>"); }</script>
</div>
<br />
<div style="margin-left: 5px;">
<!-- |warn_text| --> <!-- |warn_minus| --><!-- |warn_img| --><!-- |warn_add| -->
</div>
<br />


I also seem to be having an issue with a large white space on certain pages like the active users list. Not sure if the two are related.
PM
#
Try this instead:

CODE
<div class="postbit">
<div align='center'>
<!-- |avatar| --><br />
<!-- |title| --><br />
</div>
</div>
<img src="<!-- |g_icon| -->" />
<div class="postbit">
<img src='http://files.b1.jcink.com/themes/default/posts.png'> Posts: <!-- |posts| -->
</div>
<div class="postbit">
<img src='http://files.b1.jcink.com/themes/default/joined.png'> Joined: <!-- |member_joined| -->
</div>
<div class="postbit">
<span class="legacy-posts"><B>Legacy Posts:</B> <!-- |field_18| --></span><br />
<span class="favorite-cousin"><B>Favorite Cousin:</B> <!-- |field_2| --></span><br />
<span class="currently-playing"><B>Currently Playing:</B> <!-- |field_6| --></span><br />
<span class="gender"><B>Gender:</B> <!-- |field_5| --></span>
</div>
<br />
<div style="margin-left: 5px;">
<!-- |warn_text| --> <!-- |warn_minus| --><!-- |warn_img| --><!-- |warn_add| -->
</div>
<br />

<script>
$('div.postbit:contains(Gender:) span').each(function() {
   var text = $(this).text().split(': ')[1];

   if (text === '' || text === 'N/A') {
       $(this).hide();
   }
});
</script>

signature
user posted image
#
That seemed to have fixed it, thanks a ton. Any ideas on that large white space below certain pages like this one: https://katamariontheweb.jcink.net/index.ph...&sort_key=click (though it seems like it might only show up while on a desktop)

Edit: never mind about the white space, I solved it with the help of someone else I had mentioned it to on my forum.

This post has been edited by vix: Jul 7 2018, 07:14 PM
PM
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Share this topic:
« Next Oldest | General Support | Next Newest »

Options Add ReplyNew TopicNew Poll