Welcome to vbmods.rocks! Get FREE and paid vBulletin mods, plugins, addons, API extensions, custom modules, custom BB Codes, vBCloud mods, CORE hacks, JS hacks, custom coding by Glenn, an ex-vBulletin Developer. You must register before you can post, download the files or copy the code from the free plugins.
I used this code to make round avatars, I also forced avatars to be square 128x128 and biger.
Everything is working fine on my 5.6.0 vBulletin forum, except little avatars (used as topic icons) that are not all circle but some are ovals.
In postbit all avatars are circles.
This is not happening for all user profiles, some are correct.
For example, in the same topic, for the same user I have two different links for user profile, one incorrect.
I see the main URL
Code:
https://www.tenisdemasa.ro/forum
of the forum is added once again as a prefix for the real link
I noticed on comments where a user is tagged the avatar is square, as seen here.
Right. Unfortunately, the way the avatar is implemented in tags as a background image, it's impossible in CSS to make it rounded without also making the @ username text rounded.
There is a CSS code in css_additional of the custom theme that tells ALL elements (not just images) should have border-radius of zero which means not rounded.
Code:
* {
border-radius: 0 !important;
}
The !important in the code overrides other CSS code. To override this for avatars, then also add !important in the rounded avatar's code by changing this part:
Comment