Tracker email of ATID

Rick Burns
Rick Burns
Offline
0
I am unable to get Affiliate Tracker to include the ATID of a new affiliate in the email that is sent by the system...even after approval.

The email includes the following.
Dear test plugin,

Your affiliate account has been approved

Account details:

Name: new test account
Contact name: test plugin
Contact e-mail: ylppljtm@eelmail.com
Contact username: PaidSubscriber

Please advise.

Accepted Answer

Rick Burns
Rick Burns
Offline
Tuesday, April 05 2016, 12:34 PM - #Permalink
0
I do not know...but when approving an account the admin email is ok, but the user email does not include the edited code result.
I have attached the files.
The reply is currently minimized Show
Responses (8)
  • Accepted Answer

    Tuesday, April 05 2016, 03:46 PM - #Permalink
    0
    the link is showing fine on the admin email.

    I guess what's missing is that you haven't added this to the "confirmation" email, in

    /administrator/components/com_affiliatetracker/views/account/tmpl/default_email.php
    The reply is currently minimized Show
  • Accepted Answer

    Rick Burns
    Rick Burns
    Offline
    Tuesday, April 05 2016, 12:42 PM - #Permalink
    0
    Here is the file and subsequent emails.


    /*------------------------------------------------------------------------
    # com_invoices - Invoices for Joomla
    # ------------------------------------------------------------------------
    # author Germinal Camps
    # copyright Copyright (C) 2012 JoomlaFinances.com. All Rights Reserved.
    # @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
    # Websites: http://www.joomlafinances.com
    # Technical Support: Forum - http://www.joomlafinances.com/forum
    -------------------------------------------------------------------------*/

    //no direct access
    defined('_JEXEC') or die('Restricted access.');

    $user = JFactory::getUser();

    switch($this->account->towho){

    case "user":

    $theusername = $this->account->name ;

    break;

    case "admin":

    $theusername = JText::_('ADMINISTRATOR') ;

    break;
    }

    switch($this->account->towho){

    case "user":
    ?>








    :



    : account->account_name; ?>

    :account->id); ?>

    : account->name; ?>

    : account->email; ?>

    : account->username; ?>






    case "admin":
    ?>








    :



    : account->account_name; ?>

    :account->id); ?>

    : account->name; ?>

    : account->email; ?>

    : account->username; ?>





    }
    ?>
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, April 05 2016, 10:58 AM - #Permalink
    0
    this is correct:

    : account->id); ?>


    what is the problem?
    The reply is currently minimized Show
  • Accepted Answer

    Rick Burns
    Rick Burns
    Offline
    Tuesday, April 05 2016, 02:51 AM - #Permalink
    0
    I got this to work on the admin case...but not on the user case.
    :account->id); ?>
    The reply is currently minimized Show
  • Accepted Answer

    Rick Burns
    Rick Burns
    Offline
    Tuesday, April 05 2016, 01:59 AM - #Permalink
    0
    I thought I had this working with your kind help...but I find it isnt. Could you please correct my meager attempt at the code?
    Thanks,

    : account->account_name; ?>

    : account->id; ?>

    : account->name; ?>

    : account->email; ?>

    : account->username; ?>
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 26 2015, 08:22 PM - #Permalink
    0
    well you can insert it wherever you need..

    the code is: account->id; ?>
    The reply is currently minimized Show
  • Accepted Answer

    Rick Burns
    Rick Burns
    Offline
    Monday, October 26 2015, 08:04 PM - #Permalink
    0
    Thanks for the quick response. Found the file.
    Can you provide me the code and location to insert it?

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Monday, October 26 2015, 07:39 PM - #Permalink
    0
    You can simply add it to the email template. This email is created in the file:

    /components/com_affiliatetracker/views/account/tmpl/default_email.php
    The reply is currently minimized Show
Your Reply