John 3:16 Posted March 19, 2015 Share Posted March 19, 2015 Is there any dev docs, like how to create a hook, an example. I am super none dev and need a hook that after registration sends off a few bits of the info to another script. I am trying to find how to build a hook but the docs are no where to be found, well at least I have not found them. Any ideas? Link to comment Share on other sites More sharing options...
Ilya Hoilik Posted March 19, 2015 Share Posted March 19, 2015 http://community.invisionpower.com/4docs/advanced-usage/development/ Link to comment Share on other sites More sharing options...
John 3:16 Posted March 19, 2015 Author Share Posted March 19, 2015 Thanks IPSRussia, I found those earlier but no real example on how to do a hook. Unless I am again missing something. I am a marketer, not a dev so everything I do normally involves a hack lol. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted March 19, 2015 Share Posted March 19, 2015 Thanks IPSRussia, I found those earlier but no real example on how to do a hook. Unless I am again missing something. I am a marketer, not a dev so everything I do normally involves a hack lol.http://community.invisionpower.com/4docs/advanced-usage/development/plugins-an-example-r72/This... should cover it, is there anything in specific you are looking for? Link to comment Share on other sites More sharing options...
John 3:16 Posted March 19, 2015 Author Share Posted March 19, 2015 Cool Marcher! That is a ton of good info there.I am looking for how to hook into what happens after Registration. I am use to being able to send a visitor to a thank you page but in IPS there is no such controls. In this case I am ok sending them to the forum after registration but would like to hook into the registration and send some of their info to a external script. The script is curl based and it's pretty simple but I have no idea where to put it so that it fires after the person registers. The script is part of a dialer and the end user knows they will get a call, so that is what I am trying to accomplish. Link to comment Share on other sites More sharing options...
Marcher Technologies Posted March 19, 2015 Share Posted March 19, 2015 Would likely be easiest to do a code hook on \IPS\Member, overloading the method memberSync, checking the $method to be 'onCreateAccount' before running your code, then calling the parent method after. Link to comment Share on other sites More sharing options...
John 3:16 Posted March 20, 2015 Author Share Posted March 20, 2015 My head just just fell off my shoulders, lucky I have a spare lol. Time to get hacking. Thanks Marcher for the insight. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.