Group Bold colors - specific groups only

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
maxrpg
BBCoder II
BBCoder II
Posts: 5
Joined: 13 Apr 2010, 10:52

Group Bold colors - specific groups only

Post by maxrpg »

Hello,

I was wondering if someone could help me with the way group members are shown on the viewforum and viewtopic lists.

I have a number of groups on my forum and all have different colors and I want them to keep their colors but I only want specific groups to be shown in bold and all the rest in standard format. Ive been trying to find a variable or something to use the viewforum/viewtopic templates but cant seen to figure it out.

Does anyone know of maybe an If statement I could use within them to only show specific groups in bold and where I should put the code please?. Maybe something like:

<!-- IF ThisMemberIsInGroupId == "???" --> DISPLAY IN BOLD <!-- ELSE --> DISPLAY NORMAL BUT KEEP THE COLOR <!-- ENDIF -->

Thank you.
User avatar
Inner Circle
BBCoder III
BBCoder III
Posts: 107
Joined: 20 Mar 2010, 20:25
Location: Germany
Contact:

Re: Group Bold colors - specific groups only

Post by Inner Circle »

This sounds really interesting, but i have no idea how to do it...
cisco007
BBCoder VI
BBCoder VI
Posts: 1015
Joined: 16 Mar 2010, 18:14
Location: Don't really know!

Re: Group Bold colors - specific groups only

Post by cisco007 »

maybe you could search for the groups name, it they are the default phpbb groups that is, don't know how to do it for user created groups, but search where Stoker says here! viewtopic.php?f=19&t=533#p1702

and replace which ever group you want for example:

Code: Select all

'G_ADMINISTRATORS'			=> 'Administrators',
to this!

Code: Select all

'G_ADMINISTRATORS'			=> '<b>Administrators</b>',
maxrpg
BBCoder II
BBCoder II
Posts: 5
Joined: 13 Apr 2010, 10:52

Re: Group Bold colors - specific groups only

Post by maxrpg »

Hello,

Thanks for the replies but I think you have the wrong idea lol. I didnt mean the legend I ment the forum/topic list like if im viewing a forum it lists all the topics like this with topic starter underneath it:

Some topic title
by Membername in Usergroup1

Some topic title
by Membername in Admin group

Some topic title
by Membername in Usergroup3

Each "Member?" name is in a group with there own color and they all show in bold. But what I want to do is only have the admin group shown in bold and the rest just standard format like this:

Some topic title
by Membername in Usergroup1

Some topic title
by Membername in Admin group

Some topic title
by Membername in Usergroup3

Anyone know if this is possible?
am.hitek
BBCoder II
BBCoder II
Posts: 15
Joined: 27 May 2010, 14:15

Re: Group Bold colors - specific groups only

Post by am.hitek »

would love to know if there's anything like this available.
Locked