Topic: Help Fast - Password request link gives no permission page

The password request works, but once I get the email and press the "http://site.com/profile.php?id=3&ac … y=xxxxxxxx" link and it opens up the brower, I just get an "You do not have permission to access this page." page.

I'm not sure where the fault or permission error is, but no guests that request a password is allowed to change it.

Realy need some help with this.

Thank You,
PhaxeNor

Re: Help Fast - Password request link gives no permission page

So when exactly are you getting this error message, upon clicking the "change your password" link which gets sent to you via email?

Re: Help Fast - Password request link gives no permission page

When I have recived the email and get the "Change Password" link

Re: Help Fast - Password request link gives no permission page

Can you link me to your forums, also try clearing your cache.

5 (edited by PhaxeNor 2007-05-23 18:11)

Re: Help Fast - Password request link gives no permission page

Here is the forum
http://forums.saf-squad.co.uk/

Will try clearing the chaches now.

Edit: After the chache clearing it still doesn't work

Re: Help Fast - Password request link gives no permission page

I think I know why.. I added this line:

// mod: no guest view
if ($pun_user['is_guest'])
    message($lang_common['No permission']);

Because I didn't want guests to be able to view the user profile. But it looks like it has an effect on the Password change.

Re: Help Fast - Password request link gives no permission page

that would be your problem, that was my next question, I was going to ask you if you added that to any of your pages.

Re: Help Fast - Password request link gives no permission page

Just this page because I don't want guests to view a user profile.

Re: Help Fast - Password request link gives no permission page

Change your code to

if ($pun_user['is_guest'] AND $_GET['action'] != 'change_pass')
    message($lang_common['No permission']);
Looking for a certain modification for your forum? Please take a look here before posting.

10 (edited by PhaxeNor 2007-05-24 14:17)

Re: Help Fast - Password request link gives no permission page

Thank you, its working now smile