[AwesomeBB] 'The team' page - Update your forum's staff list automatically
2 posters
Page 1 of 1
[AwesomeBB] 'The team' page - Update your forum's staff list automatically
Preview:
Author: @zest_n
Version: AwesomeBB (Another version just requires changing the 'class name' in the code, but I don't have time to do it)
Step 1: Add all the staff members you want to display on the 'The Team' page to a usergroup of your choice, and remember the ID of that group (/g1-, g2-...)
In the future, if there are new staff members, the administrator needs to add them to this group if they want to display their names on the 'The Team' page.
This group must be either a open group or a closed group; it cannot be a hidden group.
If you want guests to see this page: ACP >> Users & Groups >> Special rights >> View the profile & Usergroups >> Guest >> Save.
Step 2: ACP >> Modules >> HTML & Javascript >> HTML pages management >> Create in advanced mode (HTML)
Title: The team
Do you wish to use your forum header and footer ? Yes
Content:
NOTE:
- Replace the number
in
with the ID of the group (step 1)
Author: @zest_n
Version: AwesomeBB (Another version just requires changing the 'class name' in the code, but I don't have time to do it)
Description wrote:- Automatically update your staff list through a usergroup.
- Display information such as rank, usergroups automatically.
- Includes 4 columns: Username, Usergroups, Posts, From, and E-mail.
Step 1: Add all the staff members you want to display on the 'The Team' page to a usergroup of your choice, and remember the ID of that group (/g1-, g2-...)
In the future, if there are new staff members, the administrator needs to add them to this group if they want to display their names on the 'The Team' page.
This group must be either a open group or a closed group; it cannot be a hidden group.
If you want guests to see this page: ACP >> Users & Groups >> Special rights >> View the profile & Usergroups >> Guest >> Save.
Step 2: ACP >> Modules >> HTML & Javascript >> HTML pages management >> Create in advanced mode (HTML)
Title: The team
Do you wish to use your forum header and footer ? Yes
Content:
- Spoiler:
- Code:
<div class="page-header"><h1>The team</h1></div>
<script>/* staff list by zest_n */
$(document).ready(function(){$.get('/g1-',function(url){$('#team').html($('.table1',url));$('#team').find('a[href^="/u"]').each(function(){var rank=$(this).attr('href');$(this).after('<div class="rank"></div>');$(this).next().load(rank+' .mod-login-rank img').before('<br />')});$('#team').find('a[href^="/privmsg?mode=post&u="]').each(function(){var usergroup=$(this).attr('href').match(/[0-9]+/g);$(this).load('/u'+usergroup+'groups .group-header').removeAttr('href').css('color','#000')})})})
</script><div id="team"></div>
<style>table th:nth-child(7),table td:nth-child(7),table td:nth-child(6),table th:nth-child(6){display:none}td[colspan="8"]{display:none}th[class="pm"]{font-size:0}th[class="pm"]:after{content:"Usergroups";font-size:13px}#team img:not(#team .rank img){float:left;margin:0 7px 0 0}</style>
NOTE:
- Replace the number
|
|
Last edited by zest_n on Fri 27 Sep - 1:29; edited 2 times in total
zest_n- New Member
- Posts : 16
Reputation : 7
Language : English
invisible_fa, SarkZKalie, TonnyKamper and كونان2000 like this post
Re: [AwesomeBB] 'The team' page - Update your forum's staff list automatically
It's great.
Thank you for sharing.
Thank you for sharing.
zest_n likes this post
Re: [AwesomeBB] 'The team' page - Update your forum's staff list automatically
@كونان2000 Thanks for your appreciation!
zest_n- New Member
- Posts : 16
Reputation : 7
Language : English
كونان2000 likes this post
Similar topics
» Why is there no description in the awesomeBB blog list?
» How to add a staff list?
» Staff List Help
» Forum Staff List.
» Please Help Me Toggle My Staff List
» How to add a staff list?
» Staff List Help
» Forum Staff List.
» Please Help Me Toggle My Staff List
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum