# Frequently Asked Questions

1. How Do I Log Referrals and Sales/Commissions?
2. How Do I Find My Product Key?
3. I've forgot my admin login details. Can I reset them?
4. How do I set referral commissions?
5. Do I need any software on the server to run Maian Affiliate?
6. Is Maian Affiliate encoded?
7. For the basic captcha option, can I use a word list?
8. Can I edit any template files and change colours etc?
9. In the admin CP, can a different menu option be open as default?
10. Is there a reseller licence?
11. No emails are being sent, why?
12. How Can I Retain Options (control/options.php) in Future Updates?
13. Can I change the text in the software and add my own wording?
14. Can I edit the PHP files?
15. Can I change the X-Mailer header that gets sent out in emails?
16. Can I change the value for the minimum password length?
17. Can I use multiple languages at the same time?
18. Can I integrate the layout into my own site design?
19. How can I add my own system logo?
20. Can I remove the version check link in the admin area?
21. Can I remove the documentation link in the admin area?
22. Can I remove the Maian Affiliate links in emails?
23. How much do I have to pay for upgrades?
24. Ok, I've purchased a licence. What do I do now?
25. Can you recommend a good web host?
26. What is Bootstrap?
27. Can I get a discount for Maian Affiliate, I'm broke?
28. Can I switch emails off?
29. How does the WYSIWYG editor work?
30. How do I add video content using the WYSIWYG editor?
31. Can I set custom mail headers?
32. Can I disable the admin cookie log in option?
33. Can I do certain actions based on the different platforms in the .tpl files?
34. Can I have more commissions/affiliates/payments on the admin dashboard?
35. If I upgrade, will my current version break?
36. The installer or upgrade routine fails. Why?

How Do I Log Referrals and Sales/Commissions?
Please see the API section.
How Do I Find My Product Key?
If you are using the none commercial version, in your admin area, click 'Purchase Licence' on the top menu to view your product key.
If you don't see this link, access the following link in your admin area: admin/index.php?p=purchase
I've forgot my admin login details. Can I reset them?
Login details are set in the 'control/_cfg.php' file. Just change there.
How do I set referral commissions?
Commissions are generally calculated at the API level for flexibility.
Is Maian Affiliate encoded?
No
For the basic captcha option, can I use a word list?
Yes, view the 'control/classes/system/class.captcha.php' file and view the config options.
Do I need any software on the server to run Maian Affiliate?
Please see the system requirements on the installation page.
Can I edit any template files and change colours etc?
Yes, you can change anything in the free or commercial version. See the template section for more help.
In the admin CP, can a different menu option be open as default?
Yes, edit the 'admin/control/options.php' file and the following:
DEF_OPEN_MENU_PANEL
Is there a reseller licence?
Yes, more information here.
No emails are being sent, why?
You should enable SMTP debugging to help resolve SMTP mail issues. More info on the mail settings page.
As mentioned on that page, use a reliable SMTP service for better mail reliability, DO NOT use your own server settings, especially if you are on a shared server!! Using a trusted SMTP service is always recommended. The PHP mail function is also available if your server doesn't support SMTP.
How Can I Retain Options (control/options.php) in Future Updates?
Additional settings are found in the 'control/options.php' & 'admin/control/options.php' files. These are for convenience and not included in the admin settings to over complicate things. To retain the changes you might make in the 'control/options.php' files so that future versions don't overwrite your changes, do the following:
1 Save the 'control/options.php' file as 'control/user-options.php' in the 'control' folder. The system will look for this file first. Make sure that ALL of the variables exist in the 'user-options.php' file. If any are missing you will see errors.
2 Repeat the same process for the 'admin/control/options.php' file.
3 To revert back to the defaults, simply delete or rename the 'control/user-options.php' files.
Can I change the text in the software and add my own wording?
Yes, of course, see the language section.
Can I edit the PHP files?
If you feel you need to and know what you are doing. Note that PHP changes can break when the system is upgraded.
Can I change the X-Mailer header that gets sent out in emails?
Yes, edit the 'control/options.php' file and the following:
MAIL_X_MAIL_HEADER
Can I change the value for the minimum password length?
Yes, edit the 'control/options.php' file and the following:
MIN_AUTO_PASS_LENGTH
Can I use multiple languages at the same time?
This isn't supported, sorry.
Can I integrate the layout into my own site design?
Yes, by editing the template. See the templates / language section for more details.
How can I add my own system logo?
You'll need to edit the system templates and add your own image. You should place your own logo in the 'header.tpl' template file. It can be a standard image tag or CSS. Note that you need to have a good understanding of Bootstrap, so you don't break the responsive system. More info on templates here.
Can I remove the version check link in the admin area?
Yes, edit the 'admin/control/options.php' file and the following:
ENABLE_VERSION_CHECK
NOTE: The version check option sends ONLY the version number and script ID to the Maian Media servers for version comparison. No user identifiable information or information relating to your setup is sent.
Can I remove the documentation link in the admin area?
Yes, edit the 'admin/control/options.php' file and the following:
ENABLE_HELP_LINK
Can I remove the Maian Affiliate links in emails?
No, this will disappear when a commercial licence is applied.
How much do I have to pay for upgrades?
Nothing, all upgrades are FREE for life.
Ok, I've purchased a licence. What do I do now?
After you purchase a commercial licence an email will be sent detailing instructions on how to upgrade your free licence. If you already have an account, simply log into your account to generate commercial licences.
Maian Media Licence Centre
Can you recommend a good web host?
There are lots of good web hosting companies around. Try a search on Google. Read what other people say. A VPS or Dedicated server is recommended.
What is Bootstrap?
Its a frontend/mobile design framework. More information on their website here.
Can I get a discount for Maian Affiliate, I'm broke?
Regular monthly discount coupons are emailed to subscribers of my newsletter. It's an infrequent newsletter. You can unsubscribe at any time.
Can I switch emails off?
Yes, edit the 'control/options.php' file and the following:
MAIL_SWITCH
How does the WYSIWYG editor work?
Click here for further information on the Wysiwyg editor.
How do I add video content using the WYSIWYG editor
Yes, click here for further information on the Wysiwyg editor.
Can I set custom mail headers?
Yes, edit the $customMailHeaders array in the 'control/classes/mailer/global-mail-tags.php' file.
Can I disable the admin cookie log in option?
Yes, edit the 'admin/control/options.php' file and the following:
ENABLE_LOGIN_COOKIE
Can I do certain actions based on the different platforms in the .tpl files?
Yes, see the templates section.
Can I have more commissions/affiliates/payments on the admin dashboard?
Yes, edit the 'admin/control/options.php' file and the following:
DASHBOARD_LATEST_AFFILIATES
DASHBOARD_LATEST_COMMISSIONS
DASHBOARD_LATEST_PAYMENTS
If I upgrade, will my current version break?
Of course anything is possible. Server software upgrades can always cause issues. You should make sure you have a full backup of any existing systems before attempting an upgrade. Please see the version appendix for any major changes that may cause your existing version to break.
The installer or upgrade routine fails. Why?
Please enable the debug logs via the 'install/control/config.php' file and send us the log file written to the logs folder.