MOD Version: 1.0.0
Author: Nyquist
Installation Level: Easy
Installation Time: 11 Minutes
Format: MODX
MOD Description:This MOD shows the user's groups' ranks together with the user's personal rank, both in the viewtopic page and in the personal profile page. It can be used to have multiple ranks per user since you can add ranks to a user by just adding the user to groups.
Since additional ranks are obtained by adding users to groups, you can use standard phpBB3 groups management panel to manage your additional ranks, with no modification to the database schema. Furthermore, by using standard phpBB3 groups management features, you can have ranks which can be given only by admin (closed groups ranks), by other users (Request Groups), or that can be freely chosen by users as in guilds forums (open groups).
The MOD only shows the ranks' images, so if you have groups' ranks that you don't want to list you can just let them without any rank image.
In the standard phpBB3, when a user changes his/her default group he/she inherits the new default group's rank. Since with this MOD you show both user's rank and group's rank you can avoid this inheriting feature. You can choose that the user does not inherit the default group's rank. In this way the user can keep his/her personal rank (or the basic number-of-post related rank), but having the group's color and the group's rank (as an additional rank).
The MOD can be easily configured through a module in the ACP. Within this module you can choose the maximum number of groups' ranks shown in the viewtopic page and in the personal profile page. Also you can change the inherit/don't-inherit behaviour on the fly.
Changes to DB schemas: none
Changes to styles template:
- prosilver/viewtopic_body.html
- 1 code add
- prosilver/memberlist_view.html
- 1 code add
- subsilver2/viewtopic_body.html
- 1 code add
- subsilver2/memberlist_view.html
- 1 code add
- viewtopic.php
- 3 code add
- memberlist.php
- 2 code add
- includes/functions_user.php
- 3 code add
- 3 code replacements
Language: English and Italian (3 Dutch translations by RdJ1, bbjimbb and Rotsblok can be found a few posts ahead)
Download File: http://www.4shared.com/file/39422885/b7 ... sinfo.html
Notes: I am not a programmer and I am new to phpbb. So I would appreciate very much any help/suggestion for the improvement of the MOD. I am also aware that the MOD may have some bug due to my lack of expertise. So please be careful when installing and using the MOD.
Preview: In the image below you can see the user having his normal number-of-post-related rank (the stars pointed by the red arrow), two ADMIN chosen groups' ranks (blue arrows) and two user chosen groups' ranks (green arrows). For italian users: PdS has nothing to do with politics
Acknowledgment: thanks to RdJ1, Eelke and FlexyClown for help and suggestions.
Have fun.