1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Add another "notable member" tab

For example, to list special usergroups

  1. Jake Bunce
    Compatible XF Versions:
    • 1.2
    library/XenForo/ControllerPublic/Member.php

    Add the red code (and specify the secondary group id for your vip members):

    Code:
    	protected function _getNotableMembers($type, $limit)
    	{
    		$userModel = $this->_getUserModel();
    
    		$notableCriteria = array(
    			'is_banned' => 0
    		);
    
    		if ($type == 'vip')...
    You do not have permission to view the full content of this resource.

Recent Reviews

  1. RamzanHD
    RamzanHD
    5/5,
    worked perfectly as i wanted it to..! welldone to you guys really helped me out my forum looks better now
  2. adwade
    adwade
    5/5,
    This worked great and allowed us to add a new Supporter Tab, to hi-light our members who support the board with donations!
  3. zoldos
    zoldos
    5/5,
    This is an awesome mod! Thanks!
  4. JordanH
    JordanH
    5/5,
    Another great addon! Nicely done, and works as expected.
  5. markku
    markku
    5/5,
    Great
  6. dwdmadmac
    dwdmadmac
    5/5,
    aha yes Love it! thank you!
  7. sampick69
    sampick69
    5/5,
    Nice thanks!