Hi,
I am working on a plugin and would like to intercept the registration and save the new user data on a different server. Do you see any issues with using _completeRegistration() for that?
I found my error. I copied the code and never updated the input name...
I am able to update the DB, but now I am not able to retrieve the value from it.
EDIT: I found a work around that by using $visitor['silverpopintegration_subscription'], but would like to know what I am doing wrong? Do I...
I am testing now with $writer->set('silverpopintegration_subscription', $this->_input->filterSingle('silverpopintegration_subscription', XenForo_Input::BOOLEAN)); but still not good.
here is my form:
<xen:title>{xen:phrase silverpopintegration_email_preferences}</xen:title>
<xen:require...
@Jake B. do you have any idea why
$settings = $this->_input->filter(array('silverpopintegration_subscription' => XenForo_Input::UINT));
is not getting populated from my form?
When I try to save to xf_user_option I get this: "The field 'silverpopintegration_subscription' was not recognised."
Here is my code:
class SilverpopIntegration_XenForo_ControllerPublic_Account extends XFCP_SilverpopIntegration_XenForo_ControllerPublic_Account {
public function...
I am still not understanding how I am supposed to same my data
I created a new page: /index.php?account/email-preferences with a checkbox that I would like to save the state of in the DB.
class SilverpopIntegration_XenForo_DataWriter_User extends...
Could someone please, help me understand those two methods?
/**
* Post-save handling.
*/
protected function _postSave()
/**
* Pre-save handling.
*/
protected function _preSave()
Those are not very clear to me.
In my project, I am extending...