ThirstyAffiliates Affiliate Link Manager - Version 3.10.14

Version Description

  • Bug Fix: 500 errors when using Bot Crawler Blocker.
Download this release

Release Info

Developer caseproof
Plugin Icon 128x128 ThirstyAffiliates Affiliate Link Manager
Version 3.10.14
Comparing to
See all releases

Code changes from version 3.10.13 to 3.10.14

Helpers/Plugin_Constants.php CHANGED
@@ -27,7 +27,7 @@ class Plugin_Constants {
27
  // Plugin configuration constants
28
  const TOKEN = 'ta';
29
  const INSTALLED_VERSION = 'ta_installed_version';
30
- const VERSION = '3.10.13';
31
  const TEXT_DOMAIN = 'thirstyaffiliates';
32
  const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
33
  const META_DATA_PREFIX = '_ta_';
27
  // Plugin configuration constants
28
  const TOKEN = 'ta';
29
  const INSTALLED_VERSION = 'ta_installed_version';
30
+ const VERSION = '3.10.14';
31
  const TEXT_DOMAIN = 'thirstyaffiliates';
32
  const THEME_TEMPLATE_PATH = 'thirstyaffiliates';
33
  const META_DATA_PREFIX = '_ta_';
Models/Rewrites_Redirection.php CHANGED
@@ -328,7 +328,7 @@ class Rewrites_Redirection implements Model_Interface , Deactivatable_Interface
328
  if ( get_option( 'ta_enable_bot_crawl_blocker_script' ) == 'yes' ) {
329
 
330
  $link_prefix = $this->_helper_functions->get_thirstylink_link_prefix();
331
- $bots_list = apply_filters( 'ta_block_bots_on_htaccess' , $this->_helper_functions->get_blocked_bots() );
332
 
333
  // prepare new TA block bots htaccess content.
334
  $block_bots = "\n#BEGIN Block-Bots-ThirstyAffiliates\n";
328
  if ( get_option( 'ta_enable_bot_crawl_blocker_script' ) == 'yes' ) {
329
 
330
  $link_prefix = $this->_helper_functions->get_thirstylink_link_prefix();
331
+ $bots_list = apply_filters( 'ta_block_bots_on_htaccess' , str_replace( ' ', '\ ', $this->_helper_functions->get_blocked_bots() ) );
332
 
333
  // prepare new TA block bots htaccess content.
334
  $block_bots = "\n#BEGIN Block-Bots-ThirstyAffiliates\n";
readme.txt CHANGED
@@ -4,116 +4,123 @@ Donate link: https://thirstyaffiliates.com
4
  Tags: affiliate links, link branding, link shortner, link tracking, redirects, affiliate, affiliate marketing, affiliates, short links, shorten, shortening, shortlink, shortlinks, shorturl, shrinking, marketing, marketing plugin, cloak, cloaker, cloaking, 301, 302, 307, 404, bit.ly, bitly, tinyurl, link cloaking, link redirection, link shortener, links, thirstyaffiliates, thirsty, url redirection, url shortener, urls, seo, slug, slugs
5
  Requires at least: 5.0
6
  Requires PHP: 5.6
7
- Tested up to: 6.1
8
- Stable tag: 3.10.13
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
- Affiliate link management & cloaker tool. Easily manage, shrink and track your affiliate links in WordPress.
13
 
14
  == Description ==
15
 
16
- ***VISIT OUR WEBSITE***
17
 
18
  Click here: [ThirstyAffiliates](https://thirstyaffiliates.com/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=Home)
19
  Check out the [PRO Version](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)!
20
 
21
- ***THIRSTYAFFILIATES FREE VERSION***
22
 
23
  ***ThirstyAffiliates*** gives bloggers the tools they need to monetize their WordPress website with affiliate marketing.
24
 
25
  We’ve made managing your affiliate links as simple as it should be:
26
 
27
  1. Install & activate the ThirstyAffiliates plugin
28
- 1. Goto Affiliate Links->Add New
29
  1. Enter the destination URL (your affiliate link) and a title
30
  1. The plugin creates a new shortlink/link redirect to your long ugly affiliate link by making a pretty link with your own website URL
31
- 1. You can then use the new “TA” button your editor to add your affiliate link to your content easily
32
 
33
  eg. http://example.com/recommends/some-product
34
 
35
- Some features at a glance:
36
-
37
- **SIMPLE**
38
 
 
39
  No complex setups. It’s just another post type in your admin and another button on your Visual editor.
40
 
41
- When you are writing blog posts, you can highlight a word and click the “TA” button. This works just like the built in link tool, you can search for the affiliate link you created earlier by name.
42
 
43
  You can even use the Quick Add button to add affiliate links to ThirstyAffiliates on the fly while you are writing.
44
 
45
- **BETTER LINK MANAGEMENT**
 
46
 
 
47
  You can group your affiliate links into hierarchical categories. eg. placing all Amazon links within an “Amazon” category, or all software links in a “Software” category.
48
 
49
  Managing your links in ThirstyAffiliates means there is only one place to change the destination URL if required rather than having to go back and replace the link in potentially hundreds of articles.
50
 
51
- **SAFE REDIRECTS & SMART UNCLOAKING**
52
-
53
- You can choose from 301 (default), 302 or 307 redirects, all of which are safe link redirects.
54
 
55
  Link redirects protect your affiliate links from being scraped and replaced by malware in your visitor’s browser.
56
 
57
  There is also a smart uncloaking feature so if the affiliate program you are using (such as Amazon Associates) does not like your links behind a redirect, you can still use ThirstyAffiliates. Your links can be conditionally uncloaked on the front end.
58
 
59
- **NO LINK CLASHES OR DATABASE BLOAT**
60
-
61
  Uses proper custom post types to avoid link clashes that can occur with other solutions.
62
 
63
- Keeps it’s database footprint small to ensure you don’t over bloat your database with useless information.
64
-
65
- **ADD IMAGES TO AFFILIATE LINKS**
66
 
 
67
  You can even add images and banners to your affiliate links and recall them for easy insertion when writing your content.
68
 
69
- Simply click the new “TA” affiliate link button on your editor, click the cog to open the Advanced Link Picker and search & choose the image you want to insert and it will be inserted pre-wrapped in your affiliate link.
70
-
71
- **CLICK STATISTICS & REPORTS**
72
 
 
73
  Adds click tracking to your links to track every click.
74
 
75
- Comes with built-in reports so you can explore, over-time, how much your affiliate links have been clicked and what is popular on your site.
76
-
77
- = Features at a glance =
78
-
79
- * Inbuilt affiliate link shorter/link cloaker (creates pretty links like: http://example.com/recommends/your-affiliate-link)
80
- * Commission protecting affiliate link redirection options (301, 302 & 307)
81
- * Click stats tracking & reports
82
- * Hierarchical link categorization to easily segment links
83
- * Affiliate link picker tool which works just like the WordPress link tool
84
- * Advanced link picker tool (hit the cog icon after clicking the “TA” button on your editor) for more advanced options
85
- * Insert standard links, shortcodes or even images! (with full instant search capabilities)
86
- * Makes it easy to insert affiliate links in posts, pages and even comments. ThirstyAffiliates is there everywhere there is a standard WordPress editor
87
- * Handy quick add tool lets you easily create new affiliate links without even leaving the post edit screen
88
- * Customizable link URL prefixes – change “recommends” to something else, loads of pre-done link prefixes to choose from or use your own custom prefix!
89
- * Choose to show category slugs in link URLs
90
- * No Follow option (global or per link)
91
- * Open in new tab (global or per link)
92
- * Full importing and exporting support via standard WordPress tools
93
- * Full backup compatibility via standard WordPress backup solutions
94
- * Uses WordPress approved storage techniques – doesn't bloat your database
95
- * Add your graphics, banners and other images to affiliate links for easy insertion
96
- * In-built proactive link fixer which detects outdated affiliate links in your content and fixes them automatically
97
- * Completely modularized so you can turn on only the parts of ThirstyAffiliates that you need
98
-
99
- = PRO Features =
100
 
101
  We have a PRO add-on for ThirstyAffiliates that bolts on extra functionality that might be interesting to advanced affiliate marketers and bloggers looking to automate parts of their affiliate marketing.
102
 
103
  Some of our popular PRO features include:
104
 
105
- * Automatic Keyword Linking - boost your affiliate income by automatically linking affiliate links to keywords throughout your site, great for monetising your back catalog of content!
106
- * Advanced Statistics Reports - amazing advanced reports such as performance by category, performance over 24/hr periods (to identify peak click times), Geolocation reports (where people click from) and more!
107
- * Geolocations - geo target your visitors based on their country of origin and redirect them to geographically appropriate affiliate URLs
108
- * Google Click Events - pushes a click event to your Google Analytics on click
109
- * CSV Import/Export - import and export affiliate links via CSV. Great for managing links across multiple sites
110
- * Amazon API Importing - Search and import affiliate links from Amazon’s Product Advertising API
111
- * High speed HTAccess redirect - Loads affiliate link redirects into your htaccess file for faster redirecting, meaning WordPress & even PHP isn’t loaded
112
- * Link Event Notification Emails - get notified about significant events with your affiliate links like when they reach a certain amount of clicks total or a certain amount of clicks in a period of time
113
- * Automatic Link Health Checker - automatically explores your affiliate links for 404’s or broken links and will notify you when it detects problems
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
 
115
  [Check out all the ThirstyAffiliates PRO features here](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  == Installation ==
118
 
119
  1. Upload the `thirstyaffiliates/` folder to the `/wp-content/plugins/` directory
@@ -128,6 +135,9 @@ Here are some common questions/problems.
128
 
129
  For more resources please see our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB).
130
 
 
 
 
131
  = Help, my links aren't redirecting! It just brings up a 404 error. =
132
 
133
  This is a common issue usually caused by another plugin or theme not flushing redirect rules correctly after setting up another custom post type.
@@ -145,20 +155,31 @@ WordPress supports a very vibrant ecosystem of themes and plugins so from time t
145
 
146
  See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB) for an up to date list of known conflicts.
147
 
148
- == Screenshots ==
 
149
 
150
- 1. Affiliate link listing
 
151
 
152
- 2. Edit screen for a single affiliate link
 
153
 
154
- 3. The affiliate link picker dialog, shows up when you press the “TA” icon on any editor box
155
 
156
- 4. Advances link picker options, shows up when you press the cog icon on the affiliate link picker tool
157
 
158
- 5. Settings page
 
 
 
 
 
159
 
160
  == Changelog ==
161
 
 
 
 
162
  = 3.10.13 =
163
  * Bug Fix: TA Link Inserter jumping to bottom of page on WP 6.1
164
  * Bug Fix: Warning message being HTML escaped
@@ -601,4 +622,4 @@ See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_sourc
601
 
602
  == Upgrade notice ==
603
 
604
- There is a new version of ThirstyAffiliates available.
4
  Tags: affiliate links, link branding, link shortner, link tracking, redirects, affiliate, affiliate marketing, affiliates, short links, shorten, shortening, shortlink, shortlinks, shorturl, shrinking, marketing, marketing plugin, cloak, cloaker, cloaking, 301, 302, 307, 404, bit.ly, bitly, tinyurl, link cloaking, link redirection, link shortener, links, thirstyaffiliates, thirsty, url redirection, url shortener, urls, seo, slug, slugs
5
  Requires at least: 5.0
6
  Requires PHP: 5.6
7
+ Tested up to: 6.1.1
8
+ Stable tag: 3.10.14
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
12
+ 🔗 Affiliate link management & cloaker tool. Easily manage, shrink and track your affiliate links in WordPress. 🔥
13
 
14
  == Description ==
15
 
16
+ ## VISIT OUR WEBSITE 🖥️
17
 
18
  Click here: [ThirstyAffiliates](https://thirstyaffiliates.com/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=Home)
19
  Check out the [PRO Version](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)!
20
 
21
+ ## THIRSTYAFFILIATES 💥
22
 
23
  ***ThirstyAffiliates*** gives bloggers the tools they need to monetize their WordPress website with affiliate marketing.
24
 
25
  We’ve made managing your affiliate links as simple as it should be:
26
 
27
  1. Install & activate the ThirstyAffiliates plugin
28
+ 1. Go to Affiliate Links -> Add New
29
  1. Enter the destination URL (your affiliate link) and a title
30
  1. The plugin creates a new shortlink/link redirect to your long ugly affiliate link by making a pretty link with your own website URL
31
+ 1. You can then use the new “TA” button in your editor to add your affiliate link to your content easily
32
 
33
  eg. http://example.com/recommends/some-product
34
 
35
+ ## Features ✔️
 
 
36
 
37
+ **💡 SIMPLE**
38
  No complex setups. It’s just another post type in your admin and another button on your Visual editor.
39
 
40
+ When you are writing blog posts, you can highlight a word and click the “TA” button. This works just like the built-in link tool, you can search for the affiliate link you created earlier by name.
41
 
42
  You can even use the Quick Add button to add affiliate links to ThirstyAffiliates on the fly while you are writing.
43
 
44
+ **🔗 BUILT-IN AFFILIATE LINK SHORTNER/LINK CLOAKER**
45
+ Create pretty links from the affiliate links you've placed on the site. ThirstyAffiliates will use a /recommends/ prefix by default for your pretty links, but this can be easily changed to match your preferences.
46
 
47
+ **⚙️ BETTER LINK MANAGEMENT**
48
  You can group your affiliate links into hierarchical categories. eg. placing all Amazon links within an “Amazon” category, or all software links in a “Software” category.
49
 
50
  Managing your links in ThirstyAffiliates means there is only one place to change the destination URL if required rather than having to go back and replace the link in potentially hundreds of articles.
51
 
52
+ **🔃 SAFE REDIRECTS & SMART UNCLOAKING**
53
+ You can choose from 301 (default), 302, or 307 redirects, all of which are safe link redirects.
 
54
 
55
  Link redirects protect your affiliate links from being scraped and replaced by malware in your visitor’s browser.
56
 
57
  There is also a smart uncloaking feature so if the affiliate program you are using (such as Amazon Associates) does not like your links behind a redirect, you can still use ThirstyAffiliates. Your links can be conditionally uncloaked on the front end.
58
 
59
+ **🛡️ NO LINK CLASHES OR DATABASE BLOAT**
 
60
  Uses proper custom post types to avoid link clashes that can occur with other solutions.
61
 
62
+ Keeps its database footprint small to ensure you don’t over bloat your database with useless information.
 
 
63
 
64
+ **🖼️ ADD IMAGES TO AFFILIATE LINKS**
65
  You can even add images and banners to your affiliate links and recall them for easy insertion when writing your content.
66
 
67
+ Simply click the new “TA” affiliate link button on your editor, click the cog to open the Advanced Link Picker, and search & choose the image you want to insert and it will be inserted pre-wrapped in your affiliate link.
 
 
68
 
69
+ **📊 CLICK STATISTICS & REPORTS**
70
  Adds click tracking to your links to track every click.
71
 
72
+ Comes with built-in reports so you can explore, over time, how much your affiliate links have been clicked and what is popular on your site.
73
+
74
+ ... and so much more! Visit [our site](https://thirstyaffiliates.com/) to learn more about what ThirstyAffiliates can do for you.
75
+
76
+ ## THIRSTYAFFILIATES PRO 💪
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
77
 
78
  We have a PRO add-on for ThirstyAffiliates that bolts on extra functionality that might be interesting to advanced affiliate marketers and bloggers looking to automate parts of their affiliate marketing.
79
 
80
  Some of our popular PRO features include:
81
 
82
+ * **Automatic Keyword Linking**
83
+ Boost your affiliate income by automatically linking affiliate links to keywords throughout your site, great for monetizing your back catalog of content!
84
+
85
+ * **Advanced Statistics Reports**
86
+ Amazing advanced reports such as performance by category, performance over 24/hr periods (to identify peak click times), Geolocation reports (where people click from), and more!
87
+
88
+ * **Geolocations**
89
+ Geo-target your visitors based on their country of origin and redirect them to geographically appropriate affiliate URLs
90
+
91
+ * **Google Click Events**
92
+ Pushes a click event to your Google Analytics on click
93
+
94
+ * **CSV Import/Export**
95
+ Import and export affiliate links via CSV. Great for managing links across multiple sites
96
+
97
+ * **Amazon API Importing**
98
+ Search and import affiliate links from Amazon’s Product Advertising API
99
+
100
+ * **High-speed HTAccess redirect**
101
+ Loads affiliate link redirects into your htaccess file for faster redirecting, meaning WordPress & even PHP isn’t loaded
102
+
103
+ * **Link Event Notification Emails**
104
+ Get notified about significant events with your affiliate links like when they reach a certain amount of clicks total or a certain amount of clicks in a period of time
105
+
106
+ * **Automatic Link Health Checker**
107
+ Automatically explores your affiliate links for 404’s or broken links and will notify you when it detects problems
108
 
109
  [Check out all the ThirstyAffiliates PRO features here](https://thirstyaffiliates.com/pricing/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=PRO)
110
 
111
+ ## INTEGRATIONS ⚡
112
+ * [Google Analytics](https://thirstyaffiliates.com/knowledgebase/how-to-set-up-google-click-tracking-analytics) - ThirstyAffiliates has a tight integration with Google Analytics to easily push click events when an affiliate link is clicked.
113
+ * [Amazon](https://thirstyaffiliates.com/knowledgebase/retrieve-amazon-product-advertising-api-access-key-secret-key) - Integrates with Amazon's Product Advertising API to allow you to search and import affiliate links within Amazon.
114
+
115
+ ## What's Next 🤩
116
+ Enjoying your time with ThirstyAffiliates? Consider checking out some of our other projects:
117
+
118
+ * [MemberPress](https://memberpress.com/) - Full-featured Membership solution for WordPress. Control who has access to your site and sell content securely through payment gateways such as Stripe, PayPal, and Authorize.net
119
+ * [EasyAffiliate](https://easyaffiliate.com/) - Complete Affiliate Program management plugin for WordPress. Start an Affiliate Program to dramatically increase traffic, attention, and sales.
120
+ * [Pretty Links](https://prettylinks.com/) - Advanced link cloaking and redirection plugin for WordPress used to shrink, track, cloak, and share links.
121
+ * [Buy Now Plus](https://buynowplus.com/) - Easily start accepting Credit Card payments through a simple buy now button on your website or social media accounts using the Stripe gateway.
122
+ * [Members](https://members-plugin.com/) - Roles and capabilities management plugin for your WordPress site. This is an excellent plugin to use alongside a Membership solution such as MemberPress.
123
+
124
  == Installation ==
125
 
126
  1. Upload the `thirstyaffiliates/` folder to the `/wp-content/plugins/` directory
135
 
136
  For more resources please see our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB).
137
 
138
+ = Who should use ThirstyAffiliates? =
139
+ ThirstyAffiliates is aimed at bloggers using WordPress, but really all affiliate marketers of any kind who use WordPress as their CMS can use ThirstyAffiliates to aid in their affiliate marketing monetization.
140
+
141
  = Help, my links aren't redirecting! It just brings up a 404 error. =
142
 
143
  This is a common issue usually caused by another plugin or theme not flushing redirect rules correctly after setting up another custom post type.
155
 
156
  See our [Knowledge Base](https://thirstyaffiliates.com/knowledge-base/?utm_source=WordPressorg&utm_medium=Free%20Plugin%20Listing&utm_content=KB) for an up to date list of known conflicts.
157
 
158
+ = Is ThirstyAffiliates translatable? =
159
+ Absolutely! ThirstyAffiliates is ready for translation and we also include a number of common languages in our plugin as contributed by our lovely users.
160
 
161
+ = Do I need to have coding skills to use ThirstyAffiliates? =
162
+ Definitely not. We have built ThirstyAffiliates to be 100% within the dashboard of your site. Some knowledge of how redirects work might be beneficial, but overall it is a very simple plugin to configure and use.
163
 
164
+ = Can I use ThirstyAffiliates to run an affiliate program for my store? =
165
+ No - ThirstyAffiliates is *not* for running an affiliate program.
166
 
167
+ ThirstyAffiliates is for affiliates to manage their affiliate marketing efforts from all the programs they belong to.
168
 
169
+ If you need to run an affiliate program on your store we recommend you check out [Easy Affiliate](https://easyaffiliate.com/).
170
 
171
+ == Screenshots ==
172
+ 1. Adding an Affiliate Link
173
+ 2. Affiliate Link Listing
174
+ 3. Settings Page
175
+ 4. Category Page
176
+ 5. Reports Page
177
 
178
  == Changelog ==
179
 
180
+ = 3.10.14 =
181
+ * Bug Fix: 500 errors when using Bot Crawler Blocker.
182
+
183
  = 3.10.13 =
184
  * Bug Fix: TA Link Inserter jumping to bottom of page on WP 6.1
185
  * Bug Fix: Warning message being HTML escaped
622
 
623
  == Upgrade notice ==
624
 
625
+ There is a new version of ThirstyAffiliates available.
thirstyaffiliates.php CHANGED
@@ -3,11 +3,11 @@
3
  * Plugin Name: ThirstyAffiliates
4
  * Plugin URI: http://thirstyaffiliates.com/
5
  * Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
6
- * Version: 3.10.13
7
  * Author: Caseproof
8
  * Author URI: https://caseproof.com/
9
  * Requires at least: 5.0
10
- * Tested up to: 6.1
11
  *
12
  * Text Domain: thirstyaffiliates
13
  * Domain Path: /languages/
3
  * Plugin Name: ThirstyAffiliates
4
  * Plugin URI: http://thirstyaffiliates.com/
5
  * Description: ThirstyAffiliates is a revolution in affiliate link management. Collect, collate and store your affiliate links for use in your posts and pages.
6
+ * Version: 3.10.14
7
  * Author: Caseproof
8
  * Author URI: https://caseproof.com/
9
  * Requires at least: 5.0
10
+ * Tested up to: 6.1.1
11
  *
12
  * Text Domain: thirstyaffiliates
13
  * Domain Path: /languages/