0
Dear support,

We would like to remove some fields from the login form in Affiliate Tracker. For example we do not use "usernames" in the site just the real name of each user, therefore, we would like to remove that field or the "company" field for example. Is this possible?

For now we renamed the "username" field to "Email" in order to appear as that in the login area, because the language string is the same.

Regards,

Phivos Constantinou
Responses (9)
  • Accepted Answer

    Monday, January 23 2017, 06:42 PM - #Permalink
    1
    Dear Germinal,

    Thanks for the prompt response.

    We commented out the desired fields and the "Username" field does not appear in the form but when we try to create a test registration we receive this message:
    Error - Registration failed: Please enter a username.

    Although we have commented out the php code and we even deleted the whole division of code in some tests, but it stills requests for a "username". Any ideas?

    I cannot send you the php file here as the system says "it is in an unsupported format" in order for you to see it. If you want let me know how I can send it to you.

    Regards,

    Phivos Constantinou
    The reply is currently minimized Show
  • Accepted Answer

    Monday, January 23 2017, 05:49 PM - #Permalink
    0
    Dear Phivos,

    you can simply remove any fields you don't want, which you will find in file:

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

    Monday, January 23 2017, 06:38 PM - #Permalink
    0
    Dear Germinal,

    Thanks for the prompt response.

    We commented out the desired fields and the "Username" field does not appear in the form but when we try to create a test registration we receive this message:
    Error - Registration failed: Please enter a username.

    Although we have commented out the php code (as you can see in the attached file) and we even deleted the whole division of code in some tests, but it stills requests for a "username". Any ideas?

    Regards,

    Phivos Constantinou
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2017, 08:10 AM - #Permalink
    0
    Sorry, for this reply. We would like to test if the code works in forums with regards to the marketing material. :)



    <a href="https://pediacademic.com/?atid=1"><img src="https://pediacademic.com/images/250x250.gif"></a>
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2017, 09:30 AM - #Permalink
    0
    well.. this is because, if you're using the REGISTER option in affiliate tracker, then the username is mandatory... (joomla user database requires a username for new users...)

    do you know what I mean?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, January 24 2017, 06:22 PM - #Permalink
    0
    Dear Germinal,

    No we did not understand what you mean exactly.

    If we use another login form like core joomla form or EasySocial login then the new user will not appear in the "Accounts" area in the Affiliate Tracker backend, is that correct?

    Regards,

    Phivos Constantinou
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2017, 11:36 AM - #Permalink
    0
    yes that's correct. What I'm saying is that the error you're getting is because you're using the Affiliate registration page to work both as a register user + affiliate, all at once. therefore, the username is mandatory.

    otherwsie, the users need to register "normally" on some other page of the website, and then "apply" for an affiliate account, once they are already registered as a normal user in the website...
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2017, 11:59 AM - #Permalink
    0
    Dear Germinal,

    We understand. But, in the other login form we do not have the username as a required field, so when the user will apply for an affiliate account can the user leave that username field empty?

    Regards,

    Phivos Constantinou
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, January 25 2017, 05:50 PM - #Permalink
    0
    Dear Germinal,

    We have difficulty to do that as we have PayPlans installed on the site and a new user has to pay a subscription in order to do that and in addition we wanted to avoid the 2 step process, therefore, we have modified the field and everything is ok now. We have more questions so we are going to open new tickets.

    Regards,

    Phivos Constantinou
    The reply is currently minimized Show
Your Reply