<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: Integrate Openfire registration to Gravity Forms</title>
		<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms</link>
		<description>Gravity Support Forums Topic: Integrate Openfire registration to Gravity Forms</description>
		<language>en-US</language>
		<pubDate>Sat, 02 May 2026 08:26:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/integrate-openfire-registration-to-gravity-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-69332</link>
			<pubDate>Fri, 03 Aug 2012 13:59:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69332@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please take a look at the revised paste: &#60;a href=&#34;http://pastebin.com/WxvzziPi&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/WxvzziPi&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You might have to URL encode the &#38;amp; and equal sign, but you can try it like this at first.  I think you might also have to change the &#34;secret&#34;.  Let us know how it goes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-69331</link>
			<pubDate>Fri, 03 Aug 2012 13:51:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">69331@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You're right to use the gform_after_submission hook.  You're not constructing the URL properly though, and you have an error on line 4 as you saw.  You're also using WP_Http to send a POST when you just need a GET according to the documentation.  These items are not related to Gravity Forms and are PHP and WordPress functionality. We can help point you in the right direction but we can't do the work for you.&#60;/p&#62;
&#60;p&#62;I would focus on getting the $post_url correct, integrating the values entered into the form into the URL you are going to send to openfire.  Just echo it rather than trying to call it with WP_Http.  Once you have the URL correct (loading it in a browser should add the user as you expect) then you can use WP_Http to GET the URL.  The WP_Http call will look more like this, rather than as you have done it with POST body variables.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// construct $post_url before calling WP_Http

// WP_Http stuff
$request = new WP_Http;
$result = $request-&#38;gt;request($post_url);
$json = $result[&#38;#39;body&#38;#39;];
// do something with your result if you like&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>alexsugianto on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-69264</link>
			<pubDate>Thu, 02 Aug 2012 23:34:00 +0000</pubDate>
			<dc:creator>alexsugianto</dc:creator>
			<guid isPermaLink="false">69264@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No solution for this problem?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexsugianto on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-68870</link>
			<pubDate>Tue, 31 Jul 2012 23:28:04 +0000</pubDate>
			<dc:creator>alexsugianto</dc:creator>
			<guid isPermaLink="false">68870@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah, I notice a typo at line 4 of my code there.&#60;/p&#62;
&#60;p&#62;Here is the documentation of openfire about it :&#60;br /&#62;
&#60;a href=&#34;http://www.igniterealtime.org/projects/openfire/plugins/userservice/readme.html&#34; rel=&#34;nofollow&#34;&#62;http://www.igniterealtime.org/projects/openfire/plugins/userservice/readme.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;All we need is whenever a user register to our site, we will automatically create a xmpp user account for them using the same credentials.&#60;/p&#62;
&#60;p&#62;Btw, is it possible to send a confirmation email before activating the account by using the registration form from GF?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-68758</link>
			<pubDate>Tue, 31 Jul 2012 10:06:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">68758@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You paste that code into your theme's functions.php.  Do not modify the plugin files.&#60;/p&#62;
&#60;p&#62;If the site stops working when you paste the code, you've likely pasted it incorrectly, or there is a syntax error. I assume &#34;stop working&#34; means you get a blank white screen in your browser?&#60;/p&#62;
&#60;p&#62;I'm not sure if it is your paste here which contains the error or if this is the actual code you're using, but line 4 contains a syntax error at the end.&#60;/p&#62;
&#60;p&#62;Your URL example here is a GET request, but in your code, and in the paragraph here, you describe it as a POST.  Can you clarify which way it needs to be done?  We can help you with the code after that.  Do you have a link to the documentation showing how this should be done?  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>alexsugianto on "Integrate Openfire registration to Gravity Forms"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/integrate-openfire-registration-to-gravity-forms#post-68714</link>
			<pubDate>Tue, 31 Jul 2012 05:15:02 +0000</pubDate>
			<dc:creator>alexsugianto</dc:creator>
			<guid isPermaLink="false">68714@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I want to integrate wordpress and openfire user registration using Gravity Forms on wordpress. I have created a registration form and try to hook the registration to openfire, but nothing happened. All I need is to send a HTTP_POST to Openfire server using the following format :&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://example.com:9090/plugins/userService/userservice?type=add&#38;amp;secret=bigsecret&#38;amp;username=kafka&#38;amp;password=drowssap&#38;amp;name=franz&#38;amp;email=franz@kafka.com&#34; rel=&#34;nofollow&#34;&#62;http://example.com:9090/plugins/userService/userservice?type=add&#38;amp;secret=bigsecret&#38;amp;username=kafka&#38;amp;password=drowssap&#38;amp;name=franz&#38;amp;email=franz@kafka.com&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I have created a code according to the gform_after_submission tutorial (&#60;a href=&#34;http://pastebin.com/d5QX5wgH)&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/d5QX5wgH)&#60;/a&#62;. But I'm not sure if the code is correct, and where to put the code in to. I've tried to paste it to form_display.php and theme's functions.php, which cause both stop working.&#60;/p&#62;
&#60;p&#62;Can anybody help me on this problem?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
