Help > Forum > Users > Changing the default members list page

Changing the default members list page

When viewing the members list, the Top Posters page is shown by default. If you'd like to show the All page by default, please follow the instructions below. The All Members page is an alphebetically ordered list of all forum members.

  1. Log in to your Website Toolbox account.
  2. Click the Appearance link.
  3. In the Appearance menu, click the HTML link.
  4. Insert the following code into the Forum Head Tag HTML Code textbox:

    <script>
    window.addEventListener('DOMContentLoaded', (event) => {
            if(jQ('#members_list_show').length){
                if(jQ('#members_list_show a').attr('href') == '/register/members') {
                    jQ('#members_list_show a').attr('href','/register/members?sort=user&from=allmembers');
                }
            }
            if(jQ('#forum_header').length){
                jQ('#forum_header ul.wt-pages-links li a').each(function() {
                    if(jQ(this).attr('href') == '/register/members') {
                        jQ(this).attr('href','/register/members?sort=user&from=allmembers');
                    }
                });
            }
          
        });
    </script>
    

  5. Save the changes.


If you still need help, please contact us.