By Steve Mayes on Tuesday, 29 December 2015
Posted in General Issues
Likes 0
Views 1.4K
Votes 0
Hi, I was reading a lot of tickets and none of them is providing with clean solution about this.
User login from EasyDiscuss Toolbar and they are redirecting to Joomla Profile page. I want when someone is login to stay on the same page.

I'm using latest EasyDiscuss component and Joomla 3.4.8
Hi Steve,

I am really sorry for the delay of this reply.

You may open your /components/com_easydiscuss/controllers/controller.php and change the following code at line 405:
$return 		= JRequest::getURI();
// change to
$return = JURI::getInstance()->toString();


Hope these help.
·
Tuesday, 29 December 2015 14:06
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Steve,

The default behavior is it will not redirect to Joomla Profile page. Can you provide us your backend and FTP access so we can have a better look on your issue here?
·
Tuesday, 29 December 2015 11:20
·
0 Likes
·
0 Votes
·
0 Comments
·
I can't. Can you tell me what is the default behavior (i try 2 different installations of Uber Templates Joomlart)? And what file is telling the redirection so i can change it or something?
·
Tuesday, 29 December 2015 11:29
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Steve,

This is actually a known issue that has something to do with the newly release of joomla version. We are not sure why but we have manage to add the fix that will be include in the next release of easydiscuss. If you do not mind you can provide us with your Joomla backend and FTP access so we can help you to apply the fix on your site.
·
Tuesday, 29 December 2015 11:34
·
0 Likes
·
0 Votes
·
0 Comments
·
If you send me the fix privately i can manage this myself. How many files i need to change? I don't have problems doing that
·
Tuesday, 29 December 2015 11:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you give me the code Please?
·
Tuesday, 29 December 2015 12:45
·
0 Likes
·
0 Votes
·
0 Comments
·
It's 12:00 AM Here and i know when i go to bed you will ask me something and i'm not going to be able to respond because i will sleeping.... Then i have to wait tomorrow all day for you to respond... So before i go to bed:

Please paste the code here and the files i need to change for this Login problem to work. Thank you
·
Tuesday, 29 December 2015 13:03
·
0 Likes
·
0 Votes
·
0 Comments
·
One More question:
How to change the Logout button to stay on the same page? Right now is redirecting me to the homepage

Thanks
·
Tuesday, 29 December 2015 23:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Steve,

Edit the file in /components/com_easydiscuss/themes/simplistic/toolbar/default.php and at line 240 locate the codes below,


<input type="hidden" value="<?php echo base64_encode( JRequest::getURI() ); ?>" name="return" />


Replace it with,


<input type="hidden" value="<?php echo $return; ?>" name="return" />
·
Tuesday, 29 December 2015 23:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you! You are the best
·
Tuesday, 29 December 2015 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Steve
·
Tuesday, 29 December 2015 23:34
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post