ISSUE SUMMARY: I have implemented the "Social" layout in the Socialize template and published the Community Toolbar. When a user logs in to the members area, he/she is directed to the user's profile page whereas I want the users to be directed to the members home page.
Hi, Richard.
Browse to Backend -> Extensions -> Plugins and look for JomSocial redirect plugin.
Enable it and configure landing points for log in, log out and failed login.
Make sure you choose right menu items with restrictions e.g redirecting logout to page restricted only to registered will cause redirection issue.
Thank you - your solution worked perfectly. One additional question - how can I get rid of the "login successful message" which appears at the top of the members home page after login?
Hi, Richard.
Well... you can't... unless you edit plugin. But this will be rather core hack.
Core hacks are not recommended nor supported as they may not working with future JomSocial releases and/or cause issues that will be not supported. Users with core files hack refuse to upgrade their installation to keep those hacks and they are stuck with outdated and unsupported versions.
But if you insist, just edit plugin file and look for variable message.
I understand that a hack is not recommended but I would like to do it - understanding the risks and disadvantages. Could you please tell me where I would find the plugin file and its name?
Thank you
Hi, Richard.
You need to edit this file:
ROOT/plugins/system/jomsocialredirect/jomsocialredirect.php
In line 85 you'll see code:
$mainframe->redirect($link, JText::_($this->params->get('redirect_login_msg', 'LOGIN_SUCCESSFUL')), 'message');$mainframe->redirect($link);