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
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
Responses (5)
-
Accepted Answer
-
Accepted Answer
0Thanks 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 -
Accepted Answer
0Hello 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 -
Accepted Answer
-
Accepted Answer
0Hello 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
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »