<?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: Plugin fails on activation for external content folder WordPress install</title>
		<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install</link>
		<description>Gravity Support Forums Topic: Plugin fails on activation for external content folder WordPress install</description>
		<language>en-US</language>
		<pubDate>Thu, 16 Apr 2026 21:06:33 +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/plugin-fails-on-activation-for-external-content-folder-wordpress-install" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-333</link>
			<pubDate>Thu, 10 Sep 2009 09:43:28 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">333@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Aaron,&#60;br /&#62;
The fix for the pluggable.php include (gravityforms.php like 28) will be added to version 1.1 that is coming out soon. Thanks for pointing me in the right direction. Once we have a release candidate, we will be contacting you to help us test this.&#60;/p&#62;
&#60;p&#62;jrgkgb,&#60;br /&#62;
I am having a hard time finding a solution for the includes in the preview.php file. The problem is that the preview page runs out of WordPress context (we go directly to .../plugins/gravityforms/preview.php to load the preview), so none of the global variables are defined. It will take a little re-work on my part to get the includes to use WP's global variables, so I won't be able to include it in v.1.1, but I will make sure it gets addressed in the following release
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-329</link>
			<pubDate>Wed, 09 Sep 2009 20:17:38 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">329@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We are certainly going to look into implementing this change, it might even make it into the 1.1 release which we are wrapping up now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jrgkgb on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-326</link>
			<pubDate>Wed, 09 Sep 2009 19:14:12 +0000</pubDate>
			<dc:creator>jrgkgb</dc:creator>
			<guid isPermaLink="false">326@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I had the exact same issues and resolved it in the exact same way.  It would be great to add this feature to the header and footer calls in the preview screens too, as on non-standard installs the same problem manifests.  &#60;/p&#62;
&#60;p&#62;Really anywhere you're calling core WP files, using the WP constants would be appreciated!&#60;/p&#62;
&#60;p&#62;Thanks!  This is a great plugin.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-325</link>
			<pubDate>Wed, 09 Sep 2009 17:56:23 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">325@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks!  I can't guarantee that this will make it into the v1.1 release as development on it is wrapping up and we have to start testing in order to be able to release it.  Don't want to delay what we already have ready to go. But we will look at including this in the 1.2 release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Overton on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-324</link>
			<pubDate>Wed, 09 Sep 2009 17:39:03 +0000</pubDate>
			<dc:creator>Overton</dc:creator>
			<guid isPermaLink="false">324@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Very good.  If he needs someone to test it, I have both standard and modified installs readily at hand.  Having purchased a developer's license, I am now invested in your success. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-319</link>
			<pubDate>Wed, 09 Sep 2009 16:40:10 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey Overton, i'll forward this to our lead developer to take a look at.  Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Overton on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-316</link>
			<pubDate>Wed, 09 Sep 2009 16:18:58 +0000</pubDate>
			<dc:creator>Overton</dc:creator>
			<guid isPermaLink="false">316@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In fact, here's a good article on this:&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Determining_Plugin_and_Content_Directories&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Determining_Plugin_and_Content_Directories&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Overton on "Plugin fails on activation for external content folder WordPress install"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/plugin-fails-on-activation-for-external-content-folder-wordpress-install#post-315</link>
			<pubDate>Wed, 09 Sep 2009 16:05:29 +0000</pubDate>
			<dc:creator>Overton</dc:creator>
			<guid isPermaLink="false">315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So we can use Subversion for storing themes and rapid update of many client websites when WordPress updates, we use the alternate location for the content folder, as described here:&#60;br /&#62;
&#60;a href=&#34;http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content&#34; rel=&#34;nofollow&#34;&#62;http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The problem is line 28 in gravityforms.php:&#60;br /&#62;
&#60;code&#62;require_once (preg_replace(&#38;quot;/wp-content.*/&#38;quot;,&#38;quot;wp-includes/pluggable.php&#38;quot;,__FILE__));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;In our case, we standardize by setting up our folder structure like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;wp-config.php
.htaccess
wordpress/
  wp-includes/
  (etc...)
content/
  plugins/
  themes/
  uploads/&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To get it to work quickly, I modified line 28 as follows:&#60;br /&#62;
&#60;code&#62;require_once (preg_replace(&#38;quot;/content.*/&#38;quot;,&#38;quot;wordpress/wp-includes/pluggable.php&#38;quot;,__FILE__));&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Better, though, would be to use the WordPress constants instead, like WP_CONTENT_URL.  Any chance you can take the time to provide a version of this line that's independent of where the content folder is and where WordPress is installed?&#60;/p&#62;
&#60;p&#62;Blue skies,&#60;br /&#62;
-Aaron&#60;/p&#62;
&#60;p&#62;P.S. Just below, where it says &#34;Tags&#34;, it's &#34;separated&#34; not &#34;seperated&#34;. :)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
