Jump to content

Feature: default profile tab

Featured Replies

Posted

It would be wonderful if default profile tab could be set in constants.php or ACP.

So that when member's profile is called, then gallery tab or custom app tab is shown instead of core:info tab.

It can be done now. Not as a power setting, but by manually setting $_GET['tab'].

if ( ( strstr( $_SERVER['REQUEST_URI'], '/user/' ) OR isset( $_GET['showuser'] ) ) AND ! isset( $_GET['tab'] ) )
{
	$_GET['tab'] = 'status';
}
  • Author

Martin, looks nice. Thank you! I had the hack in the view.php, patching the file, now removed to constants.php. :thumbsup:

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.