Quick Authentication
Posted by Brian Moon
|
Re: Quick Authentication December 04, 2006 11:33AM |
Registered: 19 years ago Posts: 7 |
I think this has been stated once, but i'm not quite sure.
Should quick_auth-5.1.php read the custome user fields? if so, they should be in the $USER array correct?
Shiek, I tried using your script for custome user fields but got an empty $USER array. I set my directory location and everything. any tips? All I can figure is that I set up the user field wrong.. but it is listed in the admin page and users are able to set the field.
Should quick_auth-5.1.php read the custome user fields? if so, they should be in the $USER array correct?
Shiek, I tried using your script for custome user fields but got an empty $USER array. I set my directory location and everything. any tips? All I can figure is that I set up the user field wrong.. but it is listed in the admin page and users are able to set the field.
|
Re: Quick Authentication December 04, 2006 05:28PM |
Admin Registered: 25 years ago Posts: 4,504 |
|
Re: Quick Authentication December 04, 2006 07:37PM |
Registered: 19 years ago Posts: 7 |
|
Re: Quick Authentication January 18, 2007 11:07AM |
Registered: 22 years ago Posts: 683 |
Hi Brian,
I get this Warning when using the 5.0 Version:
Warning: Invalid argument supplied for foreach() in foo/foo.php on line 34
for line 34 being:
foreach($USER["user_data"] as $key=>$data){
... anything to worry about ?
EDIT:
Nevermind, I overlooked this: [www.phorum.org]
Maybe the link for v 5.0 in the first post should be changed to point to that updated version ?
thanx
pat
Edited 1 time(s). Last edit at 01/18/2007 11:13AM by pat.
I get this Warning when using the 5.0 Version:
Warning: Invalid argument supplied for foreach() in foo/foo.php on line 34
for line 34 being:
foreach($USER["user_data"] as $key=>$data){
... anything to worry about ?
EDIT:
Nevermind, I overlooked this: [www.phorum.org]
Maybe the link for v 5.0 in the first post should be changed to point to that updated version ?
thanx
pat
Edited 1 time(s). Last edit at 01/18/2007 11:13AM by pat.
|
Re: Quick Authentication February 13, 2007 05:51AM |
Registered: 19 years ago Posts: 70 |
I have the same problem as Mohammed
I'd like the user to be taken back to the page from where he comes from after login. I know this works within the forum like a charm by having the numbers of the forum and topics in the login link like: login?44,104 would take you to forum 44 and thread 104 or something like this.
Is there a way to do this with pages outside the forum? I tried simply adding the link after login.php - login.php?link.php but that doesn't work. any other way to get my use back to the page they come from??
Thanks a lot for the help and awesome little script btw, works perfect on my site except for that little problem I just posted.
Tino
Discover the Divine Truth | [www.discoverthedivinetruth.com]
I'd like the user to be taken back to the page from where he comes from after login. I know this works within the forum like a charm by having the numbers of the forum and topics in the login link like: login?44,104 would take you to forum 44 and thread 104 or something like this.
Is there a way to do this with pages outside the forum? I tried simply adding the link after login.php - login.php?link.php but that doesn't work. any other way to get my use back to the page they come from??
Thanks a lot for the help and awesome little script btw, works perfect on my site except for that little problem I just posted.
Tino
Discover the Divine Truth | [www.discoverthedivinetruth.com]
|
Re: Quick Authentication February 13, 2007 05:59AM |
Registered: 20 years ago Posts: 110 |
if anyones already done this, please post the modifications, otherwise, I'll work on it and post when I have something.
I'd like to see a "remember me" checkbox (default checked), so that, if unchecked, it doesn't remember people... this would be helpful for people using shared systems,etc...
I'd like to see a "remember me" checkbox (default checked), so that, if unchecked, it doesn't remember people... this would be helpful for people using shared systems,etc...
|
Re: Quick Authentication February 14, 2007 10:02AM |
Registered: 19 years ago Posts: 5 |
Brian, thank you so much for providing this code - it's made my life a lot easier. I'm just having (today) one tiny problem.
I've chucked a bit of code onto my non-Phorum pages that shows the username when the user is logged in - nice and simple to pull in $USER['username']. But it doesn't work on the Phorum pages... I have my Phorum wrapped in the same div as the rest of the site pages and your code is included and apparently working but $USER appears empty (no data on 'print'). The same cookie is set on both site and Phorum pages.
Any ideas why this is happening only on forum pages - I'm guessing that the variables are in conflict or something but Phorum seems to work OK?
Later Ok with some judicious poking I've determined that the script when run on the Phorum pages doesn't think the cookie is set, so doesn't run. This is very odd as manually deleting the cookie will cause an expected 'log out' and Firefox shows it as being set.
I think I'm more confused now than before.
Jon
Edited 1 time(s). Last edit at 02/14/2007 10:40AM by Cobnut.
I've chucked a bit of code onto my non-Phorum pages that shows the username when the user is logged in - nice and simple to pull in $USER['username']. But it doesn't work on the Phorum pages... I have my Phorum wrapped in the same div as the rest of the site pages and your code is included and apparently working but $USER appears empty (no data on 'print'). The same cookie is set on both site and Phorum pages.
Any ideas why this is happening only on forum pages - I'm guessing that the variables are in conflict or something but Phorum seems to work OK?
Later Ok with some judicious poking I've determined that the script when run on the Phorum pages doesn't think the cookie is set, so doesn't run. This is very odd as manually deleting the cookie will cause an expected 'log out' and Firefox shows it as being set.
I think I'm more confused now than before.
Jon
Edited 1 time(s). Last edit at 02/14/2007 10:40AM by Cobnut.
|
Re: Quick Authentication February 14, 2007 12:25PM |
Admin Registered: 25 years ago Posts: 4,504 |
Quote
Cobnut
Later Ok with some judicious poking I've determined that the script when run on the Phorum pages doesn't think the cookie is set, so doesn't run. This is very odd as manually deleting the cookie will cause an expected 'log out' and Firefox shows it as being set.
Which version are you using? I think the 5.1 version handles this situation, but the 5.0 version does not.
Brian - Personal Blog
|
Re: Quick Authentication February 15, 2007 03:33AM |
Registered: 19 years ago Posts: 5 |
|
Re: Quick Authentication March 01, 2007 05:16AM |
Registered: 19 years ago Posts: 5 |
Sorry, only registered users may post in this forum.

