Skip to content

FelipeCastello/affiliates

 
 

Repository files navigation

=== Affiliates ===
Contributors: itthinx
Donate link: http://www.itthinx.com/plugins/affiliates
Tags: ads, AddToAny, AddThis, advertising, affiliate, affiliate marketing, affiliate plugin, affiliate tool, affiliates, contact form, contact form 7, downloads, e-commerce, Ecwid, Events Manager, Jigoshop, lead, link, marketing, money, partner, Pay per Click, PayPal, PPC, referral, referral links, referrer, sales, shopping cart, TheCartPress, track, transaction, WooCommerce, WP e-Commerce
Requires at least: 4.0.0
Tested up to: 4.4
Stable tag: 2.13.3
License: GPLv3

The Affiliates system provides powerful tools to maintain an Affiliate Marketing Program.

== Description ==

The Affiliates system provides powerful tools to maintain an Affiliate Marketing Program.

_Important features include automated affiliate registration, an unlimited affiliate management section and the ability to integrate Affiliates with virtually any E-Commerce platform. Commissions on referred users are built in, free and premium integrations with e-commerce systems are available._

**The Affiliates plugin provides an affiliate system for sellers, shops, and membership sites who want to get started with their affiliate program right "out of the box".**

It also provides a solid framework for developers, who wish to build customized solutions based on a sound data model. With unlimited affiliate program management tools available on the back end and a set of shortcodes to provide Affiliates information on their performance on the front end, there is everything you need to start an affiliate program.

To manage an **Affiliate Marketing** or **Partner Referral Program** and **track visits to your site** with **affiliate links**, the _Affiliates_ plugin is a powerful solution.

Simply put, the affiliates plugin is used to manage affiliates, create referrals and track visits to your site through affiliate links.
Referrals are stored and attributed to an affiliate, for example if clients place orders on your site and you need to credit your affiliates. You can show your affiliates how well they perform, by embedding simple shortcodes on a page.

**Integrations**

To use Affiliates together with an e-commerce plugin, you also need to install the appropriate integration plugin.
Available free e-commerce integrations include
[WooCommerce](http://wordpress.org/plugins/affiliates-woocommerce-light),
[Jigoshop](http://wordpress.org/plugins/affiliates-jigoshop-light),
[WP e-Commerce](http://wordpress.org/plugins/affiliates-wp-e-commerce),
[Ecwid](http://wordpress.org/plugins/affiliates-ecwid-light),
[eShop](http://wordpress.org/plugins/affiliates-eshop-light).
To grant commissions based on forms and track leads you can use [Contact Form 7](http://wordpress.org/plugins/affiliates-contact-form-7).

**Premium Integrations**

[Affiliates Pro](http://www.itthinx.com/plugins/affiliates-pro) adds [Pay per Click](http://www.itthinx.com/plugins/affiliates-ppc/) commissions
and provides access to advanced integrations with
[WooCommerce](http://www.itthinx.com/plugins/affiliates-woocommerce),
[Jigoshop](http://www.itthinx.com/plugins/affiliates-jigoshop),
[TheCartPress](http://www.itthinx.com/plugins/affiliates-thecartpress/),
[WP e-Commerce](http://www.itthinx.com/plugins/affiliates-wp-e-commerce),
[eShop](http://www.itthinx.com/plugins/affiliates-eshop),
[Ecwid](http://www.itthinx.com/plugins/affiliates-ecwid),
[PayPal](http://www.itthinx.com/plugins/affiliates-pro-paypal) and
[Events Manager](http://www.itthinx.com/plugins/affiliates-events-manager/) to grant commissions on bookings.

The integrations with social sharing platforms [AddToAny](http://www.itthinx.com/plugins/affiliates-addtoany/)
and [AddThis](http://www.itthinx.com/plugins/affiliates-addthis/) make it easy for affiliates to share their links.

Integrations with popular forms plugins include 
[Contact Form 7](http://www.itthinx.com/plugins/affiliates-pro-contact-form-7),
[Gravity Forms](http://www.itthinx.com/plugins/affiliates-gravityforms/)
and [Formidable Forms and Formidable Pro](http://www.itthinx.com/plugins/affiliates-formidable/).

[Affiliates Enterprise](http://www.itthinx.com/plugins/affiliates-enterprise) provides all features and integrations available in _Affiliates Pro_ and also supports mulitple tiers, campaigns and pixel tracking with image and iframe tracking pixels.

Other extensions include [Affiliates Is Referred](https://github.com/itthinx/affiliates-is-referred) which adds shortcodes to show content conditionally based on whether a visitor was referred (or not) by an affiliate,
[Affiliates Products](http://www.itthinx.com/plugins/affiliates-products/) which handles product commissions for product partners and affiliates on product sales,
[Affiliates Users](http://www.itthinx.com/plugins/affiliates-users/) to automatically create affiliate accounts for new users
and [Affiliates by Username](http://www.itthinx.com/plugins/affiliates-by-username/) which allows affiliate links to indicate usernames in addition to the affiliate IDs

Additional resources can be found on [GitHub](https://github.com/itthinx).

**Features**

* Real-time reporting

    Referrals and affiliate link statistics are recorded and available instantly, as transactions are processed.
    Integration with virtually any E-Commerce platform
    
    Information for affiliates on the front end: show affiliates information about their referrals including totals by currency and referral status.

* Affiliates provides an API which makes it compatible to use with virtually any E-Commerce and Membership system.

    Affiliates Pro Integration packs are available for several platforms. More integrations are added constantly on request.

* Unlimited Affiliates

    Simply have as many affiliates as you can get.

* Easy affiliate recruitment

    Affiliates can sign up automatically and can also be added manually with or without user accounts.

* Feedback is welcome

    Do you have feature requests or want to provide feedback? Please get in touch, the Affiliates plugins evolve with your needs.

* Free or contribution based

    The Affiliates plugin is free and Open Source. If you want to use it, simply install it from your WordPress Dashboard or download it from WordPress.org.

    Affiliates Pro and Enterprise are contributor releases with additional features. Contributions help to make the plugins even more awesome. Thanks!

* Quick & Easy Installation

    Upload/install and activate the plugin from your WordPress Dashboard.


### Documentation ###

- Please review the [Documentation](http://docs.itthinx.com/document/affiliates/) pages.
- Other resources: [Videos](http://www.itthinx.com/plugins/affiliates-pro/videos/), [YouTube](http://www.youtube.com/itthinx), [API](http://api.itthinx.com/affiliates/).

### Support ###

- If you need help or want to ask a question, please leave a comment on the [Affiliates plugin page](http://www.itthinx.com/plugins/affiliates/).
- __Feedback__ is welcome!
- If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do so here at the [Affiliates plugin page](http://www.itthinx.com/plugins/affiliates).
Please try to solve problems there before you rate this plugin or say it doesn't work. There goes a _lot_ of work into providing you with free quality plugins! Please appreciate that and help with your feedback. Thanks!

#### What this plugin is not ####

It is not intended to keep track of links to other sites that you as a member of an affiliate program may have. We suggest you have a look at the [Affiliate](http://wordpress.org/plugins/affiliate/) plugin if you're interested in that.

### Translations ###

If you want to add a translation, please review [Affiliates Translations](https://github.com/itthinx/affiliates-translations).
 Many thanks to those who have contributed translations:

French by Johan Walter from [Massage Factory](http://www.massagefactory.eu),
Hebrew by Yair from [temoni.org](http://www.temoni.org/),
Italian by Alessandro Bergamin from [VoglioClienti.it](http://www.voglioclienti.it/) and Roberto Castaldo from [InArte](http://www.inarte.it),
Indonesian by Ganis Irawan from [Bisnis Internet 101](http://www.bisnisin.com/),
Lithuanian by Vincent G from [Host1Free](http://www.host1free.com/),
Polish by [BizExpert](http://4business4you.com),
Portuguese by Carlos Gouveia from [iNovve](http://www.inovve.com/),
Slovak by Cr3o from [životné poistenie](http://www.zivotnepoistenie24.sk/),
Spanish by David Perez from [Closemarketing](http://www.closemarketing.es/),
Ukranian by Michael Yunat from [GetVoIP](http://getvoip.com)

[Follow itthinx on Twitter](http://twitter.com/itthinx) for updates on this and other plugins.

== Installation ==

More detailed instructions are available on the [Documentation](http://docs.itthinx.com/document/affiliates/) pages.

1. Upload or extract the `affiliates` folder to your site's `/wp-content/plugins/` directory. Or you could use the *Add new* option found in the *Plugins* menu in WordPress.  
2. Enable the plugin from the *Plugins* menu in WordPress.
3. A new *Affiliates* menu will appear in WordPress, this is where you manage your affiliates and keep track of visits and referrals.
4. Go to _Affiliates > Settings > Pages_ and click the *Generate* button. This will add a new page to your site with a default Affiliate Area that you can then edit if needed.
5. Now you can let your affiliates sign up directly from the Affiliate Area or start adding affiliates manually and provide them with affiliate links to your site.
6. Go to _Affiliates > Settings > Integrations_ and review the available integrations.

Please make sure to review the [Documentation](http://docs.itthinx.com/document/affiliates/).


== Frequently Asked Questions ==

= Is there an option to create an Affiliate Area? =

You can let Affiliates generate an Affiliate Area page for you.
Go to _Affiliates > Settings > Pages_ and press the _Generate_ button.
You will find a new page titled _Affiliate Area_ on your site which includes a login form, affiliate registration form, information about an affiliate's performance and the affiliate's link as well as a link to log out at the end of the page.
You can edit this page and adjust it according to your preferences. 

= How can I show affiliates their affiliate link? =

Note: You can create a page and embed a shortcode manually, or you can create an Affiliate Area as outlined above.

Embed this shortcode on a page:

[affiliates_url]

This will render a link to your site with the affiliate ID appended.

If you want to link to a certain page, you can use this shortcode:

[affiliates_url]http://www.example.com/somepage[/affiliates_url]

If you want to show how a link would look like, you can use the shortcode within HTML as well, for example:

<a href="[affiliates_url]">[affiliates_url]</a>

Remember to use HTML entities for < and >.

= How can I show affiliates information about their performance? =

Detailed information on this is available on the [Affiliates Documentation](http://www.itthinx.com/documentation/affiliates/) pages.

Note: You can create a page and embed a shortcode manually, or you can have the plugin create an Affiliate Area for you.

The number of hits on an affiliate's link can be shown with the [affiliates_hits] shortcode.

The number of visits on an affiliate's link can be shown with the [affiliates_visits] shortcode.

Your affiliates will want to know how much they will and have earned and how many referrals they have made.

Use the [affiliates_referrals] shortcode to show how many referrals an affiliate has made and how much the affiliate has earned.

The [affiliates_referrals] shortcode will show the total number of referrals that have been accepted or closed for the affiliate.

To show the number of referrals for an affiliate by status, embed it like this:

Examples:

- Accepted referrals: [affiliates_referrals status="accepted"]
- Closed referrals: [affiliates_referrals status="closed"]
- Pending referrals: [affiliates_referrals status="pending"]
- Rejected referrals: [affiliates_referrals status="rejected"]

If you add the show="total" attribute to that shortcode, it will make a list of earnings by currency:

Examples:

Total amount for paid and unpaid referrals: [affiliates_referrals show="total"]

- Total for unpaid referrals: [affiliates_referrals show="total" status="accepted"]
- Total for paid referrals: [affiliates_referrals show="total" status="closed"]
- Total for referrals pending approval: [affiliates_referrals show="total" status="pending"]
- Total for rejected referrals: [affiliates_referrals show="total" status="rejected"]

= Is it possible to show content for affiliates or non-affiliates only? =

* Embed the content that you want to show to affiliates like this:

    [affiliates_is_affiliate]

    This is visible to affiliates who are logged in only.

    [/affiliates_is_affiliate]

* For content to show to non-affiliates use this:

    [affiliates_is_not_affiliate]

    You can see this if you are not logged in as an affiliate.

    [/affiliates_is_not_affiliate]

= Can we generate affiliate links for our partners? =

Yes.

Affiliate links are available for registered affiliates and they can see
them in the Affiliate Area. You can also customize these and let them
link to any page on your site.

= Can we track visits to our site through our partners' sites? =

Yes.

The Affiliates system tracks visits via affiliate links to any page on
your site. It also allows to track referred user registrations and order,
while recording related commissions through referrals and transaction data.

= Can we register commissions manually? =

Yes.

Commissions are registered manually via the Referrals section in the
Affiliates menu.

= Can we grant commissions when affiliates refer new users? =

Yes.

The built-in user registration integration allows to grant commissions
for new user sign-ups.

= Can we record referrals automatically when, for example, an order is placed? =

Yes.

The API provides the means to suggest referrals and record them.

= I am an affiliate of ACME and they provided me with an affiliate link. Is this plugin for me? =

No it isn't.

This plugin is for sites that need to manage *their* affiliates.

= Can I automatically store additional referral and transaction data? =

Yes you can do that through the plugin's API functions.

= I need to keep track of all transactions, including those that have not been initiated via an affiliate. Is this possible? =

Yes!

Referrals that are not attributable to an affiliate can be stored along with arbitrary transaction data and associated with the site owner.
There is a dedicated entry for that, called *Direct* in the affiliates list, representing the site owner.

= What about timezones? =

The plugin provides timezone-independent recording and retrieval of hits, visits and referrals.
Data is stored with reference to the server's settings and shown adjusted to the timezone settings in your WordPress site.

= How flexible is data recording and retrieval for referrals? =

You can store any information you need along with referrals.

= Is it possible to create affiliate links to any page on my site? =

Yes.

= Is it possible to have affiliate links to specific posts? =

Yes.

= How fine-grained are permissions? =

The plugin provides role-based permissions to access gathered affiliate data, administer affiliates and administer options.

= Can I change the content of the email that new affiliates receive? =

See [Useful Plugins](http://www.itthinx.com/useful-plugins/).

= After login or logout, I want to redirect users to another page instead of the WordPress login. How can I do that? =

See [Useful Plugins](http://www.itthinx.com/useful-plugins/).

== Screenshots ==

See [Affiliates Screenshots](http://www.itthinx.com/plugins/affiliates/affiliates-screenshots/)

1. Overview - shows summarized information based on current and historic data
2. Manage Affiliates - where affiliates links for your site's partners are maintained
3. Visits & Referrals - per-day view of information about visits and referrals generated through affiliate links
4. Affiliates & Referrals - per-affiliate view of information about visits and referrals generated through affiliate links
5. Referrals I - per-referrals view of information about referrals
6. Referrals II - showing detailed information stored along with referrals obtained through the Affiliates Contact widget
7. Totals - accumulated totals per affiliate and mark referrals as paid for time periods
8. Settings > General - where general plugin options are maintained
9. Settings > Registration - customizable affiliate registration
10. Menu - the Affiliates menu
11. Dashboard Widget - showing accumulated totals for referrals on the administrative dashboard
12. Contact Widget - Usable example widget for lead generation and referrals with applied commission rate
13. Contact Widget - Visitor's view (theme Twenty Eleven)
14. Registration Widget - Lets visitors sign up to your affiliate program, fully automated. Also available as a shortcode to embed on pages.
15. Registration Form - Visitor's view of a customized registration form.
16. Registration Widget - View of a visitor's successful form submission to join the site's affiliate program.
17. Affiliate Area I - This is showing the part of the generated Affiliate Area where an affiliate sees the affiliate URL and link when logged in.
18. Affiliate Area II - This shows performance data on commissions and monthly earnings for an affiliate who is logged in.
19. User Registration - Settings of the built-in User Registration integration, granting affiliates commissions on referred new users and customers.

== Changelog ==

= 2.13.3 =
* WordPress 4.4 compatible.
* Fixed pagination not taken into account when using the input field on several admin screens.

= 2.13.2 =
* Fixed potential XSS vulnerabilities related to the unescaped use of $_SERVER['REQUEST_URI'].

= 2.13.1 =
* Reverted a change introduced in 2.13.0 related to trailing slashes.

= 2.13.0 =
* Fixed an issue where trailing slashes would be left before the query part of an affiliate URL.
* Add-ons section revised.

= 2.12.1 =
* Fixed PHP notice thrown when a replacement captcha instead of the built-in captcha field is used.

= 2.12.0 =
* Fixed compatibility with WordPress 4.3 (widget constructor).
* Fixed potential issues when upgrading from earlier versions.
* Fixed a PHP Warning related to password changes through the affiliate fields.
* Added a guard against multiple invocations of the affiliate user update procedure in the same request.

= 2.11.0 =
* Added a cookie timeout filter.
* Removed menu title translation to circumvent effects of core bug 18857.
* Fixed a bug related to retrieving a user option where the null comparison needed to be strict.
* Added an AJAX handler to allow setting user options on the fly.
* Added the option to hide or show filters on the affiliates overview.
* Added the affiliates_admin_referrals_secondary_actions filter.
* Fixed a minor bug related to data representation in case of string data in referrals.
* Improved PHP compatibility avoiding use of boolval.

= 2.10.0 =
* Updated the German translation with more suitable translations in context.
* Updated the Spanish translation.
* Updated the French translation.
* Updated the Affiliates menu position.
* Updated the translation template.

= 2.9.2 =
* Fixes the issue with the Appearance menu disappearing.

= 2.9.1 =
* Updated the menu position.
* Added the affiliates_registration_login_redirect_url filter to allow customized redirects for login.
* Updated the Spanish translation.

= 2.9.0 =
* German translation added.

= 2.8.6 =
* Fixed custom registration fields not taken into account when existing users register as affiliates.
* Fixed slashes are not stripped on custom fields and labels when editing an affiliate.

= 2.8.5 =
* Added a filter for the help tab footer.
* Updated the translation template.
* Fixed missing spacing on filters in Totals section.
* Removed deprecated information about links from Manage Affiliates help.
* Added a filter for the help tab title.
* Corrected the menu permission for the Totals section.
* Fixed missing right margin in Totals section.
* Corrected user profile output when showing affiliate fields (needed slashes stripped).

= 2.8.4 =
* Added the translation template.
* Removed a couple of translations for empty strings.

= 2.8.3 =
* Fixed affilite URLs with missing path element.
* Added API function to obtain affiliate URLs.
* Improved the affiliates_url shortcode to avoid URLs being messed up by
  default filters applied to the content it receives.

= 2.8.2 =
* Fixes an issue with the registration form not being rendered when page
  content is evaluated previously.
* Fixes user URL not saved due to usage of inexistent variable.
* Removed Ready from integrations index.

= 2.8.1 =
* Fixed a PHP Warning when saving a user profile.

= 2.8.0 =
* Added a setup notice with links to the page generation and integration sections.
* Improved the configuration section and replaced the Options menu item with Settings.
* Direct referrals are now disabled by default.
* Changed the default cookie timeout to 30 days.
* Security improvement, added additional ABSPATH checks.
* Improved UI appearance and fixed some structural issues.
* Added the option to enable user registration referrals for new WooCommerce customers.
* Improved the date displayed for earnings for i18n.
* Added customization options for the affiliate registration form.
* Added User profile displays additional affiliate registration fields.
* Added the [affiliates_fields] shortcode and included it in the affiliate area page generator.
* Ukranian translation added.

= 2.7.3 =
* WordPress 4.1 compatible.

= 2.7.2 =
* WordPress 4.0 compatible.

= 2.7.1 =
* Improved style loading.
* Fixed missing pagination class resource used in totals.
* Improved registration form so that first name and last name can be indicated directly instead of diverting to profile.
* Fixed a warning due to missing post when user is added on admin.
* Added the affiliates_user_registration_on_admin filter and now not recording user registration referrals unless it returns true when users are added on the admin back end.

= 2.7.0 =
* Built-in User Registration Integration added, allows to record referrals when new users are referred by affiliates.
* Added filter affiliates_referral_amount_decimals.
* Added totals section.
* Added filter affiliates_referrals_display_currency.
* Added filter affiliates_referrals_display_total.
* Added filter affiliates_referrals_display_total_none.
* Improved and cleaned up the referrals screen by removing the Set buttons and reducing the status column footprint.

= 2.6.2 =
* Registration form now allows optional or hidden first name and last name fields.

= 2.6.1 =
* Affiliate user notification filters added.

= 2.6.0 =
* WordPress 3.9 compatibility checked
* Fixed the affiliate filter on the Referrals screen.
* Changed filter logic on Referrals screen for 3.9's prepare() nags.
* Changed filter logic on Visits & Referrals screen for 3.9's prepare() nags.
* Changed filter logic on Affiliates & Referrals screen for 3.9's prepare() nags.
* Fixed the affiliates_get_affiliates() function invoking prepare() when no parameters are needed.
* Added status filter on Affiliates & Referrals screen.
* Pretty affiliate links have been deprecated and won't be supported anymore.
* Removed/substituted old PHP4 constructors.
* Fixed day chart on affiliates overview screen when from date is given only.

= 2.5.1 =
* Added the French translation.
* Improved UI elements for filter sections.
* Improved UI for add/edit affiliate.

= 2.5.0 =
* New affiliates dashboard widget added.
* New shortcode [affiliates_earnings] showing affiliate earnings per month.

= 2.4.4 =
* WordPress 3.8 compatibility checked
* Improved the Links column displayed in the Manage Affiliates section.
* Added option to display accumulated referral totals in the Manage Affiliates section (enabled by default).
* Fixed filter nonce checks in Manage Affiliates section.
* Improved filter labels in Manage Affiliates section.

= 2.4.3 =
* Fixed missing translation domain on label in registration form.
* Fixed translation of submit button not taken into account.
* Added the affiliates_registration_profile_url filter.
* Added the affiliates_redirect_status_code filter.

= 2.4.2 =
* Added captcha filters affiliates_captcha_get and affiliates_captcha_validate.
* Replaced use of deprecated ereg_replace with preg_replace.
* Added filters before and after registration form and error filter for validation.
* Added new affiliate registration email filters: affiliates_admin_email, affiliates_new_affiliate_registration_subject, affiliates_new_affiliate_registration_message.

= 2.4.1 =
* Improved URL parameter handling: filter acts late to add query var; parameter is unset in $wp->query_vars to avoid ending up on the blog page.

= 2.4.0.1 =
* WordPress 3.6 compatibility checked

= 2.4.0 =
* addded missing text domains on labels
* fixed some options not being saved under certain conditions
* fixed cookie expiration for 0 days 
* GUI improvements (labels/checkboxes)
* GUI improvements (highlight active filters)
* Example contact form now produces a reference for referrals
* added affiliate email search filter
* improved hit recording (not querying robots when unused)

= 2.3.0 =
* WordPress 3.5.2 compatibility tests passed

= 2.2.1 =
* added revised Italian translation by Roberto Castaldo
* added Polish translation
* added missing language domain on some labels
* fixed using correct path for load_plugin_textdomain()
* added the if_empty attribute to the [affiliates_referrals] shortcode
* added new hook affiliates_updated_referral and referral update function
* added option to redirect after affiliate hit, now disabled by default

= 2.2.0 =
* added [referrer_user] shortcode
* added Italian translation
* added features to manually add, edit and remove referrals
* added option to search in referral descriptions too
* fixed sticky filter application in referral screens (Visits & Referrals, Affiliates & Referrals, Referrals)

= 2.1.9 =
* added Indonesian translation
* WP 3.5 compatible
* fixed bug deleting search filter on referrals admin screen

= 2.1.8 =
* added Spanish translation
* improved referrals view
* fixed wrong type of hook used for parse_request (was filter)

= 2.1.7 =
* added additional data to affiliates_referral hook

= 2.1.6 =
* fixed character encoding issue for affiliate link when rendering code
* added filter to service
* added affiliates_record_referral filter
* added affiliates_add_referral function
* added affiliates_get_user_affiliate function 

= 2.1.5 =
* Added Javascript redirect for registraton form when headers were already sent and the redirect / redirect_to attributes are specified
* Fixed rewrite rule handling

= 2.1.4 =
* Improved usability of click-toggles on admin screens
* GUI appearance improvements
* Reduced footnote
* Added affiliates_referral action
* Added Portuguese translation.

= 2.1.3 =
* Added Slovak translation.

= 2.1.2 =
* Dropped use of visualize for stats graphs, using flot instead.

= 2.1.1 =
* Added shortcode to render the referrer's id.

= 2.1.0 =
* Added Lithuanian translation.
* Added Hebrew translation.

= 2.0.1 =
* WordPress 3.4 compatibility checked
* fixed MD5-encoded affiliate links

= 2.0.0 =
* Made affiliate registration independent of user registration based on general settings
* Adjusted for usage on multisite subsites
* Added network management options
* Fixed default update flow for new installation

= 1.3.9 =
* added [affiliates_id] shortcode that prints the affiliate's id

= 1.3.8.1 =
* using alternative method to record IP on hits and referrals on system with PHP_INT_SIZE < 8

= 1.3.8 =
* fixed affiliate registration bug
* added filter to search in referral data

= 1.3.7 =
* added [affiliates_hits] and [affiliates_visits] shortcodes
* fixed bug when affiliate is selected on Visits & Referrals screen when affiliate is given in filters
* fixed bug in Affiliates & Referrals screen when date and affiliate is given in filters

= 1.3.6 =
* added the option to change the default Affiliates URL parameter name from 'affiliates' to something else
* added Affiliates URL parameter name option to options page
* loading admin area scripts only when in admin
* fixed options page behavior: when pressing return in a field, a new page was generated 

= 1.3.5 =
* Fixed too restrictive date filters in charts.

= 1.3.4 =
* Added date filter section to charts to provide a more flexible means of displaying charts for desired date ranges.

= 1.3.3 =
* Fixed empty filter fields are now handled correctly.

= 1.3.2 =
* 14 Day Charts added in overview showing referrals, visits and hits for the last 14 days.

= 1.3.1 =
* Added Affiliate Area page generation button in Affiliates > Options.
* Added more shortcodes: [affiliates_login_redirect], [affiliates_logout].
* Improved shortcodes to support nesting.

= 1.3.0 =
* Added new shortcodes: [affiliates_is_affiliate], [affiliates_is_not_affiliate], [affiliates_url], [affiliates_referrals] 

= 1.2.2 =
* No changes but a note on new integrations available.

= 1.2.1 =
* added detailed referral info on summary screen: shows number of referrals by status - accepted, closed, pending and rejected
* affiliates_added_affiliate action provided after a new affiliate has been added
* affiliates_updated_affiliate action provided after an affiliate has been edited
* Note that affiliates_deleted_affiliate action already existed
* Prepared language section for translations (but no translations added yet)

= 1.2.0 =
* Changed primary key of referrals table.
* Added reference column and index.

= 1.1.2 =
* Added type to referrals

= 1.1.1 =
* Added status parameter to referral suggestion

= 1.1.0 =
* Automated affiliate registration, providing affiliate registration widget, registration form shortcode and API
* Important bug fixes

= 1.0.4 =
* This release fixes the issue of md5-encoded links not showing up

= 1.0.3 =
* Fixed bug in Affiliates Overview : number of referrals shown was wrong

= 1.0.2 =
* Fixed remnant hard-coded table names. Thanks to Gernot Brandstötter who spotted these!

= 1.0.1 =
* Fixed errors showing up for PHP < 5.3

= 1.0.0 =
* Initial release (tested & working on production sites).

== Upgrade Notice ==

= 2.13.3 =
This release has been tested with WordPress 4.4 and in additions contains some fixes and improvements.

About

The Affiliates WordPress plugin.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.1%
  • JavaScript 3.5%
  • CSS 2.4%