Automaticly register new Joomla users


  • Default avatar
    bernhard4    
     9 months ago
    0

    Hi sevi,


    Currently we are automatically registering a new Joomla user for rewards but still need to manually generate the afiliate link for rewards.


    How could we trigger the code to automatically do the same function for currently new created Joomla user so no further step is any more required?



  • Your avatar
    seyi    
     9 months ago
    0

    Hello,

    The link is generated on demand and is generated when the user goes to the invitation page in the front end:
    index.php?option=com_aworewards&view=invitation

    If you are trying to force it to generate on user registration you can add some custom code.  In the file:

    www/plugins/user/aworewards/aworewards.php, around line 30 after
    <?php
                AR
    ()->storereward->user_registration$user );
    ?>

    Add this
    <?php
                AR
    ()->helper->registration_link$user['id'] );
    ?>

  • Default avatar
    ssnobben    
     8 months ago
    0

    OK great I looking for a solution where I have certain user membership type(s) that register to a certain membership plan to be an affiliate type.

    That new affliate membership type can then marketing (during a certain time period) to get new more affiliates joining as members and these new affliates can be tracked to a affliates maximum points/rewards for sign up for memberships type(s).

    So no payouts of money instead using points/rewards to a max value of xxx value points/currency during a period of time setting(s).

    Would this also be possible to do and/or do with Awoaffiliate,Awotracker and AwoReward? 


  • Your avatar
    seyi    
     8 months ago
    0

  • Default avatar
    ssnobben    
     8 months ago
    0

    Ok thks will check that one and follow up..