ensigcom
ensigcom
Offline
0
Hello,

I have a few issues, i am not sure if they are interconnected or not:

A) Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgAffiliatesPayment_paypal has a deprecated constructor in /home/user/public_html/plugins/affiliates/payment_paypal/payment_paypal.php on line 18
(i use the latest versions). Could you please check if the paypal plugin needs updating for PHP 7.0?

B) Console error, only on page where user creates new affiliate account: Uncaught ReferenceError: jQuery is not defined, account.js:5. Is this related to the above? If not, what could be causing the error? If you need access details, please let me know and i will send you an email.

C) The user/affiliate CAN create/request a new aff account WITHOUT filling in his paypal email. I also see no way for the user to add it later or to edit it, and no way for the admin to add it in the back-end. I wanted to know how to make this field mandatory, and how can the user later edit his paypal email for receiving commission payments.

Thank you for your help and clarifications,
George

Accepted Answer

Joan Vilà
Joan Vilà
Offline
Wednesday, May 11 2016, 02:15 PM - #Permalink
0
Hello again,

To solve it, you need to go to components/com_affiliatetracker/assets/styles.css line 176

and remove this code:


.icon-apply:before, .icon-edit:before, .icon-pencil:before {
content: "" !important;
}


I think that by doing this the problem will be solved
The reply is currently minimized Show
Responses (5)
  • Accepted Answer

    ensigcom
    ensigcom
    Offline
    Wednesday, May 11 2016, 01:13 PM - #Permalink
    0
    The style code did not appear above, sending a screenshot instead
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    ensigcom
    ensigcom
    Offline
    Wednesday, May 11 2016, 01:11 PM - #Permalink
    0
    Thanks Joan, this fixed it the errors!

    I also found the edit button regarding C above, it is there (clickable) but it is invisible. I previously had a problem with disappearing buttons and you fixed it with an override / edit (which i re-apply after updates). You added the following style in these three files:

    public_html/components/com_affiliatetracker/views/conversions/tmpl/default.php
    public_html/components/com_affiliatetracker/views/logs/tmpl/default.php
    public_html/components/com_affiliatetracker/views/accounts/tmpl/default.php



    Can i add anything to the above to fix the disappearing edit button too?

    Thank you,
    George
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Wednesday, May 11 2016, 11:30 AM - #Permalink
    0
    Hello George,

    What it seems to be happening is that our javascript file is being loaded before the jQuery library does.

    Could you please go to the backend options of affiliate tracker and check that the load jQuery option is set to yes? By doing this, Affiliate tracker would need to load jQuery before the account javascript file.

    Tell me if that works,
    Joan
    The reply is currently minimized Show
  • Accepted Answer

    ensigcom
    ensigcom
    Offline
    Wednesday, May 11 2016, 11:21 AM - #Permalink
    0
    Hello,

    I have sent you the access details by email, regarding part B of the above.

    Thank you for looking into it
    The reply is currently minimized Show
  • Accepted Answer

    Joan Vilà
    Joan Vilà
    Offline
    Wednesday, May 11 2016, 08:41 AM - #Permalink
    0
    Hello George,

    A) You are right, I have already published an update of paypal plugin that you can download through my downloads. With this verison you will not have the deprecation notice that appears in PHP 7.

    B) I shouldn't be related to the above, could you please provide me a link to see it live at joan@ joomlathat.com?

    C) Yes, when a user creates a new affiliate account, he/she can leave the paypal email blank but it can be filled later from accounts view in the frontend. If you look at it, you will see an edit account button between the account name and the affiliate link. If you are not seeing it, maybe there is a css conflict with your template. Can you check if you see the button?

    Thank you,
    Joan
    The reply is currently minimized Show
Your Reply