<?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 user to be logged in AND have a certain role</title>
		<link>https://legacy.forums.gravityhelp.com/topic/require-user-to-be-logged-in-and-have-a-certain-role</link>
		<description>Gravity Support Forums Topic: Require user to be logged in AND have a certain role</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:47:50 +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-user-to-be-logged-in-and-have-a-certain-role" rel="self" type="application/rss+xml" />

		<item>
			<title>sascha on "Require user to be logged in AND have a certain role"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/require-user-to-be-logged-in-and-have-a-certain-role#post-48344</link>
			<pubDate>Sat, 04 Feb 2012 12:24:44 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">48344@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Any news about the question above?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sascha on "Require user to be logged in AND have a certain role"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/require-user-to-be-logged-in-and-have-a-certain-role#post-46405</link>
			<pubDate>Sat, 14 Jan 2012 20:56:45 +0000</pubDate>
			<dc:creator>sascha</dc:creator>
			<guid isPermaLink="false">46405@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I would like a GF form to only appear if the user is logged in AND has a certain role or even check for some other condition like (is_my_current_user_check == true). I would like a solution where I do not have to handle it in the page template in case I call the form directly into a lightbox and not embed it in a page.&#60;/p&#62;
&#60;p&#62;Can this somehow be achieved with existing hooks and filters???&#60;/p&#62;
&#60;p&#62;As a feature request:&#60;br /&#62;
A small input box &#34;form_logic&#34;, where the conditions can be put in by php would be a very lovely addition. Similar to the &#34;widget logic&#34; plugin.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
