Disabling the 'I forgot my password' for certain usergroups

Do not post support requests, bug reports or feature requests. Discuss phpBB here. Non-phpBB related discussion goes in General Discussion!
Scam Warning
Darthmat
Registered User
Posts: 114
Joined: Mon Jun 23, 2008 4:08 pm

Re: Disabling the 'I forgot my password' for certain usergroups

Post by Darthmat »

I know it wouldn't stop the functionality, but for now that will do. ;)

Code: Select all

<!-- IF not U_MCP or not U_ACP -->
	case 'sendpassword':
		$module->load('ucp', 'remind');
		$module->display($user->lang['UCP_REMIND']);
	break;
//show the link
<!-- ENDIF -->
in ucp.php did not work. I got a syntax error. D:
Help please.
User avatar
Techie-Micheal
Security Consultant
Posts: 19511
Joined: Sun Oct 14, 2001 12:11 am
Location: In your servers

Re: Disabling the 'I forgot my password' for certain usergroups

Post by Techie-Micheal »

That's because you are mixing PHP with the template language.
Proven Offensive Security Expertise. OSCP - GXPN
Darthmat
Registered User
Posts: 114
Joined: Mon Jun 23, 2008 4:08 pm

Re: Disabling the 'I forgot my password' for certain usergroups

Post by Darthmat »

So what do I do?
User avatar
Techie-Micheal
Security Consultant
Posts: 19511
Joined: Sun Oct 14, 2001 12:11 am
Location: In your servers

Re: Disabling the 'I forgot my password' for certain usergroups

Post by Techie-Micheal »

Posting in MOD requests would probably be the best way to go.
Proven Offensive Security Expertise. OSCP - GXPN
Darthmat
Registered User
Posts: 114
Joined: Mon Jun 23, 2008 4:08 pm

Re: Disabling the 'I forgot my password' for certain usergroups

Post by Darthmat »

Alrightee.
ben2309
Registered User
Posts: 90
Joined: Mon Jul 21, 2008 2:49 pm
Location: Scotland :D

Re: Disabling the 'I forgot my password' for certain usergroups

Post by ben2309 »

I was talking about the first step, as you would have to bar it from the template as well as remove the function for those groups.
IF YOU VALUE YOUR PRIVACY, SAY NO TO PHORM.
SIGN THE PETITION, CLICK HERE.


Phorm is adware, and your ISPs want to force it on you. Tell them to go eat their own heads.

http://www.badphorm.co.uk/
Post Reply

Return to “phpBB Discussion”