UPDATES PayPlans 5.0.8 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Login Redirect if user already logged in

gökhan · ·
8:00 PM Saturday, 15 February 2014
None
for beta 1.2.0, i changed these code below, Redirect if user already logged in from home page to dasboard

mod_easysocial_login.php

$my 		= Foundry::user();

// If user is already logged in, there's no point to show the login form.
if( !$params->get( 'show_logout_button' , true ) && $my->id )
{
return;
}


to

$my 		= Foundry::user();

// If user is already logged in, there's no point to show the login form.
if( $my->id > 0 )
{
return $this->redirect( FRoute::dashboard( array() , false ) );
}


But it doesnt work with 1.2.1, i am not sure why?
The replies under this section are restricted to logged in users or users with an active subscription with us