Notifications
Clear all

[Closed] Question about an other plugin compatibility

26 Posts
4 Users
8 Reactions
14.3 K Views
Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Hello.

I use Auto Affiliate Links for my site, to replace (realtime) some keyword in Posts and Pages with urls (internal mostly and some outgoing).

That doesn't seem to work with wpForo. In the AAL plugin i don't see any wpForo in Active Post Types that i can enable.

Any ideas ?

Thanks

25 Replies
1 Reply
antonM
(@antonm)
Joined: 8 years ago

Estimable Member
Posts: 131

Hi Anonymous20, this plugin works via shortcode?

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago
Posted by: antonM

 

Hi Anonymous20, this plugin works via shortcode?

   

No, you select what you want to process. For example pages, posts and several active posts types. In the Active Post Types i see other's plugins types but not something for wpForo.

https://wordpress.org/plugins/wp-auto-affiliate-links/

1 Reply
antonM
(@antonm)
Joined: 8 years ago

Estimable Member
Posts: 131

Hi Anonymous20, try this hack, but I don't guarantee that it will work. I did't test it. Make backup of original file before change.

in file post.php of your layout find:

echo wpforo_content_filter( wpforo_kses($post['body'], 'post') )

change it to:

echo apply_filters('wpaal_add_affiliate_links', wpforo_content_filter( wpforo_kses($post['body'], 'post') ));

If this crashes your site, please change back original file.

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

Thanks @antonM, just tried it and it doesnt' seem to work.

 

Posts: 1602
Topic starter
(@anonymous20)
Noble Member
Joined: 9 years ago

I think what needs to be done, is to somehow "register" (i'm not a programmer, apologies for the wording) wpFpro post types. See my capture what i have available right now:

 

antonM
Posts: 131
(@antonm)
Estimable Member
Joined: 8 years ago

Sorry Anonymous20, it's needed to have a test system for experiments, which I don't have right now. Maybe a little bit later I will install a test system and will play with this plugin.

Page 1 / 4