Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 4 Years, 8 Months, 4 Weeks ago Add colours to background post of user groups
#21
Solved: 4 Years, 8 Months, 4 Weeks ago
Add this to showthread.css then it works:
/* post content backgound color for usergroup 4 */
.post_4 {
background: yellow;
}

/* post content backgound color for usergroup 2 */
.post_2 {
background: lime;
}

/*etc */

   
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
#22
Solved: 4 Years, 8 Months, 4 Weeks ago
(01-13-2015, 10:36 PM)SvePu Wrote: -post-

Still not working Sad

[Image: 3f6df8785451f0ca6364f2c48fc7d1d6.png]
Reply
#23
Solved: 4 Years, 8 Months, 4 Weeks ago
This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
#24
Solved: 4 Years, 8 Months, 4 Weeks ago
(01-13-2015, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?
Reply
#25
Solved: 4 Years, 8 Months, 4 Weeks ago
(01-13-2015, 11:00 PM)iAmPandi Wrote:
(01-13-2015, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?

admin cp> users and groups> groups > click on a group and then look at the end of the link
Reply
#26
Solved: 4 Years, 8 Months, 4 Weeks ago
(01-13-2015, 11:11 PM)Patchy the Pirate Wrote:
(01-13-2015, 11:00 PM)iAmPandi Wrote:
(01-13-2015, 10:48 PM)SvePu Wrote: This Style is for usergroup 1 - that are guests, right

Is it guests allowed to write posts?

Bare in mind, I'm incredibly new to all of this, how do I know the user group numbers?

admin cp> users and groups> groups > click on a group and then look at the end of the link

Thank you guys, it's working Big Grin
Reply
#27
Solved: 4 Years, 8 Months, 4 Weeks ago
MyBB 1.8 default user groups:
  • Guests = user group ID 1
  • Registered = user group ID 2
  • Super Moderators = user group ID 3
  • Administrators = user group ID 4
  • Awaiting Activation = user group ID 5
  • Moderators = user group ID 6
  • Banned= user group ID 7
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply
#28
Solved: 4 Years, 8 Months, 4 Weeks ago
One last question, do you know how I can fade/turn down opacity on the background colour?
Reply
#29
Solved: 4 Years, 8 Months, 4 Weeks ago
http://www.w3schools.com/cssref/css3_pr_opacity.asp
Reply
#30
Solved: 4 Years, 8 Months, 4 Weeks ago
(01-13-2015, 11:20 PM)iAmPandi Wrote: One last question, do you know how I can fade/turn down opacity on the background colour?

You could use rgba color codes instead of hex colors

e.g.: red (#ff0000) with 50% opacity = rgba(255, 0, 0, 0.5)
Greetings Sven (ps: Sorry for my bad english!!)

My plugins - [email protected]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)