AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] Question about an other plugin compatibility

26 Posts
4 Users
8 Reactions
18.4 K Views
Posts: 1593
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@anonymous20)
Noble Member
Joined: 10 years ago
[#4178]

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: 9 years ago

Estimable Member
Posts: 131
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

Hi Anonymous20, this plugin works via shortcode?


Posts: 1593
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@anonymous20)
Noble Member
Joined: 10 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: 9 years ago

Estimable Member
Posts: 131
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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: 1593
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@anonymous20)
Noble Member
Joined: 10 years ago

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

 


Posts: 1593
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@anonymous20)
Noble Member
Joined: 10 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:

 

Screenshot 1

antonM
Posts: 131
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@antonm)
Estimable Member
Joined: 9 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
Share: