Customizing SMF > Modifications and Packages
Member Groups Icons
Joker™:
Link to Mod
This modification will add icons on both sides of username in various areas.
Only admin has the permission to add/ change/ remove icons for the member groups.
Admins can even choose that on which side icon should be displayed, i.e. right of username or left of username or on both sides.
Area where icons will be displayed with username:
- in Header
- in Last Post of Board Index
- in Forum Stats on Board Index
- In online list on Board Index
- in Message index
- in Posts
- in Profile
- in Personal messages
- in memberlist
- in "who's online"
Icons have to uploaded in default\images\group_images folder. Created a separate folder so that it will be easy to replace images afterwards if one wants to.
After adding image or icon in group_images folder go to,
Administration Center » Membergroups » Edit Membergroups
Click on modify button next to member group name and add the icon name in "Icon/Image filename" field.
To enable or disable different permissions regarding mod go to,
Administration Center » Modification Settings » Member Group Icons
Note:
--- Quote ---The "group_images" directory will be still be present in the images folder even after the uninstallation of the mod
themes/default/images/group_images
This is done on purpose so that if an admin re-installs the mod he can use the mod from last state where he uninstalled it.
If you wish you can remove the "group_images" directory after uninstalling the mod there is no harm in it.
--- End quote ---
Change Log
Version 1.23
- A small bug fix for chrome and safari. A broken image was shown on those browsers for user group having no images.
Version 1.22
- Somehow in last fix the edits for the code of MemberOnline on board index were removed. The codes have been placed again.
Version 1.21
- In last update the mod lost its functionality to show member images on Board Index and inside of boards, fixed.
- Also as pointed out by BC- that the settings for who is online page are not working at all. Fixed.
Version 1.2
- The mod addresses the bug due to which the guests where shown database error when they try to access the forum.
Version 1.1
- Added the icons to 2 new places
- Number of queries reduced considerably
- License added to the mod
This mod is licensed under Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)
Labradoodle-360:
Congratulations on the release, Joker! :) Looks pretty good!
Joker™:
Thank you :).
Arantor:
Am I reading it right, that it does a new query for every row of the message index, or of the board index?
Joker™:
--- Quote from: Arantor on April 15, 2011, 03:50:36 PM ---Am I reading it right, that it does a new query for every row of the message index, or of the board index?
--- End quote ---
Yeah, I'm not that good with queries. Any ideas about this that how can we minimize it?
Navigation
[0] Message Index
[#] Next page
Go to full version