Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Costa on February 12, 2013, 04:27:00 PM

Title: Different style for group key
Post by: Costa on February 12, 2013, 04:27:00 PM



Different style for group key
This will change the style for group key in board index.
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=3638) | Comment On This Mod (http://www.simplemachines.org/community/index.php?action=post;topic=497358.0)

Updated on: 12 Feb 2013
Author: Costa (http://www.simplemachines.org/community/index.php?action=profile;u=169940)

Type: Theme Enhancements (http://custom.simplemachines.org/mods/index.php?action=search;type=3)
Available since: 12 Feb 2013
Latest version: 1.0
Compatible with: SMF 2.0.x
Available languages: All



What does it do?
This will change the style for group key in board index. Instead of having [ Administrator ] [ Global Moderator ] [ Moderator ], you will see like Administrator, Global Moderator, Moderator.

How to use
Simply download the package from the SMF customization site, and install it via your Package Manger. No configuration needed.

Support & comments
If you have a problem with this mod, want to comment, or have any question, please post to the modification support topic (http://www.simplemachines.org/community/index.php?topic=497358.0) and I will reply as soon as possible.

Changelog
1.0 | 12 Feb 2013
$ Initial release





Changelog legend
+ New feature
- Feature removal
! Bugfix
> New language
< Removed language
* New version support
$ Initial release / Big update

Title: Re: Different style for group key
Post by: Famouz on February 13, 2013, 05:39:31 PM
This is great, good job! It's way better than the old previous one though.
Title: Re: Different style for group key
Post by: Costa on February 13, 2013, 06:13:21 PM
Thanks. Never liked the brackets though.
Title: Re: Different style for group key
Post by: impreza on February 13, 2013, 08:29:54 PM
Even an interesting modification
Title: Re: Different style for group key
Post by: TheListener on April 30, 2013, 09:18:58 PM
Quote from: Costa on February 13, 2013, 06:13:21 PM
Thanks. Never liked the brackets though.

Hi Costa long time no see.

Is there a way I could use the mod in association with the MCLegend mod?

Like you I'm not a fan of the brackets.

Title: Re: Different style for group key
Post by: Costa on May 02, 2013, 08:47:15 PM
Link to mod and SMF version?
Title: Re: Different style for group key
Post by: TheListener on May 02, 2013, 08:50:21 PM
Good to see ya still hanging round too.

:)

http://custom.simplemachines.org/mods/index.php?mod=1077

Ignore the 2.0Rc thingy I used an update on one of the mods pages.

Oh and er 2.0.4 (what else  :P)
Title: Re: Different style for group key
Post by: Costa on May 03, 2013, 05:48:45 PM
./Themes/default/BoardIndex.template.php
if (!empty($context['membergroups']))
echo '<div style="padding-top: 2px; margin-top: 2px; border-top: 1px solid #c6c6c6;">
[' . implode(']&nbsp;&nbsp;[', $context['membergroups']) . ']', '</div>';


Code (replace with) Select
if (!empty($context['membergroups']))
echo '<div style="padding-top: 2px; margin-top: 2px; border-top: 1px solid #c6c6c6;">
<em>' . implode(',&nbsp;', $context['membergroups']) . '</em>', '</div>';


try this.