The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
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" |
|
#2
|
|||
|
|||
|
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:
|
|
#3
|
||||
|
||||
|
Thanks, that worked!!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|