<?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: Require Login</title>
		<link>https://legacy.forums.gravityhelp.com/topic/require-login</link>
		<description>Gravity Support Forums Topic: Require Login</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:39:15 +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/require-login" rel="self" type="application/rss+xml" />

		<item>
			<title>Kevin Flahaut on "Require Login"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/require-login#post-10965</link>
			<pubDate>Sat, 09 Oct 2010 16:25:50 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">10965@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There are no user permissions functions built in to Gravity Forms. You would have to use something like the WordPress conditional tag &#34;is_user_logged_in&#34; in your page template and embed the form via the function call. Something like this..&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if ( is_user_logged_in() ) { ?&#38;gt;

 &#38;lt;?php gravity_form(1, false, false, false, &#38;#39;&#38;#39;, false); ?&#38;gt;

&#38;lt;?php } else { ?&#38;gt;

 &#38;lt;h2&#38;gt;Sorry. You have to be logged in to complete this form&#38;lt;/h2&#38;gt;

&#38;lt;?php };?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;more info:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://codex.wordpress.org/Function_Reference/is_user_logged_in&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Function_Reference/is_user_logged_in&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://forum.gravityhelp.com/topic/how-do-i-send-dynamic-values-with-the-gravity_form-function#post-10887&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/how-do-i-send-dynamic-values-with-the-gravity_form-function#post-10887&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or you might be able to use something like this.. it has the advantage of being applied easily anywhere&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.livexp.net/wordpress/using-wordpress-shortcodes-to-show-members-only-content.html&#34; rel=&#34;nofollow&#34;&#62;http://www.livexp.net/wordpress/using-wordpress-shortcodes-to-show-members-only-content.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;put the form in the member section and the alternate content in the visitor section.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kenboer on "Require Login"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/require-login#post-10963</link>
			<pubDate>Sat, 09 Oct 2010 14:29:59 +0000</pubDate>
			<dc:creator>kenboer</dc:creator>
			<guid isPermaLink="false">10963@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I want to require that someone is logged in for the form to be accepted.  Is there a way to do that without making it a &#34;private&#34; page in wordpress?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.scriptureinsong.com/submit/&#34; rel=&#34;nofollow&#34;&#62;http://www.scriptureinsong.com/submit/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
