MyBB Tutorials

Color All Post Backgrounds of a Usergroup

Submitted by Blowjob, , Thread ID: 627

Thread Closed

RE: Color All Post Backgrounds of a Usergroup

Blowjob
Closed Account
Level:
0
Reputation:
26
Posts:
2.16K
Likes:
189
Credits:
2.53K
OP
01-02-2015, 11:18 PM
#11
01-02-2015, 10:37 PM
AndresXZ09 Wrote:
01-02-2015, 08:28 PM
Hug Wrote:
01-02-2015, 10:31 AM
Vstrech Wrote:
This is nice and all but I use this

<span style="background: url(http://i.imgur.com/7F70N.gif) no-repeat scroll 0% 0% transparent; color: red; text-shadow: 0px 0px 5px rgb(70, 135, 134);">{username}</span>

I don't recommend that but yeah you can use it if you want

Hug can you tell me what is the code for multiple user groups?

if you're group uid is 6 then add .post6 { background: #FDB5FF; } to you're CSS.

if its 71 then add .post71 { background: #FDB5FF; } to you're CSS... ecte :8

RE: Color All Post Backgrounds of a Usergroup

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
05-02-2015, 12:52 AM
#12
Is there a way to do it on the theme forumkorner?

There is not the line to change.

The templates are:

Postbit: http://pastebin.com/ZyfENxdR
Postbit Classic: http://pastebin.com/VN17czgx

Hope you can help me out

RE: Color All Post Backgrounds of a Usergroup

Aoki
retired
Level:
83
Reputation:
348
Posts:
7.89K
Likes:
2.3K
Credits:
1.7K
05-02-2015, 03:53 AM
#13
05-02-2015, 12:52 AM
AndresXZ09 Wrote:
Is there a way to do it on the theme forumkorner?

There is not the line to change.

The templates are:

Postbit: http://pastebin.com/ZyfENxdR
Postbit Classic: http://pastebin.com/VN17czgx

Hope you can help me out

Didn't test it, just looked at it.
Try to replace:

Code:
<div class="post_body scaleimages" id="pid_{$post['pid']}">

With:

Code:
<div class="post_body scaleimages post{$usergroup['gid']}" id="pid_{$post['pid']}">

RE: Color All Post Backgrounds of a Usergroup

AndresXZ09
Closed Account
Level:
0
Reputation:
30
Posts:
1.22K
Likes:
139
Credits:
1.51K
05-02-2015, 11:17 PM
#14
05-02-2015, 03:53 AM
linkz Wrote:
05-02-2015, 12:52 AM
AndresXZ09 Wrote:
Is there a way to do it on the theme forumkorner?

There is not the line to change.

The templates are:

Postbit: http://pastebin.com/ZyfENxdR
Postbit Classic: http://pastebin.com/VN17czgx

Hope you can help me out

Didn't test it, just looked at it.
Try to replace:


Code:
<div class="post_body scaleimages" id="pid_{$post['pid']}">

With:


Code:
<div class="post_body scaleimages post{$usergroup['gid']}" id="pid_{$post['pid']}">

Sadly, it doesn't works :noh:

RE: Color All Post Backgrounds of a Usergroup

Blowjob
Closed Account
Level:
0
Reputation:
26
Posts:
2.16K
Likes:
189
Credits:
2.53K
OP
07-02-2015, 12:56 AM
#15
06-02-2015, 10:29 PM
PanInferno Wrote:
This is awesome, i will add this to my forum :D

Your welcome

Users browsing this thread: 1 Guest(s)