|
|
|
Redirect to restricted content after sess. expired
|
|
Date: 2008/08/17 18:32
|
By: tomcmok
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
Hi,
I've been searching through the forum for the solution to that issue, but havent' found the exact solution (maybe missed something - sorry then).
The CASE I'm struggling with is that if someone stays logged on, does not do anything and his session expires. He comes back to the portal and clicks on some link that leads to the content restricted to the registered users only.
When I have no CB installed, Joomla (1.5) redirected to the logon form and then after user logged back on, it redirected to the conetent he originally wanted to view. After installing CB (and following instructions with disabling Joomla login and anablling CB one), the first issue I has was that in the above CASE yser was redirected to the standard Joomla logon form not the CB's one. This one I've solved following one of the suggestions on this forum to put the renamed 'mod_cblogin.php' into the template's html/com_user/login dir - that solved the problem, hovever the proper redirection still didn't work. When the user (still above CASE) clicked on a restricted link - i.e.:
http:....../index.php/forum.html
...he got redirected to CB login form with url like:
http:......./index.php?option=com_user&view=login&return=aHR0cDovL3Rlc3QuaGl0ZW50ZXJwcmlzZXMucGwvaW5kZXgucGhwL2ZvcnVtLmh0bWw=
...and after logging on, he got redirected to the standard Joomla logout form instead of the requested restricted content (Forum in the above case).
Any suggestions how to solve that?
Thanks in advance. Tom
Post edited by: tomcmok, at: 2008/08/18 00:54
|
|
The topic has been locked. |
|
|
|
|
Re:Redirect to restricted content after sess. expired
|
|
Date: 2008/08/18 11:36
|
By: tomcmok
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 2 |   | |
|
...well I see that this works ok on this site - when I try to access the restricted conent I'm getting the info that I need to logon and after I do that, I'm getting redirected to the content I was requesting.
That mean's I'm missing something in my site configuration - could somebody point me at the solution?
Thanks, Tom
|
|
The topic has been locked. |
|
|
|
|
Re:Redirect to restricted content after sess. expired
|
|
Date: 2008/11/30 10:52
|
By: hayama
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
I have been playing with this issue for a month now and cannot figure it out either. Is there any help out there that I am still missing?
It seems that com_user had something like // Get the return URL if (!$url = JRequest::getVar('return', '', 'method', 'base64')) { $url = base64_encode($params->get($type));
that is supposed to return user to the registered article they clicked on after signing in... but it did not work for me. I want to use com_profiler anyway, but would still like users to be redirected to the article they clicked on, in this case an article from "read more" link on an email newsletter
Post edited by: hayama, at: 2008/11/30 10:57
|
|
The topic has been locked. |
|
|
|
|
Re:Redirect to restricted content after sess. expired
|
|
Date: 2008/11/30 12:04
|
By: hayama
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
Thank you beat
I did not know this was a known problem...
Are you referring to the ADJR - Disable Joomla Registration extension? I have already installed this and indeed I do not get the com_user pages I get the com_profiler ones, but still do not get 'returned' correctly
|
|
The topic has been locked. |
|
|
|
|
Re:Redirect to restricted content after sess. expi
|
|
Date: 2008/12/01 08:55
|
By: hayama
|
Status: User
|
|
|
Karma: 0  
|
|
Fresh Joomlapolitan  | Posts: 3 |   | |
|
|
or were you referring to the 'Read more' mambot from Run Digital?
|
|
The topic has been locked. |
|
|