How to add box shadow around profile pictures for admins and specific groups only
4 posters
Page 1 of 1
How to add box shadow around profile pictures for admins and specific groups only
Technical Details
Forum version : #ModernBB
Position : Founder
Concerned browser(s) : Google Chrome
Who the problem concerns : Yourself
Forum link : https://community.eupd.org.uk
Description of problem
Hi there,Please see an example in this post. I want to be able to add the box shadow like in the picture over staff and certain groups only not normal members like in the picture example, this is not from another forumotion forum, its from WoW forums.
Last edited by eupdorguk on November 5th 2022, 3:17 pm; edited 2 times in total
Re: How to add box shadow around profile pictures for admins and specific groups only
hello
unfortunately, we are not coders ( some of us are ) we are here to give solutions /support to issues about forumotion
we can not develop codes from another platform
I know you had a member which helped you previously by making a new code but keep in mind it is not right to copy ideas and codes...generally speaking and this is my personal feeling
if you have an idea you can open a suggestion here https://help.forumotion.com/f29-suggestions
thank you
unfortunately, we are not coders ( some of us are ) we are here to give solutions /support to issues about forumotion
we can not develop codes from another platform
I know you had a member which helped you previously by making a new code but keep in mind it is not right to copy ideas and codes...generally speaking and this is my personal feeling
if you have an idea you can open a suggestion here https://help.forumotion.com/f29-suggestions
thank you
كونان2000 likes this post
Re: How to add box shadow around profile pictures for admins and specific groups only
skouliki wrote:hello
unfortunately, we are not coders ( some of us are ) we are here to give solutions /support to issues about forumotion
we can not develop codes from another platform
I know you had a member which helped you previously by making a new code but keep in mind it is not right to copy ideas and codes...generally speaking and this is my personal feeling
if you have an idea you can open a suggestion here https://help.forumotion.com/f29-suggestions
thank you
Thanks!
Edit: I have been using forumotion for years (this account may be new) but I have other forums and the community here have always been incredibly helpful! So I am grateful for that.
skouliki and كونان2000 like this post
Re: How to add box shadow around profile pictures for admins and specific groups only
Thank you for using forumotion
Iam sure @كونان2000 will help you succeed your result, he is a good coder and a valuable member
Iam sure @كونان2000 will help you succeed your result, he is a good coder and a valuable member
Re: How to add box shadow around profile pictures for admins and specific groups only
hi eupdorguk
Javascript
Placement : In the topics
code
with the color of the group
Javascript
Placement : In the topics
code
- Code:
$(function() {
groupMod('xxxx', 'shadow-admin');
function groupMod(color, classname) {
$('.post-wrap:has(span[style="color:'+color+'"] strong)').addClass(classname)
}
$(".shadow-admin .avatar-big img").css({
"box-shadow": "0px 2px 7px 7px #8bc34a"
});
});
|
- Result:
Thanks skouliki (✿◠‿◠✿)skouliki wrote:Thank you for using forumotion
Iam sure @كونان2000 will help you succeed your result, he is a good coder and a valuable member
skouliki, SarkZKalie and TonnyKamper like this post
Re: How to add box shadow around profile pictures for admins and specific groups only
كونان2000 wrote:hi eupdorguk
Javascript
Placement : In the topics
codeReplace
- Code:
$(function() {
groupMod('xxxx', 'shadow-admin');
function groupMod(color, classname) {
$('.post-wrap:has(span[style="color:'+color+'"] strong)').addClass(classname)
}
$(".shadow-admin .avatar-big img").css({
"box-shadow": "0px 2px 7px 7px #8bc34a"
});
});with the color of the group
- Code:
xxxx
- Result:
Thanks skouliki (✿◠‿◠✿)skouliki wrote:Thank you for using forumotion
Iam sure @كونان2000 will help you succeed your result, he is a good coder and a valuable member
Works perfectly, however the alignment of the profile pictures are not centered correctly. thanks so much!
Last edited by eupdorguk on November 5th 2022, 12:23 am; edited 1 time in total
Re: How to add box shadow around profile pictures for admins and specific groups only
@eupdorguk Is this now solved ?
If yes please don't forget to mark your topic as solved by pressing the mark solved button found at the top of this topic.
If yes please don't forget to mark your topic as solved by pressing the mark solved button found at the top of this topic.
Re: How to add box shadow around profile pictures for admins and specific groups only
eupdorguk wrote:
Works perfectly, however the alignment of the profile pictures are not centered correctly. thanks so much!
add this to your CSS
- Code:
.post-author-avatar {
margin: 11px 25px 22px !important; }
the value 25px is the center alignment
Re: How to add box shadow around profile pictures for admins and specific groups only
skouliki wrote:eupdorguk wrote:
Works perfectly, however the alignment of the profile pictures are not centered correctly. thanks so much!
add this to your CSS
- Code:
.post-author-avatar {
margin: 11px 25px 22px !important; }
the value 25px is the center alignment
No success unfortunately
Re: How to add box shadow around profile pictures for admins and specific groups only
is this now solved as it's marked as solved ?
Re: How to add box shadow around profile pictures for admins and specific groups only
also in the center to me refresh your page or do a browser cache clean.
Similar topics
» Allowing HTML for Admins/Mods or specific groups
» Specific groups for specific forums?
» help[specific username shadow]
» Ban option for specific groups
» Specific Groups For Buttons.
» Specific groups for specific forums?
» help[specific username shadow]
» Ban option for specific groups
» Specific Groups For Buttons.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum