Post by Mr. Tom on Mar 9, 2014 10:07:51 GMT -8
Allo ha!
This is my first ever modification I've made myself and loved it so much I thought I'd share it with you!
This template modification is fully customisable to suit however you want it to look, and will add a user group legend to the 'Information and Statistics' centre on your forum home page, specifically under the 'Users Online' list. This is what mine looks like, according to the user groups I've made:
Now, I'll try my best at explaining how to add this, but I'm not normally very good, meh, here goes!
Go to: Admin>Structure>Layout Templates>Home
Around line 84/85, you should have this:
<p>[<a href="themeparkfunv2.boards.net/members?group=1&view=group"><font color="ff0000[/font]">Administrators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=3&view=group"><font color="007aff">Moderators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=10&view=group"><font color="008080">Site Editors</font></a>] [<font color="33003a">Forum Members</font>]
The code above will allow for 4 user groups to appear, with links to the list of members in that user group, for example, the main ProBoards admins.
If you would like to have your user groups linked to, you will need to replace the purple parts with that list of users, however, if you do not want to have links to the list of users, please remove ALL red parts and purple parts.
The bold black parts will determine what colour that user group is. If it is a specific shade, you will need to include the hex code, but if it is a solid colour (red/blue/green etc), you just need to put the name of that colour.
The blue parts determine the names of the user groups. Pretty self explanatory to be honest.
The green parts will split up your user groups in the list. This is not essential but is recommended. I personally have chosen [ ]s but you can choose whichever symbol you like.
You can add or remove user groups to your list by adding/removing this code...
[<a href="themeparkfunv2.boards.net/members?group=10&view=group"><font color="008080">Site Editors</font></a>]
...and then following the above instructions as you would! I hope you like this code, and I also hope that you understand the instructions for installing it onto your forum!
Kind regards,
Mr. Tom
This is my first ever modification I've made myself and loved it so much I thought I'd share it with you!
This template modification is fully customisable to suit however you want it to look, and will add a user group legend to the 'Information and Statistics' centre on your forum home page, specifically under the 'Users Online' list. This is what mine looks like, according to the user groups I've made:
Now, I'll try my best at explaining how to add this, but I'm not normally very good, meh, here goes!
Go to: Admin>Structure>Layout Templates>Home
Around line 84/85, you should have this:
{if $[total_online_not_shown]}
, and <a class="$[view_active_members_link.class]" href="$[view_active_members_link.href]">$[total_online_not_shown] more...</a>
{/if}
</td></tr>
The code you're about to put in will go on the line between the {/if} and </td></tr>. The code which I use is this:<p>[<a href="themeparkfunv2.boards.net/members?group=1&view=group"><font color="ff0000[/font]">Administrators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=3&view=group"><font color="007aff">Moderators</font></a>] [<a href="themeparkfunv2.boards.net/members?group=10&view=group"><font color="008080">Site Editors</font></a>] [<font color="33003a">Forum Members</font>]
The code above will allow for 4 user groups to appear, with links to the list of members in that user group, for example, the main ProBoards admins.
If you would like to have your user groups linked to, you will need to replace the purple parts with that list of users, however, if you do not want to have links to the list of users, please remove ALL red parts and purple parts.
The bold black parts will determine what colour that user group is. If it is a specific shade, you will need to include the hex code, but if it is a solid colour (red/blue/green etc), you just need to put the name of that colour.
The blue parts determine the names of the user groups. Pretty self explanatory to be honest.
The green parts will split up your user groups in the list. This is not essential but is recommended. I personally have chosen [ ]s but you can choose whichever symbol you like.
You can add or remove user groups to your list by adding/removing this code...
[<a href="themeparkfunv2.boards.net/members?group=10&view=group"><font color="008080">Site Editors</font></a>]
...and then following the above instructions as you would! I hope you like this code, and I also hope that you understand the instructions for installing it onto your forum!
Kind regards,
Mr. Tom