<?xml version="1.0" encoding="UTF-8"?><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>Comments on: NextGen Gallery for WordpressMU - necessary modifications</title>
	<atom:link href="http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications</link>
	<description>Rowan Crane's Blog</description>
	<pubDate>Sat, 06 Sep 2008 03:45:34 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: gulflee</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-2968</link>
		<dc:creator>gulflee</dc:creator>
		<pubDate>Sat, 01 Dec 2007 08:47:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-2968</guid>
		<description>this is great, but can the plugin active auto</description>
		<content:encoded><![CDATA[<p>this is great, but can the plugin active auto</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Maarz</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-2852</link>
		<dc:creator>Maarz</dc:creator>
		<pubDate>Thu, 29 Nov 2007 01:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-2852</guid>
		<description>perfect work, thanks</description>
		<content:encoded><![CDATA[<p>perfect work, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NextGEN gallery with WPMU support at alex.rabe</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1702</link>
		<dc:creator>NextGEN gallery with WPMU support at alex.rabe</dc:creator>
		<pubDate>Sat, 27 Oct 2007 17:54:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1702</guid>
		<description>[...] finished the first WPMU modification for NextGEN Gallery based on the changes from Rowan Crane. I&#8217;m tested this here locally and it works so far. If somebody is interested to test this in [...]</description>
		<content:encoded><![CDATA[<p>[...] finished the first WPMU modification for NextGEN Gallery based on the changes from Rowan Crane. I&#8217;m tested this here locally and it works so far. If somebody is interested to test this in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1063</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Thu, 11 Oct 2007 06:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1063</guid>
		<description>The code for resetting to default settings and uninstalling the plugin (dropping tables) is located in: nggallery/admin/setup.php

You can edit the html printout therefore removing the forms which is what I did, or the correct way to do it would be to modify this code so that it removes the correct per blog tables: * (I didn't edit it, I'm lazy)


if (isset($_POST['uninstall'])) {

check_admin_referer('ngg_uninstall');

*$wpdb-&#62;query("DROP TABLE $wpdb-&#62;nggpictures");
*$wpdb-&#62;query("DROP TABLE $wpdb-&#62;nggallery");
*$wpdb-&#62;query("DROP TABLE $wpdb-&#62;nggalbum");
*$wpdb-&#62;query("DROP TABLE $wpdb-&#62;nggtags");
*$wpdb-&#62;query("DROP TABLE $wpdb-&#62;nggpic2tags");

delete_option( "ngg_options" );
delete_option( "ngg_db_version");

// now remove the capability
ngg_remove_capability("NextGEN Gallery overview");
ngg_remove_capability("NextGEN Use TinyMCE");
ngg_remove_capability("NextGEN Upload images");
ngg_remove_capability("NextGEN Manage gallery");
ngg_remove_capability("NextGEN Edit album");
ngg_remove_capability("NextGEN Change style");
ngg_remove_capability("NextGEN Change options");

$messagetext = ''.__('Uninstall sucessfull ! Now delete the plugin and enjoy your life ! Good luck !','nggallery').'';
}</description>
		<content:encoded><![CDATA[<p>The code for resetting to default settings and uninstalling the plugin (dropping tables) is located in: nggallery/admin/setup.php</p>
<p>You can edit the html printout therefore removing the forms which is what I did, or the correct way to do it would be to modify this code so that it removes the correct per blog tables: * (I didn&#8217;t edit it, I&#8217;m lazy)</p>
<p>if (isset($_POST['uninstall'])) {</p>
<p>check_admin_referer(&#8217;ngg_uninstall&#8217;);</p>
<p>*$wpdb-&gt;query(&#8221;DROP TABLE $wpdb-&gt;nggpictures&#8221;);<br />
*$wpdb-&gt;query(&#8221;DROP TABLE $wpdb-&gt;nggallery&#8221;);<br />
*$wpdb-&gt;query(&#8221;DROP TABLE $wpdb-&gt;nggalbum&#8221;);<br />
*$wpdb-&gt;query(&#8221;DROP TABLE $wpdb-&gt;nggtags&#8221;);<br />
*$wpdb-&gt;query(&#8221;DROP TABLE $wpdb-&gt;nggpic2tags&#8221;);</p>
<p>delete_option( &#8220;ngg_options&#8221; );<br />
delete_option( &#8220;ngg_db_version&#8221;);</p>
<p>// now remove the capability<br />
ngg_remove_capability(&#8221;NextGEN Gallery overview&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Use TinyMCE&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Upload images&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Manage gallery&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Edit album&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Change style&#8221;);<br />
ngg_remove_capability(&#8221;NextGEN Change options&#8221;);</p>
<p>$messagetext = &#8221;.__(&#8217;Uninstall sucessfull ! Now delete the plugin and enjoy your life ! Good luck !&#8217;,'nggallery&#8217;).&#8221;;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1034</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 10 Oct 2007 07:16:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1034</guid>
		<description>Let me also add that I'm using wordpress-mu-1.2.5, and thickbox wasn't working in posts, the class tag was getting stripped out. 

One way around this is to allow the class tag on anchors &lt;a&gt;, reference this post:

http://mu.wordpress.org/forums/topic.php?id=5258&#38;page

Worked for me.</description>
		<content:encoded><![CDATA[<p>Let me also add that I&#8217;m using wordpress-mu-1.2.5, and thickbox wasn&#8217;t working in posts, the class tag was getting stripped out. </p>
<p>One way around this is to allow the class tag on anchors <a>, reference this post:</p>
<p></a><a href="http://mu.wordpress.org/forums/topic.php?id=5258&amp;page" rel="nofollow">http://mu.wordpress.org/forums/topic.php?id=5258&amp;page</a></p>
<p>Worked for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1030</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 10 Oct 2007 06:02:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-1030</guid>
		<description>This worked for me, note copying and pasting mess me up some, the quotes used in your text are different from “/files/” "/files/". This was creating folders in my wpmu root directory, while the actual urls were fully populated site.com/blog/Gallery/pic.jpg. 

Just a note ;) 

Also the "uninstall" didn't work for me, it didn't seem to do anything. Once I realized I had issues I had to manually deactivate the plugin and remove the appropriate db tables.

Thanks for the code.

I'll have to look into the code to remove the setup tab for all users.</description>
		<content:encoded><![CDATA[<p>This worked for me, note copying and pasting mess me up some, the quotes used in your text are different from “/files/” &#8220;/files/&#8221;. This was creating folders in my wpmu root directory, while the actual urls were fully populated site.com/blog/Gallery/pic.jpg. </p>
<p>Just a note <img src='http://blog.rowancrane.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Also the &#8220;uninstall&#8221; didn&#8217;t work for me, it didn&#8217;t seem to do anything. Once I realized I had issues I had to manually deactivate the plugin and remove the appropriate db tables.</p>
<p>Thanks for the code.</p>
<p>I&#8217;ll have to look into the code to remove the setup tab for all users.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: you</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-180</link>
		<dc:creator>you</dc:creator>
		<pubDate>Tue, 28 Aug 2007 13:56:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-180</guid>
		<description>Thanks Kevin, I've added that to the post.</description>
		<content:encoded><![CDATA[<p>Thanks Kevin, I&#8217;ve added that to the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin Element</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-179</link>
		<dc:creator>Kevin Element</dc:creator>
		<pubDate>Tue, 28 Aug 2007 13:17:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-179</guid>
		<description>I was pushing the bounds of NextGen Gallery and I noticed that when you log in as a user and use the "Uninstall plugin tables" under "setup" it deactivates the plugin for all users.  It may be a good idea to delete that functionality as well until we can tame it with the appropriate code.

Thanks for the great work!</description>
		<content:encoded><![CDATA[<p>I was pushing the bounds of NextGen Gallery and I noticed that when you log in as a user and use the &#8220;Uninstall plugin tables&#8221; under &#8220;setup&#8221; it deactivates the plugin for all users.  It may be a good idea to delete that functionality as well until we can tame it with the appropriate code.</p>
<p>Thanks for the great work!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bobsch</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-178</link>
		<dc:creator>Bobsch</dc:creator>
		<pubDate>Tue, 28 Aug 2007 11:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-178</guid>
		<description>thanks a lot for the code... =)</description>
		<content:encoded><![CDATA[<p>thanks a lot for the code&#8230; =)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fear, WPMU and progress&#8230; at alex.rabe</title>
		<link>http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-167</link>
		<dc:creator>Fear, WPMU and progress&#8230; at alex.rabe</dc:creator>
		<pubDate>Sat, 25 Aug 2007 09:03:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications#comment-167</guid>
		<description>[...] http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications" rel="nofollow">http://blog.rowancrane.com/2007/08/24/nextgen-gallery-for-wordpressmu-necessary-modifications</a> [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
