Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2020, 04:24 AM
RGL Griff XV RGL Griff XV is offline
 
Join Date: Jan 2020
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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
Reply With Quote
  #2  
Old 02-24-2020, 11:12 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Pretty hard to say without a link to the actual page so we can inspect it for you.
Reply With Quote
  #3  
Old 02-24-2020, 03:37 PM
RGL Griff XV RGL Griff XV is offline
 
Join Date: Jan 2020
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
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
Reply With Quote
  #4  
Old 02-24-2020, 03:54 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you create a demo account for us? Registration is required to access the forum.
Reply With Quote
  #5  
Old 02-24-2020, 07:44 PM
RGL Griff XV RGL Griff XV is offline
 
Join Date: Jan 2020
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Could you create a demo account for us? Registration is required to access the forum.
Username: Demo
Password: 123456
Reply With Quote
  #6  
Old 02-24-2020, 08:16 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.



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.
Reply With Quote
  #7  
Old 02-27-2020, 06:55 PM
RGL Griff XV RGL Griff XV is offline
 
Join Date: Jan 2020
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to do it where the ranks show up?
Reply With Quote
  #8  
Old 02-28-2020, 11:26 AM
lange's Avatar
lange lange is offline
 
Join Date: Apr 2003
Location: Montreal (Canada)
Posts: 282
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 02-28-2020, 01:15 PM
shka shka is offline
 
Join Date: Mar 2016
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RGL Griff XV View Post
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 View Post
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>
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:32 PM.


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.04252 seconds
  • Memory Usage 2,247KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (3)bbcode_code
  • (3)bbcode_html
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete