<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Modify Comment Content before saving it - How-to and Troubleshooting - wpForo 2.0				            </title>
            <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 11 Aug 2026 15:24:15 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Modify Comment Content before saving it</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115800</link>
                        <pubDate>Mon, 24 Jun 2024 17:02:42 +0000</pubDate>
                        <description><![CDATA[@robert Hi thanks for the info but as stated above im trying to spend tons of money for basic features and while i can understand that you guys try to make money which is totally understanda...]]></description>
                        <content:encoded><![CDATA[@robert Hi thanks for the info but as stated above im trying to spend tons of money for basic features and while i can understand that you guys try to make money which is totally understandable its not a option for me and i decided to make a forum software myself once im done with some other projects but still thank you!]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>MarcelDerAdmin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115800</guid>
                    </item>
				                    <item>
                        <title>RE: Modify Comment Content before saving it</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115789</link>
                        <pubDate>Mon, 24 Jun 2024 09:29:36 +0000</pubDate>
                        <description><![CDATA[@marcelderadmin,
You could also use Forums Censure PRO plugin. You can insert any word or character in the user blocking list of this plugin. Once some word or character is found it&#039;ll bloc...]]></description>
                        <content:encoded><![CDATA[<p>@marcelderadmin,</p>
<p>You could also use Forums Censure PRO plugin. You can insert any word or character in the user blocking list of this plugin. Once some word or character is found it'll block the user or just set the post as under moderation:</p>
<p><a href="https://gvectors.com/product/forums-censure-pro/">https://gvectors.com/product/forums-censure-pro/</a></p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115789</guid>
                    </item>
				                    <item>
                        <title>RE: Modify Comment Content before saving it</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115625</link>
                        <pubDate>Wed, 12 Jun 2024 13:49:13 +0000</pubDate>
                        <description><![CDATA[@robert thx for the info but its not only that. i want to make a custom plugin because im sick of spending money for small stuff and i dont want to filter urls only but mainly for other spec...]]></description>
                        <content:encoded><![CDATA[<p>@robert thx for the info but its not only that. i want to make a custom plugin because im sick of spending money for small stuff and i dont want to filter urls only but mainly for other specific messages or words.</p>
<p> </p>
<p>i wanna block the entire russian alphabet etc and dont want to install a plugin. i know how to code but its hard getting started with wordpress because there isnt a great tutorial available thats not showing how to install another plugin</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>MarcelDerAdmin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115625</guid>
                    </item>
				                    <item>
                        <title>RE: Modify Comment Content before saving it</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115624</link>
                        <pubDate>Wed, 12 Jun 2024 13:12:44 +0000</pubDate>
                        <description><![CDATA[Hi @marcelderadmin,
wpForo Spam Control already removes all URLs of new registered users if you configure it. Just set the value of &quot;Min number of posts to be able to post links&quot; option for...]]></description>
                        <content:encoded><![CDATA[<p>Hi <span>@marcelderadmin,</span></p>
<p>wpForo Spam Control already removes all URLs of new registered users if you configure it. Just set the value of <span style="color: #ff0000">"Min number of posts to be able to post links"</span> option for example 5 to remove all external URLs from posts of users who don't have at least 5 approved posts yet. The option is located in <span style="color: #3366ff">wpForo &gt; Settings &gt; Spam Control</span> admin page.</p>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>Robert</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115624</guid>
                    </item>
				                    <item>
                        <title>Modify Comment Content before saving it</title>
                        <link>https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115616</link>
                        <pubDate>Tue, 11 Jun 2024 18:50:12 +0000</pubDate>
                        <description><![CDATA[Hi i wanna try to modify the comment before its being saved. i wanna check for spam my own way with my own custom code, tho i cant get it  to do anything apparently
 
i tried the following...]]></description>
                        <content:encoded><![CDATA[<p>Hi i wanna try to modify the comment before its being saved. i wanna check for spam my own way with my own custom code, tho i cant get it  to do anything apparently</p>
<p> </p>
<p>i tried the following but its just not working so i assume there is maybe a custom hook for wpforo?</p>
<pre contenteditable="false">function preprocess_comment_remove_url( $commentdata ) {
    $commentdata = "not a test";
    return $commentdata;
}



// Hook our function to WordPress the_content filter
add_filter( 'preprocess_comment' , 'preprocess_comment_remove_url', 10, 1);</pre>]]></content:encoded>
						                            <category domain="https://wpforo.com/community/how-to-and-troubleshooting-2/">How-to and Troubleshooting - wpForo 2.0</category>                        <dc:creator>MarcelDerAdmin</dc:creator>
                        <guid isPermaLink="true">https://wpforo.com/community/how-to-and-troubleshooting-2/modify-comment-content-before-saving-it/#post-115616</guid>
                    </item>
							        </channel>
        </rss>
		