Page 1 of 1

Group Bold colors - specific groups only

Posted: 13 Apr 2010, 11:08
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.

Re: Group Bold colors - specific groups only

Posted: 13 Apr 2010, 12:58
by Inner Circle
This sounds really interesting, but i have no idea how to do it...

Re: Group Bold colors - specific groups only

Posted: 13 Apr 2010, 18:05
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>',

Re: Group Bold colors - specific groups only

Posted: 14 Apr 2010, 06:57
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?

Re: Group Bold colors - specific groups only

Posted: 12 Aug 2010, 04:03
by am.hitek
would love to know if there's anything like this available.