Customizing SMF > Modifications and Packages
Stars and Badges
Bulakbol:
Link to Mod
Author:JohnyB Mod Name:StarsAndBadges Version:1.0 Tested:Freshly installed SMF 1.1.4
StarsAndBadges 1.0
- This mod will display additional group stars and or badges
or whatever you use as stars in membergroup settings.
- In post - display additional stars and or badges.
- In Profile - display group names and additional group names as well as stars and badges.
- In Personal Message - display stars and or badges of additonal groups.
Supported Themes
- Aa_New_Damage
- Babylon
- Classic
- Cs-dk114v1
- Default
- dilbermc
- helios_multi11
- Wowdk_114v1
If your Theme is not supported, in {yourtheme}/Display.template.php, look for
--- Code: ---', $message['member']['group_stars'], '<br />';
--- End code ---
and replace with
--- Code: ---', $message['member']['group_stars'], '<br />';
if (!empty($message['member']['additional_groups']['id']))
for ($i = 0; $i < count($message['member']['additional_groups']['id']); $i++)
echo $message['member']['additional_groups']['stars'][$i], '<br />';
--- End code ---
February 18, 2009
Released update for SMF version 2.0 RC1.
ApplianceJunk:
Hi,
This works great!
Thanks,
jdvarner:
i got an error, but suspect its due to other mods installed...
Type Action Description
1. Execute Modification ./Sources/Load.php Test failed
2. Execute Modification ./Themes/default/Display.template.php Test successful
3. Execute Modification ./Themes/default/Profile.template.php Test successful
4. Execute Modification ./Themes/default/PersonalMessage.template.php Test successful
5. Execute Modification ./Themes/babylon/Display.template.php Test successful
6. Execute Modification ./Themes/classic/Display.template.php Test successful
7. Execute Modification ./Themes/helios_multi11/Display.template.php Skipping file
8. Execute Modification ./Themes/wowdk_114v1/Display.template.php Skipping file
9. Execute Modification ./Themes/Aa_New_Damage/Display.template.php Skipping file
10. Execute Modification ./Themes/cs-dk114v1/Display.template.php Skipping file
Bulakbol:
@jdvarner.
Yes, another mod edited your Load.php that's why. You can install it manually though. Go ahead with the installation and edit your Sources/Load.php. If you have hard time doing it yourself, attach your Load.php here and I'll help you.
@ApplianceJunk.
Thanks for the compliment. Thanks too for trying this mod.
edi67:
intersting
Navigation
[0] Message Index
[#] Next page
Go to full version