CMS MADE SIMPLE FORGE

Frontend Users

 

[#7260] viewuser display profile of actual loggedin user when no uid specified

avatar
Created By: Tomáš Havlas (tomas.havlas)
Date Submitted: 2011-11-27 19:32

Assigned To: Robert Campbell (calguy1000)
Resolution: Fixed
State: Closed
Summary:
viewuser display profile of actual loggedin user when no uid specified
Detailed Description:
it would be nice, that there will be ability, when i use code {cms_module
module=FrontEndUsers action=viewuser} without setting uid, that profile of
actually logged in user will be shown. if user is not logged in then, nothing's
shown like now. possible solution as easy as replacing:
if( !isset($params['uid']) ) return; (line 39)
by:
if( !isset($params['uid']) ) 
  {
	$params['uid'] = $this->LoggedInId();
	if( empty($params['uid']) ) return;
  }
it would be nice to see this in next release of this module

History

Updates

Updated: 2013-04-23 09:49
state: Open => Closed

Updated: 2012-02-10 22:19
resolution_id: => 7