Your cart is currently empty!
Affiliate Image and File Field
—
by
Hello!
I need my affiliates to have a field for a file upload upon registration, and after approval a field for image upload on their profile.
How can I achieve this? Is it possible with some coding?
Thank you!
Posted in Affiliates Pro
Comments
5 responses to “Affiliate Image and File Field”
Hi Andressa,
Yes either your own extension to extend affiliates registration, or even easier, consider using a form plugin that supports file uploads and also integrates with Affiliates Pro registrations.
This can one of the following:
1. Formidable Forms
2. Gravity Forms
3. Ninja Forms
As for the image upload, if this relates to affiliates banners, then you should also have a look at Banners feature.
Kind regards,
George
Hi Andressa,
Yes you can write code but it is not recommended to modify plugin core files because the modifications will be lost upon a future update of the plugin.
Can you please provide some further details on what file are you trying to upload? Is it just the image upload after registration?
As for translations, all you need to do is create your .po files after copying the existing .pot files. Then and once you’re done translating, you should generate the .mo files. Please also have a look at the Translation documentation found here.
Kind regards,
George
Hey George!
I believe I should create a plugin that is like an extension of yours, then?
As for the files, at registration is a PDF (Influencer Media Kit) and after registration is images (Influencer custom banner which will appear at the store)
Thank you for the info about translations!
Have a nice day 🙂
Hello, George! Thanks for your reply!
Yes, I was looking at the Plugin’s code yesterday and I saw that you save under options the type of field (which is text). I changed it to “file” and it somewhat worked!
Just to confirm: can I write custom code like this for the Plugin? It is only for my customer’s use.
Also, I looked for the translation file and it wasn’t on my directories. Can I just create the language directory and upload the translations into it? I’m translating into Korean.
Thank you for your time!
Hi Andressa,
Thanks for using our Affiliates plugin and welcome to the support forum.
What you’re looking for here, is a custom registration form and action to include and store the new fields for each affiliate. Apparently this is only possible via a custom implementation, which requires advanced knowledge of PHP and the WordPress API.
Kind regards,
George