vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Top X Friends Profile Block (https://vborg.vbsupport.ru/showthread.php?t=292825)

Amaury 12-10-2012 02:24 AM

Top X Friends Profile Block
 
This is something I've been trying to adjust for a long time, and I just can't get it work.

I tried playing around with the profile_tiny_avatar variable yesterday, adjusting the width and height, and I just couldn't get it to work. It made it so either two friends appeared per row or one friend per row, making the top friends block very long.

How do I make it so usernames aren't cut off while keeping it to three per row?

http://i101.photobucket.com/albums/m...ndsBlock-1.jpg

WorldCraft 12-10-2012 02:33 AM

Try adding this to additional.css
HTML Code:

.member_summary .friends_mini .friends_list li{
height: 100px;
}


Amaury 12-10-2012 03:01 AM

Quote:

Originally Posted by WorldCraft (Post 2389660)
Try adding this to additional.css
HTML Code:

.member_summary .friends_mini .friends_list li{
height: 100px;
}


There's still a little cutoff.

Additionally, users that don't space out their username or just have lone-ish usernames also get cut off.

Look at clawthecyclops113 and Gott (horizontal):

http://i101.photobucket.com/albums/m...ileBlock-1.jpg

WorldCraft 12-10-2012 03:34 AM

You need to form one compromise here, or you'll need to space them all out far enough to where long names won't cover using css 'width', and that'll probably make the rows only have 2 names per row, depending on how wide you have the sidebar set to.

Increase the height I provided in the css to something larger to fix the vertical cutoff at least. If you still want to play around with the width just add a width: Xpx; after length:100px; one and see what looks decent.

Amaury 12-10-2012 03:55 AM

I added width to that and got it to work.

Height and width are at 105px. I reduced the amount of friends that show up from nine back to the default six so it wouldn't be so long. I think it looks pretty good.

Also, if you could check the Postbit and Profile thread again, that'd be great.

WorldCraft 12-10-2012 03:57 AM

I can't view the friends block a guest. But good to see you found something that works.

Amaury 12-10-2012 04:02 AM

Quote:

Originally Posted by WorldCraft (Post 2389675)
I can't view the friends block a guest. But good to see you found something that works.

I keep forgetting my privacy settings are all set to Registered Members, lol.

Temporarily set "Friends" to "Everyone" so you can see.

WorldCraft 12-10-2012 04:13 AM

Very nice, glad it worked out.

Amaury 01-21-2013 05:57 PM

I wanted to the same thing for the Members section of a group. Would I add something similar to additional.css?

If you can't access the area in the hyperlink I provided, let me know.

WorldCraft 01-22-2013 06:56 AM

Can't access it


All times are GMT. The time now is 07:45 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.01257 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete