31
Bots and plugins / Re: Plugins and related "triggers" that are not tied to content
« Last post by cjstudio on April 11, 2024, 20:15:58 »Hello again. I think I answered incorrectly. Here is what I want to do:
I want to be able to include or setup "triggers" for 1) when a user registers and 2) when a member logs in. I wish to port an extension I coded for Joomla (it's similar to "An Archive of Our Own") over to this platform as Elxis seems to have sane developers. I also am using a standalone forum. This extension is crucial to a member site I'm developing. I want to be able to perform special actions after a user successfully registers and/or after a member logs in (i.e., redirect to a special page).
Additionally, I want to be able to stripe member data from Elxis to the forum once a user logs in. I've written similar code in the past. For example, member logs into CMS successfully, system checks to see if that member exists in the forum member table. If not, the user data is then striped to the forum; whether I have to do a special hash of the "plain" password of course depends upon the encryption system the forum uses; if the forum uses the same method Elxis uses, then it's a simple copy of the user data from Elxis table(s) to corresponding forum user table fields. And finally, the "session" for that member would be started. No "bridge" code actually, just sharing of data and the forum code does what it needs to do. At least that has worked for me.
I hope this provides a clearer picture as to what I'm attempting to accomplish and thus why I need to create these "triggers". If there is a way to "inject" these triggers into Elxis code without hacking the core, that would be great. Thanks!
I want to be able to include or setup "triggers" for 1) when a user registers and 2) when a member logs in. I wish to port an extension I coded for Joomla (it's similar to "An Archive of Our Own") over to this platform as Elxis seems to have sane developers. I also am using a standalone forum. This extension is crucial to a member site I'm developing. I want to be able to perform special actions after a user successfully registers and/or after a member logs in (i.e., redirect to a special page).
Additionally, I want to be able to stripe member data from Elxis to the forum once a user logs in. I've written similar code in the past. For example, member logs into CMS successfully, system checks to see if that member exists in the forum member table. If not, the user data is then striped to the forum; whether I have to do a special hash of the "plain" password of course depends upon the encryption system the forum uses; if the forum uses the same method Elxis uses, then it's a simple copy of the user data from Elxis table(s) to corresponding forum user table fields. And finally, the "session" for that member would be started. No "bridge" code actually, just sharing of data and the forum code does what it needs to do. At least that has worked for me.
I hope this provides a clearer picture as to what I'm attempting to accomplish and thus why I need to create these "triggers". If there is a way to "inject" these triggers into Elxis code without hacking the core, that would be great. Thanks!