By Omid Amraei on Friday, 15 April 2016
Posted in Technical Issues
Replies 9
Likes 0
Views 603
Votes 0
When a users wants to login using EasyDiscuss login box at the bottom the question, it will be redirected to the profile page. I want it to stay at the same page they have tried to login.

Is there any options to configure it?
Hi Omid Amraei,

I have add the code (below) on file:
DIR:../components/com_easydiscuss/views/post/view.html.php
$return = JURI::getInstance()->toString();
$return = base64_encode($return);

$theme->set( 'return'				, $return );



for the file
DIR:../components/com_easydiscuss/themes/simplistic/form.reply.login.php

<?php echo base64_encode( DiscussRouter::getPostRoute( $post->id , false ) ); ?>
//change into
<?php echo $return; ?>


Hope this helps
·
Friday, 15 April 2016 15:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Omid Amraei,

I am sorry for the inconvenience caused. I have fix this issue internally. It should work fine now
Please give it a try.

Have a nice day ahead Omid
·
Friday, 15 April 2016 12:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, thanks. It's working. Would you please let me know what was causing this issue? Maybe I need to know how to fix it in the future.
·
Friday, 15 April 2016 15:18
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks. are these changes persistent after update?
·
Friday, 15 April 2016 16:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Omid,

For your information, for the incoming EasyDiscuss4 the redirection issue have been fixed
·
Friday, 15 April 2016 16:20
·
0 Likes
·
0 Votes
·
0 Comments
·
Great! waiting for EasyDiscuss4
Do we need to buy a new licence for it?
Is there a backward compatibility?
·
Friday, 15 April 2016 16:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Omid,

You no need to buy a new license, as long your license is still valid, you can directly upgrade the stable version of EasyDiscuss4 and yes it is backward compatible.
·
Friday, 15 April 2016 17:19
·
0 Likes
·
0 Votes
·
0 Comments
·
Big Like
·
Friday, 15 April 2016 17:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Please let us know if you require any further assistance Omid

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry.
·
Friday, 15 April 2016 17:58
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post