ThirstyAffiliates and bbPress Integration

ThirstyAffiliates and bbPress integrationWe had an interesting support question from a customer recently that wanted to integrate ThirstyAffiliates and bbPress to take advantage of the new Autolinker addon.

If you haven't heard of our Autolinker addon read this post for more info.

In short, the Autolinker addon is a special addon for ThirstyAffiliates that lets you automatically link up keywords and phrases with affiliate links throughout your website's content.

The challenge put forth by our customer was to integrate ThirstyAffiliates with bbPress so that these automatic links would show up inside topics and replies when people participated in the forum.

We've seen similar add placement technology on other dedicated forum packages so it was immediately an interesting proposition.

It turns out it's a simple two line code addition to your theme's functions.php file and here's how you do it:

add_filter('bbp_get_topic_content', 'thirstyAutolinkerContent');
add_filter('bbp_get_reply_content', 'thirstyAutolinkerContent');

 

Note that you must have ThirstyAffiliates, ThirstyAffiliates Autolinker Addon and bbPress plugins all active for this code to work.

So now you can enjoy automatic linking of affiliate links that you have in your ThirstyAffiliates with forum posts and replies in the popular WordPress forum plugin bbPress.

Enjoy!

Affiliate Link Disclosure

2 thoughts on “ThirstyAffiliates and bbPress Integration

Leave a Reply