PDA

View Full Version : How to extend a vbullerin class


Cruisey
05-16-2018, 09:49 AM
I have modified controller/auth.php which enable users to login in via their email address. The function I have modified was actionLogin(). All works great but, is it possible to override/extend that function? If so, how?


Also note that vBulletin 5 can be extended using PHP Classes to extend the API, Template Hooks,

This was taken from this post (https://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-feedback/4335842-vbulletin-5-2-0-php-hooks-and-you).

delicjous
09-03-2018, 04:57 AM
controller/auth.php is not an API. It's a frontend-controller... You could try to implement your own php-hook in it and write a new API to login with email.