Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1117)
Colorized Membergroups v1.0
By senyorito
CompatibilityFor SMF 1.1.x (I haven't tested this on SMF 2.x.x beta)
IntroductionMajority of us, we assign different colors to each of our membergroups. We do this because this help us to determine the online users (Forum Index/Info Center/Users Online) which membergroup a member belongs. But in Admin Control Panel, specially in Membergroups and Permissions pages, our membergroups text color is using the themes default text color. It is not colorized even if we had already assigned a particular color to a membergroups.
With this Mod, this will colorize your membergroups (Post count based groups and Non-post count based groups) in Admin Control Panel as you can see on the screenshots above.
InstallationThe following files will be modified by this Mod:
- Sources/ManageMembergroups.php
- Themes/Default/ManageMembergroups.template.php
- Themes/Default/ManagePermissions.template.php
- Themes/Default/ManageCalendar.template.php
Install the package and this will install to the SMF Default Theme -- Core. This will also works in any themes.
Note: If a
"Test Failed" occured when you applied the Mod, don't continue with the installation and you need to manually install this modification.
Useful LinksSMF Package Parser (http://www.adrevenueshare.com/parser)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
Special Thanks to bro JohnyB for helping and fixing the codes.
Good Work
Nice Mod
Congratz bro! 8)
Thanks!
Quote from: JohnyB on March 09, 2008, 12:42:16 PM
Congratz bro! 8)
And to you too bro... for your hard work in helping me on this. Heheh.
Quote from: jossanaijr on March 09, 2008, 12:55:02 PM
Thanks!
You're welcome and thank you for using this mod. :)
thank u ,ur mod give me great effot
Quote from: D.S on March 09, 2008, 01:41:37 PM
thank u ,ur mod give me great effot
You're welcome D.S and thank you for using this mod. :)
Great mod! Had a question. Is there a way I can have post count member group color overide the regular membergroup color? I currently have members in a non-post count based group called "Employee". Then those employees also belong to a post count based member groups (Newbie, Jr, Sr, etc.) Currently the mod seems to take the color of the "Employee" group regardless of whether the members are Newbies, Jr, Sr, etc.
Thanks.
Hi Palang. The mod author is I guess on vacation. Good for him. :D
I don't think you can override color of another group using other group's color. I think this mod will take the color of a group and use it.
How is it that when I go to a forum where I posted a thread, I don't see "Administrator" colored red? I set it red in the permissions.
This mod will not change the color of your post. It only color the membergroups page. Check the posted picture.
Great mod but it sure would be nice to see the membergroups colors on the Member's page also.
Cheers,
Gene
It is a link but you can do it yourself. Here's how. Edit your Sources/Load.php and look for
// What a monstrous array...
and on top of it, add this line
$user_color = !empty($profile['member_group_color']) ? $profile['member_group_color'] : $profile['post_group_color'];
then find
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . $profile['realName'] . '</a>',
replace with
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '" style="color:' . $user_color . ';">' . $profile['realName'] . '</a>',
How to set colors?? i cant set up the colors?
i mean the colors should change over all forum but the color only changed here
(http://i341.photobucket.com/albums/o377/pakistanihaider/colored.jpg)
and look here the color is not changed. see the admin and mod..
(http://i341.photobucket.com/albums/o377/pakistanihaider/fff.jpg)
can any one explain me the prob here..
is any one going to reply or what?? im waiting
You can always just edit the Group Name from:
Name-of-Group
to
<font color=#xxxxxx>Name-of-Group</font>
We've been using that for years, and the MemberGroup Names show up in color everywhere, including the Admin CP.
Quote from: Lord High Warlock on July 20, 2009, 05:16:06 PM
You can always just edit the Group Name from:
Name-of-Group
to
<font color=#xxxxxx>Name-of-Group</font>
We've been using that for years, and the MemberGroup Names show up in color everywhere, including the Admin CP.
No i mean that u can see the name pakistanihaider (Admin) and asas(GM) should b colored according to their primary groups.. the name pakistanihaider should be in Red and asas shoud be in green as colors provided to them..but both of them are in orange color like regular membersis there any way to do so in SMF?
Oh. My mistake. Try the Member Color Link (http://custom.simplemachines.org/mods/index.php?mod=111) Mod, and see if that's what you're looking for.
Quote from: Lord High Warlock on July 20, 2009, 05:35:47 PM
Oh. My mistake. Try the Member Color Link (http://custom.simplemachines.org/mods/index.php?mod=111) Mod, and see if that's what you're looking for.
Thanks mate...its now working fine with the mod u said..
Glad I could help. ;D
I have earlier mod 2.16. Can I install now 3.0.7 on smf 1.1.10,becouse I start to rebilt script again, Is this two uses a same table from database? Can I install new mod on new forum script and use old database?