News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Group Color in Posts and Profile

Started by gamerzworld, August 09, 2010, 03:46:47 PM

Previous topic - Next topic

gamerzworld

Click for modification page
Group Color in Posts and Profile
Version: 1.4
For SMF 2.0.2
By AJ Collins
[email protected]

This mod will add a group's color to the group name in posts and on profiles. You can change the color for each group in the membergroups section of the admin panel.

How it'll look
In a post:

In a profile:


Install
For most themes, install should go fine if the theme doesn't have a custom Profile.template and a Display.template. If your theme does contain custom versions of these files,
either try SMF's "Install in Other Themes" option or look at the modification file and try to edit the files yourself.

History
1.4 - Official support for 2.0.2 and fixed "group_color" error.
1.3 - Added support for RC5.
1.2 - Fixed SMF trying to get a group color for messages posted by guests which caused an error in the error log.
1.1 - Added color support for posting groups.
1.0 - Initial Release.

Maxkranen

Cool mod, really helped me, have been searching for such mod for a long time :)

Jack_the_ripper

Somewhy in the post the group name is not coloured.
Only in the profile.
Why?
Rc3  Core theme

gamerzworld

Quote from: Jack_the_ripper on October 05, 2010, 06:40:27 AM
Somewhy in the post the group name is not coloured.
Only in the profile.
Why?
Rc3  Core theme
Shows up fine here in the default theme. Check that the group has a color hex set and make sure it has a "#" in front of the color hex. If it's correct, try clearing out your error log, going to a post with a person that is supposed to have a group color, and then check the error log for any errors.

Hj Ahmad Rasyid Hj Ismail

Quote from: Jack_the_ripper on October 05, 2010, 06:40:27 AM
Somewhy in the post the group name is not coloured.
Only in the profile.
Why?
Rc3  Core theme
The trick is to install the mod and select it to apply to all other theme as well during the installation. If you have not done that, most probably it won't shows in other theme except in the default. To solve it, uninstall it completely. Then reinstall and while installing do check so that the mod is install on other theme which is in your case, the core theme.

Jack_the_ripper

Gamerzworld:
The # is in the color hex.I post with a Admin and the error log is empty.

Ahrasis:
I'm not able to install all others mod!
I've got only defaults mode(core,babylon,curve,classic)  and other the test are failed.
The themes are working well. :-[

Hj Ahmad Rasyid Hj Ismail

If it is so, then parse the mod at its download page and do it manually for the core theme that you have.

Jack_the_ripper

When i installed the translated mode it's working.

Jiggly Puff

Please update this for 2.0RC5 because I really need this! Thanks!

gamerzworld

Uploaded a new version. Haven't tested it on a new install but it's been working for months on my production install of SMF. Let me know if there's anything wrong.

Joazo

Doesnt work on SMF 2.0 RC5 Default theme.
Forum URL: http://forum.magicpt.org

gamerzworld

Quote from: Joazo on May 14, 2011, 10:36:55 PM
Doesnt work on SMF 2.0 RC5 Default theme.
Forum URL: http://forum.magicpt.org [nofollow]
Working fine on both of my 2.0 RC5 boards with the default theme. Did the installer give any errors?

Joazo



gamerzworld

Quote from: Joazo on May 14, 2011, 10:54:17 PM
Yes.
Here:
That's not the default theme for SMF. Your going to have to click the pencil and paper icon and make the edits manually. Do a search for a tutorial.

Joazo

Ok.
Can you tell me which manual edits I need to do? since I cant find in search



Joazo

Bump
I just need to know how to edit it on a custom theme. I dont have an idea how


Advertisement: