PDA

View Full Version : User Profile


RGL Griff XV
02-24-2020, 04:24 AM
There is a huge gap between members' names and the rest of their profile on this particular theme. Any idea on how to change this?
and also to get the "Status online" next to someones name instead of underneath it
View Here: https://gyazo.com/696521c043a5d9eaf5fc944b6d5814bc

Dave
02-24-2020, 11:12 AM
Pretty hard to say without a link to the actual page so we can inspect it for you.

RGL Griff XV
02-24-2020, 03:37 PM
Pretty hard to say without a link to the actual page so we can inspect it for you.

Sorry, here is the link: https://redemptiongaminglive.com/member.php?1-RGL-Griff-XV

Dave
02-24-2020, 03:54 PM
Could you create a demo account for us? Registration is required to access the forum.

RGL Griff XV
02-24-2020, 07:44 PM
Could you create a demo account for us? Registration is required to access the forum.

Username: Demo
Password: 123456

Dave
02-24-2020, 08:16 PM
It happens because the user rank is attempting to display all the images (which are hidden), so only the <br>'s are left which cause a lot of empty space.

https://i.imgur.com/Wm4M5jg.png

The css rule
#sidebar_container.member_summary .mainblock .rank{
display: none;
}

would "fix" it by hiding all the user ranks on the user profile.

RGL Griff XV
02-27-2020, 06:55 PM
Is there a way to do it where the ranks show up?

lange
02-28-2020, 11:26 AM
I don't use vb4 but if you have access to <br>, try to replace the <br> by an empty div ... like <div style="padding-bottom: 5px"> </div>.

Only adjust the value of px.

shka
02-28-2020, 01:15 PM
and also to get the "Status online" next to someones name instead of underneath it
View Here: https://gyazo.com/696521c043a5d9eaf5fc944b6d5814bc

Additional.css - add

#member_content #sidebar_container .blocksubhead #userinfo {
display: inline-block;
}

#member_content #sidebar_container .blocksubhead .member_status {
display: inline-block;
padding-left: 10px;
}


Playing with 10px for margin to userinfo.

--------------- Added 1582903917 at 1582903917 ---------------

Is there a way to do it where the ranks show up?

What is your aim? Disable the display of the rank output? Then Dave wrote the solution.

Or disable the script which is generation this output? Then you have to edit the template "MEMBERINFO"

<vb:if condition="$prepared['rank']">
<br />
<span class="rank">{vb:raw prepared.rank}</span>
</vb:if>
to

<vb:if condition="$prepared['rank']"></vb:if>

Or something third?

Btw: In posts the user avatar is not clickable due to errors in your postbit script modifications.
Output is
<div class="eti_postbit" =a="" href="member.php?1-RGL-Griff-XV" title="RGL Griff XV is offline">
<center>
but should be
<div class="eti_postbit"> <a href="member.php?1-RGL-Griff-XV" title="RGL Griff XV is offline">
<center>