By Cosmin Marian Circu on Thursday, 04 April 2019
Posted in General Issues
Replies 3
Likes 0
Views 631
Votes 0
Hi

Is there a way to set a redirect page for when the user logs out of the site from his Easy Discuss user config menu?

Thank you

Kind regards
Cosmin
Hey there,

I am really sorry for the delay of this reply as it is a weekend for us here.

I think this work around solution can be meet your current requirement :

1. Create logout menu item and set the access to registered, then set the redirection to your site homepage, you can refer my attached screenshot, mean this logout menu item only appear on registered user only.

2. Apply this following custom css into your site backend > Easydiscuss > theme > custom css , so it will disappear this logout button from the Easydiscuss toolbar dropdown section.

body #ed .ed-toolbar [data-ed-toolbar-logout] {
display: none;
}


If you still want user click that logout button from the toolbar dropdown, then you have to modify this on this PHP file -> JoomlaFolder/administrator/components/com_easydiscuss/includes/router.php

Add this following code into this section, you can refer my 3rd screenshot below.


$redirect = JURI::root();
·
Saturday, 06 April 2019 09:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

We do have this setting but it just has 3 options for it. http://take.ms/PUW4Q

Or you can use EasyDiscuss - Welcome Module's 'Logout Redirection URL' setting. http://take.ms/P1xmw

Or you also can use Joomla 'Logout' menu item's 'Logout Redirection Page' setting in the Option tab. http://take.ms/IGUmj
·
Thursday, 04 April 2019 10:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi and thank you for the reply.

None of the above seems to be working for me. I want for the user to be logged out to the home page of the site ( different to front page of forum ) when logging out from the Toolbar`s Log-out button. Another option would be to hide the the logout button, but I can not see this option on the site admin end.

Kind regards
Cosmin
·
Saturday, 06 April 2019 08:39
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post