Jump to content

Join recently badge


Go to solution Solved by teraßyte,

Recommended Posts

  • Solution
Posted

That icon is not based on post count. It remains visible for the first 30 days after the member has registered the account:

	/**
	 * Has this member joined recently?
	 *
	 * @return boolean
	 */
	public function joinedRecently() : bool
	{
		if ( $this->member_id AND $this->joined->diff( \IPS\DateTime::ts( time() ) )->days < 30 )
		{
			return TRUE;
		}
		
		return FALSE;
	}

 

There is no setting to change the value, either. If you want to change it, you'll need a custom modification.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...