Sonya* Posted May 8, 2013 Share Posted May 8, 2013 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. Link to comment Share on other sites More sharing options...
Martin A. Posted May 8, 2013 Share Posted May 8, 2013 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'; } Link to comment Share on other sites More sharing options...
Sonya* Posted May 8, 2013 Author Share Posted May 8, 2013 Martin, looks nice. Thank you! I had the hack in the view.php, patching the file, now removed to constants.php. :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.