Something small but how rounded corners on the image in the User Spotlight.
Maybe @Ozzy47 would be interested in doing it...InfoPanels Avatar done and now User Spotlight.
Ozzy are you game.![]()
Support / Suggestions for User Spotlight.
Click here to download!
Something small but how rounded corners on the image in the User Spotlight.
Maybe @Ozzy47 would be interested in doing it...InfoPanels Avatar done and now User Spotlight.
Ozzy are you game.![]()

$ 28.00
Ok here is the solution:
Open the template User Spotlight Templates/dbtech_spotlight_userinfo
Search for the following code:
And replace it with this:HTML Code:<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
You can replace the 10 in, moz-border-radius:10px; there to more or less, depending on your preferences, bigger the number the more radius.HTML Code:<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px; -moz-border-radius:10px;">
Before:
After:
This will have to be done in each style you want it to show like that.
Last edited by Ozzy47; 23rd September 2011 at 22:11.
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes, 0Erica thanked for this post
@Ozzy47 for User Spotlight ?Open the template DragonByte Tech: InfoPanels Templates/dbtech_infopanels_panel

$ 28.00
OOOps refresh the page I edited the first post lol.
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.

$ 28.00
@GoodApples did that work?
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.
Yes @Ozzy47 it does in FireFox
not Internet Explorer but that is to be expected.
Thanks for following up to make sure it worked.![]()

$ 28.00
Yeah IE does not take into account the -moz-border-radius: setting, their has been alot of discussion on vB.com, and vB.org over that.
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.

$ 28.00
@GoodApples
After doing some research I found a way to work cross browser including IE.
First open the Templates/CSS Templates/additional.css in the style you are working with. Unless you already added this from other post.
Add the following at the bottom of the template.
Then save that.HTML Code:.rounded { border-radius:1ex; -webkit-border-radius:1ex; -moz-border-radius:1ex; }
If you applied the edit in the first post revert the template, User Spotlight Templates/dbtech_spotlight_userinfo
Now open the template User Spotlight Templates/dbtech_spotlight_userinfo
Search for the following code:
And Replace it with this:HTML Code:<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;">
If you want more of a radius open the CSS Templates/additional.cssHTML Code:<img src="{vb:raw spot_userdata['pic']}" alt="User Image" border="0" style="max-height: {vb:raw vboptions.dbtech_spotlight_max_height}px; max-width: {vb:raw vboptions.dbtech_spotlight_max_width}px;" class= "rounded">
and change all instances of 1 to a higher number, in the .rounded you added there.
Last edited by Ozzy47; 29th September 2011 at 01:16.
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.
I gave the cross browser option in post #8 above a try but did not work for me. I know this may sound odd but I think there may be a bug that is effecting the additional.css in the last couple of vB version starting with 4.1.4
I try again when 4.1.7 comes out.Thanks @Ozzy47

$ 28.00
I tested it on 4.1.3 through 4.1.5pl1 and it works as intended.
vBDonate has won Mod of the Month for January 2013 at vBulletin.org.Thanks to everyone who voted and made this happen.
Post Thanks / Like - 1 Thanks, 0 Likes, 0 Dislikes, 0GoodApples
thanked for this post
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks