<?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>
									Trying to enable crossposting from xmlrpc post client - wpForo Blog Cross Posting				            </title>
            <link>https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/</link>
            <description>WordPress Plugins Support Forum</description>
            <language>en-US</language>
            <lastBuildDate>Mon, 20 Jul 2026 16:49:01 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Trying to enable crossposting from xmlrpc post client</title>
                        <link>https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16411</link>
                        <pubDate>Wed, 10 Jul 2019 11:01:16 +0000</pubDate>
                        <description><![CDATA[@bdebruin,
Please find the add method in the /wp-content/plugins/wpforo/wpf-includes/class-topics.php file and check the parameters that should be passed by your plugin.&nbsp;]]></description>
                        <content:encoded><![CDATA[<p>@bdebruin,</p>
<p>Please find the add method in the /wp-content/plugins/wpforo/wpf-includes/class-topics.php file and check the parameters that should be passed by your plugin.&nbsp;</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-blog-cross-posting/">wpForo Blog Cross Posting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16411</guid>
                    </item>
				                    <item>
                        <title>RE: Trying to enable crossposting from xmlrpc post client</title>
                        <link>https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16396</link>
                        <pubDate>Wed, 10 Jul 2019 07:30:34 +0000</pubDate>
                        <description><![CDATA[@astghik
Many thanks, I am looking for some kind of insights how the Topic is created from within crossposting plugin. From what I see there is a little more to it than just the call mentio...]]></description>
                        <content:encoded><![CDATA[<p>@astghik</p>
<p>Many thanks, I am looking for some kind of insights how the Topic is created from within crossposting plugin. From what I see there is a little more to it than just the call mentioned with the correct args. Maybe the addTopic function is using information stored in globals variables?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-blog-cross-posting/">wpForo Blog Cross Posting</category>                        <dc:creator>bdebruin</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16396</guid>
                    </item>
				                    <item>
                        <title>RE: Trying to enable crossposting from xmlrpc post client</title>
                        <link>https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16393</link>
                        <pubDate>Wed, 10 Jul 2019 07:24:56 +0000</pubDate>
                        <description><![CDATA[Hi @bdebruin,I&#039;m going to ask this question to add-on developers. Please wait for a bit. I&#039;ll update the topic once I get a response from them.]]></description>
                        <content:encoded><![CDATA[<p>Hi @bdebruin,</p><p>I'm going to ask this question to add-on developers. Please wait for a bit. I'll update the topic once I get a response from them. </p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-blog-cross-posting/">wpForo Blog Cross Posting</category>                        <dc:creator>Astghik</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16393</guid>
                    </item>
				                    <item>
                        <title>Trying to enable crossposting from xmlrpc post client</title>
                        <link>https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16383</link>
                        <pubDate>Tue, 09 Jul 2019 20:56:23 +0000</pubDate>
                        <description><![CDATA[Hi team,I am writing some php functions to automatically crosspost to wpForo if a Wordpress post is published. I got this working for Wordpress posts created by WPUF and the next step is to ...]]></description>
                        <content:encoded><![CDATA[<p>Hi team,<br /><br />I am writing some php functions to automatically crosspost to wpForo if a Wordpress post is published. I got this working for Wordpress posts created by WPUF and the next step is to enable this for post created through xmlrpc.<br /><br />With logging I compared the differences and I got stuck on this piece of code inside wpForoCrossPosting.php</p><pre>    private function addTopic($post, $forumID) {<br />        $args = $this-&gt;getRequestData($forumID, $post);<br />        write_log($args);<br />	if ($args) {<br />            $newTopicID = WPF()-&gt;topic-&gt;add($args);<br />            write_log($newTopicID);<br />	    if ($newTopicID) {<br />                update_post_meta($post-&gt;ID, wpForoCrossPostingOptions::META_POST_FORUM_ID, $forumID);<br />                update_post_meta($post-&gt;ID, wpForoCrossPostingOptions::META_POST_TOPIC_ID, $newTopicID);<br />            }<br />        }<br />    }</pre><p>When triggerd by a WPUF created post $args is and the wpForo crosspost is created.</p><pre>(<br />     =&gt; 5<br />     =&gt; wpuf created post<br />     =&gt; 1<br />     =&gt; wpuf created post<br />     =&gt; 2019-07-09 20:53:32<br />     =&gt; wpuf-created-post<br />)</pre><p>When triggerd by a xmlrpc created post $args is (below) and the wpForo crosspost is <strong><span style="text-decoration: underline">not</span> </strong>created.</p><pre>(<br />     =&gt; 5<br />     =&gt; Xmlrpc created post<br />     =&gt; 1<br />     =&gt; xmlrpc created post<br />     =&gt; 2019-07-09 20:54:29<br />     =&gt; xmlrpc-created-post<br />)</pre><p>Any chance you can shine a light on this?</p>]]></content:encoded>
						                            <category domain="https://gvectors.com/forum/wpforo-blog-cross-posting/">wpForo Blog Cross Posting</category>                        <dc:creator>bdebruin</dc:creator>
                        <guid isPermaLink="true">https://gvectors.com/forum/wpforo-blog-cross-posting/trying-to-enable-crossposting-from-xmlrpc-post-client/#post-16383</guid>
                    </item>
							        </channel>
        </rss>
		