![]() |
Can some export help me write this simple plugin??? please?
basically what I want to do is
prevent "user awaiting email confirmation" to view https://www.mydomain.com/profile.php?do=editpassword I heard that you have to create a plug in via the usercp_start hook location. Does anybody know how to create a plugin for this?? btw, the user id of user awaiting email confirmation on my forum is "3" |
Hook usercp_start isn't in profile.php, but if you want to prevent usergroup 3 users from doing profile.php?do=editpassword, you could use hook location profile_editpassword_start and code like:
PHP Code:
|
Thanks, that worked!!
|
All times are GMT. The time now is 09:26 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|