Jump to content

Recommended Posts

Posted

Hi,

By default, referrals are active for a year:

In /Dispatcher/Front:

\IPS\Request::i()->setCookie( 'referred_by', \intval( \IPS\Request::i()->_rid ), \IPS\DateTime::create()->add( new \DateInterval( 'P1Y' ) ) );

Β 

… 1 year isβ€¦Β πŸ˜³Β πŸ˜²Β 

That would be great to be able to choose this duration, like 1 week, 1 month, 10 days…

Thank you!

Posted
On 1/28/2021 at 4:10 AM, LaCollision said:

Hi,

By default, referrals are active for a year:

In /Dispatcher/Front:


\IPS\Request::i()->setCookie( 'referred_by', \intval( \IPS\Request::i()->_rid ), \IPS\DateTime::create()->add( new \DateInterval( 'P1Y' ) ) );

Β 

… 1 year isβ€¦Β πŸ˜³Β πŸ˜²Β 

That would be great to be able to choose this duration, like 1 week, 1 month, 10 days…

Thank you!

Hey @LaCollision, I think this is an interesting suggestion! Let me pass this along and see if there's a simple solution or if it requires a lot of work. I'll circle back πŸ™Β 

Posted
On 1/29/2021 at 9:10 PM, Jordan Invision said:

Hey @LaCollision, I think this is an interesting suggestion! Let me pass this along and see if there's a simple solution or if it requires a lot of work. I'll circle back πŸ™Β 

Thank you!

I think it's just a setting to be added in the ACP 😊

Posted
On 2/10/2021 at 11:50 PM, Jordan Invision said:

Hey @LaCollisionΒ - this is something we are going to look into further and eventually implement. πŸ™ πŸŽ‰Β 

Great to hear that. Thanks for making it happen.

  • Recently Browsing   0 members

    • No registered users viewing this page.
Γ—
Γ—
  • Create New...