![]() |
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 |
Try adding this to additional.css
HTML Code:
.member_summary .friends_mini .friends_list li{ |
Quote:
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 |
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. |
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. |
I can't view the friends block a guest. But good to see you found something that works.
|
Quote:
Temporarily set "Friends" to "Everyone" so you can see. |
Very nice, glad it worked out.
|
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. |
Can't access it
|
Quote:
|
Hmm. Try something like this in additional.css
HTML Code:
/*This will remove the cutoff*/ |
Quote:
http://www.kh-mediaflare.net/group.php?groupid=11 Use these to see it: User: Test Account Password: account@test |
Figured it'd look like that, sorry.
Under '#membersblock ul.blockrow li' add text-align:center; Under '.memberlist a.avatar' replace width:auto; with display:inline-block; |
Quote:
If you take a look, it didn't affect the Members block of the group, but it did affect the main group listings (Community -> Groups). I did get a new idea, though, that'll probably work better. Is it possible to just have it list names and not avatars in a bullet list format?
Or maybe even remove the Members block since you can click on the number link under Members in the information area to see all members. |
You must have made a mistake somewhere, the display:inline-block; did not get accepted.
It should look like this: HTML Code:
/*This will remove the cutoff*/ |
Quote:
Also, while we're here, I noticed that the body area for "Group Discussions" goes past the header and isn't aligned with it on the left, the Moderation Tools button in the group areas is fatter / thicker than when viewing a forum, and in a group discussion, the Moderator Tools choices text is too close to the selector circles. In all these cases, I'm thinking padding adjustments? |
For the Group Page, add this to additional.css
HTML Code:
#group_discussion_inlinemod_form .blockhead HTML Code:
#group_discussion_inlinemod_form #inlinemod_formctrls .popupctrl For the Moderator Tools being close to the radio buttons, I'm not too sure about, by default they do not look like that, there is probably a conflict in the CSS somewhere. If you provide me with temporary mod permissions I'll Firebug it and take a look for you. For security reasons, remove the user and pass you have provided me from your previous post. |
Quote:
http://i101.photobucket.com/albums/m...ps4e99c55a.png Also, if you could change your password to something strong first, then I can do it. I don't want people hijacking a staff account with the password I already provided you. Alternatively, you could register yourself, and I could promote you. Up to you. :) |
I changed the password. And yes, I understand how it should look, which makes me think there is something conflicting in the CSS.
|
Quote:
Gave you permissions for styles, but let me know if you need any other permissions. |
Ok, I guess I was looking at the wrong page on my forum, they do appear a bit close when on that page. Anyway, I added this to your additional.css templates to space them.
#postlist #inlinemod_formctrls label input { margin-right: 3px; } Would you still like me to try what you wanted here? |
Quote:
Additionally, if you want to make a test style to make sure everything works right before applying it to the live parent style, feel free. |
How does this look? I can remove the bullets if you do not want them.
https://vborg.vbsupport.ru/external/2013/01/21.png |
Quote:
Now that I think about it, could the same be done for the Friends block on profiles? EDIT: Odd. Bullets aren't showing for me. |
You should be all set now. I've put a few comments in /*Like this*/ To show that there are two blocks of CSS. One for the groups pages, one for the profile pages.
|
Quote:
Was all this done via additional.css? Also, I'm still not seeing bullets for the group one. For profiles, though, I don't think it makes much sense, now that I think about it. Is it possible to remove the Friends block and just have the Friends tab? I tried to remove it once before, but the code I took out did nothing. |
Yes this was all added to additional.css. The bullets should be there, they appear for me. Perhaps you should delete your browser's internet cache to see if they will appear.
You can remove the friends block....but it'll leave behind an extra divider bar as it isn't designed for that (you'd need to find the adequate template to remove it). But you'd add HTML Code:
div.friends_mini |
Quote:
And I do apologize. I know I seem really noob-ish. A lot of the stuff you saw in additional.css, though, were things I figured out. |
Hmm well the bullets do not appear on Google Chrome for some reason, maybe that is why you could not see them. I'll take a closer look at that and see if I can figure that out.
Edit: This should now be resolved. |
Quote:
For example, this. And thanks. |
All times are GMT. The time now is 04:59 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|