Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 16 May 2018, 11:49
Cruisey Cruisey is offline
 
Join Date: May 2018
Post How to extend a vbullerin class

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.
Reply With Quote
  #2  
Old 03 Sep 2018, 06:57
delicjous's Avatar
delicjous delicjous is offline
 
Join Date: Nov 2014
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.
__________________
vBulletin-forum.de | Das deutschsprachige vBulletin 5 Forum! | Widgets, Mods und Anleitungen auf deutsch.
Team online, Latest Profile-Visitors, Disable-Postcount, Auto-close Threads, Latest Likes, Top-Posters PRO, New&Free: vB5 MemberMap
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 16:10.

Layout Options | Width: Wide Color: