IMPORTANT

FM Design is in read-only mode, please click here for more information.

Latest topics
» Forumactif Edge - Releases
by Ange Tuteur Tue 03 Apr 2018, 11:43

» Forum Closure
by Ange Tuteur Mon 01 Jan 2018, 01:28

» Chit Chat Thread
by Valoish Sun 31 Dec 2017, 19:15

» Font/Text background color.
by Valoish Sun 31 Dec 2017, 19:11

» Forumactif Messenger - Instant Message Application for Forumotion
by Wolfuryo Sun 31 Dec 2017, 18:24

» [GAME] Count to One Million!
by brandon_g Fri 29 Dec 2017, 18:58

» Post Cards
by manikbiradar Wed 20 Dec 2017, 07:50

» [GAME] Countdown from 200,000
by Valoish Wed 13 Dec 2017, 23:22

» GeekPolice Tech Support Forums - GeekPolice.net
by Dr Jay Mon 11 Dec 2017, 19:12

» Asking about some plugin for Forumotion
by Dr Jay Mon 11 Dec 2017, 19:10

» [GAME] What are you thinking right now?
by Van-Helsing Sat 09 Dec 2017, 14:51

» Widget : Similar topics
by ranbac Wed 06 Dec 2017, 18:11

» Change the Background of the Forum and put an image and how to make prefixs?
by Clement Wed 06 Dec 2017, 15:19

» Hello from Western Australia
by SarkZKalie Wed 06 Dec 2017, 05:34

» Numbering of messages in the topic
by SLGray Mon 04 Dec 2017, 22:40

Recent Tutorials
Top posting users this month
Who is online?
In total there are 8 users online :: 1 Registered, 0 Hidden and 7 Guests :: 1 Bot

Eslam Love

[ View the whole list ]


Most users ever online was 172 on Fri 19 Feb 2016, 05:17

Special users bg color in forum.

View previous topic View next topic Go down

avatar
Royal Bengal

Gender : Male
Age : 29
Posts : 66
Points : 909
Reputation : 0
Language : English, hindi
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile

PostRoyal Bengal on Fri 12 Aug 2016, 23:46

Hello @Ange Tuteur

I have problem in special rank bg color in my forum http://avacs.forumotion.org

Just check below codes if you find any error here :
Css
Code:
.post.staff-post1 { 
    background-image:url(http://i68.servimg.com/u/f68/19/40/18/34/keacut11.png); 
    background-repeat:no-repeat; 
    background-position:left bottom;
background-size: 100% 100%;
}

Java
Code:
$(function() {
  $('.post:has(.staff-rank1)').addClass('staff-post1');
});

Rank
Code:
<span class="staff-rank1">SuperModerator</span>
avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4730
Points : 9815
Reputation : 2365
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 13 Aug 2016, 12:46

Hi @Royal Bengal,

What's the exact problem ? From what I can tell it looks fine ?

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Royal Bengal

Gender : Male
Age : 29
Posts : 66
Points : 909
Reputation : 0
Language : English, hindi
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile

PostRoyal Bengal on Sat 13 Aug 2016, 14:19

@Ange Tuteur it looks fine for admin but I added bg color for supermoderator too. It is not working. I mentioned above codes which are not working at all.
avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4730
Points : 9815
Reputation : 2365
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 13 Aug 2016, 14:34

Did you apply the rank to said user ? I don't see it on him :

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Royal Bengal

Gender : Male
Age : 29
Posts : 66
Points : 909
Reputation : 0
Language : English, hindi
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile

PostRoyal Bengal on Sat 13 Aug 2016, 15:32

I added above css, java and rank codes for supermoderator ( sarker) but unfortunately it is not working. You should check above codes given by me. May be something wrong in it. @Ange Tuteur
avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4730
Points : 9815
Reputation : 2365
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 13 Aug 2016, 15:38

I still see his title as "Company Keeper" without any tags. Try wrapping this member's rank with these tags :
Code:
<span class="staff-rank1"></span>

So you get :
Code:
<span class="staff-rank1">Company Keeper</span>

If the rank with the class "staff-rank1" is not preset, the background cannot be applied.

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Royal Bengal

Gender : Male
Age : 29
Posts : 66
Points : 909
Reputation : 0
Language : English, hindi
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile

PostRoyal Bengal on Sat 13 Aug 2016, 16:01

Srill is not working.... but also rank title is not showing..

avatar
Ange Tuteur
Administrator
Gender : Male
Age : 22
Posts : 4730
Points : 9815
Reputation : 2365
Location : Macungie, PA
Language : EN10, FR5
Browser : Browser : Brave Forum Version : Forum Version : Forumactif Edge
View user profile https://github.com/SethClydesdale https://twitter.com/sethc1995

PostAnge Tuteur on Sat 13 Aug 2016, 16:15

You'll need to apply the right rank title to him, otherwise the background will NOT appear. Go to Admin panel > Users and groups > Search users > edit the desired user

Scroll all the way down to "rank title" and select the rank that's for "Super Moderators"


EDIT by @Samantha: And SAVE it.

--------

Ange Tuteur
Tips and TricksContact Me

avatar
Royal Bengal

Gender : Male
Age : 29
Posts : 66
Points : 909
Reputation : 0
Language : English, hindi
Browser : Browser : Google Chrome Forum Version : Forum Version : phpBB3
View user profile

PostRoyal Bengal on Tue 16 Aug 2016, 22:15

Solved
avatar
Guest
Guest

PostGuest on Tue 16 Aug 2016, 23:47

*** Topic solved, locked and archived ***
Sponsored content

PostSponsored content

View previous topic View next topic Back to top

Create an account or log in to leave a reply

You need to be a member in order to leave a reply.

Create an account

Join our community by creating a new account. It's easy!


Create a new account

Log in

Already have an account? No problem, log in here.


Log in

 
Permissions in this forum:
You cannot reply to topics in this forum