Yes, this event is generated from the webloginpe/webloginpe snippets where you also get ’username’, ’userpassword’. Its not generated by the ’core’ as such. Also I think the syntax is $e = $modx->event , not Event.
Use MODx, or the cat gets it!
Yes sorry, webloginpe repeated twice above, should read weblogin/webloginpe snippets. What I meant by ’core’ here was stuff under the ’manager’ folder, rather than ’assets’. Can you not elect to not install the weblogin snippet at install time?
Use MODx, or the cat gets it!
Thanks guys.
So weblogin/webloginpe both call the event and I can write a plugin that does something before then final login process. Therefore I’d still need to use either snippet?
I’m wanting to try and build a bit of a plugin to allow phpBB3 and ModX synchronisation I’m hoping that onBeforeWebLogin fires and runs prior to username and password parse so I can sync the two accounts to maintain password continuity.
Would this be the best place to start or should I try and code this from a different event?
BBloke
OK, this has been attempted by others, have a look here
http://modxcms.com/forums/index.php?topic=30513.0;wap2, if you searc h the forums for
phpBB3 there are other threads here that may help you with the integration.
Use MODx, or the cat gets it!