Store
Community Documentation

v3 Knowledgebase

Add New Users tab to the Whats New Section

If you want to add New Users tab to the Whats New Section follow below.Please NoteThis tutorial requires editing of core files and could be overwritten when you update, please bear this in mind.Open
Quote:

module/user/include/service/callback.class.php
before
}
?>
at end of file
public function getWhatsNew()
	{
		return array(
			'user.users' => array(
				'ajax' => '#user.getNew?id=js_new_item_holder',
				'id' => 'user',
				'block' => 'user.new'
			)
		);
	}
It will display the last 8 users to join in a Users tab in the Whats New box, clear your cache after uploading the edited file.If you want to change the number displayedOpen
Quote:

module/user/include/service/user.class.php
find and change
public function getNew($iLimit = 8)
Change the 8 to whatever you like.Save the file and reupload.Clear your cache afterwardsDisclaimerThis tutorial is provided as is for members of this forum and must not be reproduced on any other site/forums without consent.