vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   User Profile (https://vborg.vbsupport.ru/showthread.php?t=327854)

RGL Griff XV 02-24-2020 04:24 AM

User Profile
 
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

Quote:

Originally Posted by Dave (Post 2602152)
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/mem...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

Quote:

Originally Posted by Dave (Post 2602157)
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
HTML Code:

#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

Quote:

Originally Posted by RGL Griff XV (Post 2602151)
and also to get the "Status online" next to someones name instead of underneath it
View Here: https://gyazo.com/696521c043a5d9eaf5fc944b6d5814bc

Additional.css - add
Code:

#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 [DATE]1582903917[/DATE] at [TIME]1582903917[/TIME] ---------------

Quote:

Originally Posted by RGL Griff XV (Post 2602191)
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"
Code:

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

to
Code:

<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
HTML Code:

<div class="eti_postbit" =a="" href="member.php?1-RGL-Griff-XV" title="RGL Griff XV is offline">
            <center>

but should be
HTML Code:

<div class="eti_postbit"> <a href="member.php?1-RGL-Griff-XV" title="RGL Griff XV is offline">
            <center>



All times are GMT. The time now is 06:02 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01148 seconds
  • Memory Usage 1,734KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete