<?xml version="1.0" ?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>WordPress Plugin Support Forum | WebDevStudios.com</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page</link>
	<description><![CDATA[Open Source Website Development and Design]]></description>
	<generator>Simple:Press Forum Version 4.0.4</generator>
	<atom:link href="http://webdevstudios.com/support/forum?nextgen-public-uploader&#038;select-gallery-on-upload-page&#038;xfeed=topic" rel="self" type="application/rss+xml" />
<item>
	<title>Valkrider on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p211</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p211</guid>
	<description><![CDATA[<p>tobi1kanoby</p>
<br />
<p>You need to delete line 280 and in its place put the 13 lines of code above.</p>
<p>On my site the upload is minimised using the &#62; symbol in the upload widget on the right hand side.</p>
<p>Looking at your site I think that you are going to have a problem using this widget as your left widget bar isn&#39;t wide enough. Consider increasing the width of your widget bar. Attached is a screenshot showing the space that you need taken from my site. <img style="vertical-align: middle;" src="http://turnspain.com/upload.jpg" alt="Screen shot of uploader" width="271" height="235" /></p>
<p>The upload directory is part of the next gen configuration as it loads the photos into the gallery that the uploader selects.</p>
<p>There doesn&#39;t appear to be a way to capture the email address of the uploader, it is one of the things that has been requested.</p>
<p>If you have a problem editing the code and making it work, I have zipped it up and you can download it from <a href="http://turnspain.com/npu-upload.zip" rel="nofollow" target="_blank">http://turnspain.com/npu-upload.zip</a>.</p>
<br />
<p>Hope this helps</p>
<p>Colin</p>
<br />
]]></description>
	<pubDate>Wed, 23 Dec 2009 11:18:37 +0000</pubDate>
</item>
<item>
	<title>tobi1kanoby on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p210</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p210</guid>
	<description><![CDATA[<p>One more thing.</p>
<p>if it does work, can anyone show the script changed including a linr before and after the actual change, I keep getting error messages and Im very new at php</p>
<p>thanks</p>
]]></description>
	<pubDate>Wed, 23 Dec 2009 08:15:57 +0000</pubDate>
</item>
<item>
	<title>tobi1kanoby on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p209</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p209</guid>
	<description><![CDATA[<p>Thanks Valkrider,</p>
<p>I visited you&#39;re site, very cool, I use the same template on mine- <a href="http://knows-dive.com" rel="nofollow" target="_blank">http://knows-dive.com</a></p>
<p>I managed to change the code as you said, ( did I need to delete anything from line 280?) and nothing has changed,</p>
<p>I couldnt see any loading options yet on your site. can you help me out here.</p>
<br />
<p>another question. 1.Do you know if theres a way to add users email adress or a name to attach to the image?</p>
<p>2. where can I specify the upload directory? where does the file go?</p>
<p>thanks again</p>
]]></description>
	<pubDate>Wed, 23 Dec 2009 08:03:03 +0000</pubDate>
</item>
<item>
	<title>Valkrider on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p208</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p208</guid>
	<description><![CDATA[<p><img title="Laugh" src="/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
<br />
<p>Got it sorted. It is the same code Chanty said above but the line number is incorrect. It is line <strong>280</strong> that needs to have this code inserted. I also changed the quotes to proper ones in case that was the problem and also changed the word category to gallery. This is how my code now looks from line 280 onwards</p>
<p>[code]</p>
<p>include_once (NGGALLERY_ABSPATH.&#8221;lib/ngg-db.php&#8221;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $nggdb = new nggdb();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $gallerylist = $nggdb-&#62;find_all_galleries(&#39;gid&#39;, &#39;ASC&#39;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput .= "\n&#60;div id=\&#8221;choosegallery\" style=\"margin: 10px 0 0 0;\"&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput .= "\n&#60;select id=\"npu_upload-id-$gal_id\" name=\"galleryselect\"&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \n&#60;option value=\"0\"&#62;Choose gallery&#60;/option&#62;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; \n&#60;option value=\"\"&#62;&#38;nbsp;&#60;/option&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; foreach ($gallerylist as $gallery) {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $name = ( empty($gallery-&#62;title) ) ? $gallery-&#62;name : $gallery-&#62;title;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput .= "\n&#60;option value=\"$gallery-&#62;gid\"&#62;$name&#60;/option&#62;"; }<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput .= "&#60;/select&#62;";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput .= "\n&#60;/div&#62;";</p>
<p>[/code]</p>
<br />
<p>Thanks to everyone, particularly Chanty for this <img title="Laugh" src="/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /><img title="Laugh" src="/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /><img title="Laugh" src="/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
<br />
<p>If you want to see what it looks like on my site you can visit <a href="http://vrcc.turnspain.com" rel="nofollow" target="_blank">http://vrcc.turnspain.com</a></p>
]]></description>
	<pubDate>Wed, 23 Dec 2009 05:37:06 +0000</pubDate>
</item>
<item>
	<title>tobi1kanoby on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p207</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p207</guid>
	<description><![CDATA[<p>Hi Chanty.</p>
<p>I tried replacing line 243 as described and keep getting <strong>Parse error</strong>:  syntax error, unexpected &#39;&#60;&#39; in <strong>/home/content/t/o/b/tobisan/html/wp-content/plugins/nextgen-public-uploader/inc/npu-upload.php</strong> on line <strong>243</strong></p>
<br />
<p>when this is the script:</p>
<p>&#160;$strOutput .= "\n&#60;/div&#62;";<br />include_once (NGGALLERY_ABSPATH.&#8221;lib/ngg-db.php&#8221;);<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $nggdb = new nggdb();<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $gallerylist = $nggdb-&#62;find_all_galleries(&#39;gid&#39;, &#39;ASC&#39;);</p>
<p>any idea what Im doing wrong?</p>
<p>thanks</p>
]]></description>
	<pubDate>Wed, 23 Dec 2009 05:27:01 +0000</pubDate>
</item>
<item>
	<title>castvision on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p203</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p203</guid>
	<description><![CDATA[<p>Hi Chanty</p>
<br />
<p>No not blank a screendump before and after I add another gallery below</p>
<p>After I add a gallery the &#39;choose category&#39; doesn&#39;t include the new gallery but does include the text I added for the image title</p>
<p>So I&#39;m assuming there is a fault with the code there but I can&#39;t work out what!</p>
<p>Thanks for any help you can provide</p>
<br />
<p><img src="http://hccnatex.havantcameraclub.co.uk/wp-content/gallery/open/ok.jpg?604077539" alt="" width="573" height="318" /></p>
<p><img src="http://hccnatex.havantcameraclub.co.uk/wp-content/gallery/open/notok.jpg?1808305702" alt="" /></p>
]]></description>
	<pubDate>Thu, 17 Dec 2009 11:54:29 +0000</pubDate>
</item>
<item>
	<title>Chanty on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p201</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p201</guid>
	<description><![CDATA[<blockquote>
<p>castvision said:</p>
<p>line 244 on mine</p>
<br />
<p>Works a treat</p>
<br />
<p>Chanty big thanks for providing the code and the code it replaces <img title="Cool" src="/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /> <img title="Smile" src="/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
</blockquote>
<hr />
<p>Ah yes, there are two of that line in 1.5. Do you just get a blank page then? I&#39;m not sure what other changes have been made to the code in 1.5, so something else may be needing that line...</p>
]]></description>
	<pubDate>Wed, 16 Dec 2009 14:20:22 +0000</pubDate>
</item>
<item>
	<title>castvision on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p200</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p200</guid>
	<description><![CDATA[<p>Spoke to soon I&#39;m afraid, added a gallery and it went back to throwing my template out <img title="Cry" src="/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /></p>
<br />
<p>Any suggestions would be very much appreciated?</p>
<br />
<p>In the meantime I&#39;ll see if any thing makes sense to me, damn wish I knew PHP!</p>
]]></description>
	<pubDate>Tue, 15 Dec 2009 03:32:06 +0000</pubDate>
</item>
<item>
	<title>castvision on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p199</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p199</guid>
	<description><![CDATA[<p>line 244 on mine</p>
<br />
<p>Works a treat</p>
<br />
<p>Chanty big thanks for providing the code and the code it replaces <img title="Cool" src="/wp-content/forum-smileys/sf-cool.gif" alt="Cool" /> <img title="Smile" src="/wp-content/forum-smileys/sf-smile.gif" alt="Smile" /></p>
]]></description>
	<pubDate>Mon, 14 Dec 2009 03:36:25 +0000</pubDate>
</item>
<item>
	<title>Valkrider on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p198</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p198</guid>
	<description><![CDATA[<p><img title="Cry" src="/wp-content/forum-smileys/sf-cry.gif" alt="Cry" /> If I replace line 2.11 in 1.5 it stops my blog working completely.</p>
<br />
<p><img title="Embarassed" src="/wp-content/forum-smileys/sf-embarassed.gif" alt="Embarassed" width="18" height="18" /> My php skills are not up to resolving this so I have had to revert to the vanilla version unfortunately.</p>
<br />
<p>I suspect it may be incompatibility with the theme I am using (Suffusion) but I don&#39;t want to change the theme so I will have to stick with v1.5 unmodified unless you can suggest an alternative way of achieving the same outcome.</p>
]]></description>
	<pubDate>Sun, 13 Dec 2009 06:02:42 +0000</pubDate>
</item>
<item>
	<title>Chanty on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p197</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p197</guid>
	<description><![CDATA[<p>This is what&#39;s on line 243 (in version 1.4)</p>
<br />
<div class="sfcode">$strOutput .= "\n&#60;input type=\"hidden\" name=\"galleryselect\" value=\"{$gal_id}\"&#62;";</div>
<br />
<p>It&#39;s on line 211 in 1.5 <img src='http://webdevstudios.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></description>
	<pubDate>Sat, 12 Dec 2009 15:52:07 +0000</pubDate>
</item>
<item>
	<title>Valkrider on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p196</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p196</guid>
	<description><![CDATA[<p>It may be me but I can&#39;t get this code to work either. line 243 for me just contains a }</p>
<br />
<p>This is the code from lines 240 to 250 according to my editor</p>
<p>[code]</p>
<p>&#160;&#160;&#160; echo $strOutput;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; } else {<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; &#160;&#160;&#160; return $strOutput;<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160; &#160;&#160;&#160; }&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; }<br />&#160;&#160;&#160; &#160;&#160;&#160; <br />&#160;&#160;&#160; &#160;&#160;&#160; // Function: Widget Form<br />&#160;&#160;&#160; &#160;&#160;&#160; public function display_uploader_widget($gal_id, $strDetailsPage = false, $blnShowAltText = true, $echo = true) {&#160;&#160;&#160; <br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; $strOutput = "";<br />&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; if (count($this-&#62;arrErrorMsg_widg) &#62; 0) {</p>
<p>[/code]</p>
<br />
<p>Is this really the correct place?</p>
]]></description>
	<pubDate>Sat, 12 Dec 2009 05:41:44 +0000</pubDate>
</item>
<item>
	<title>Chanty on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p192</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p192</guid>
	<description><![CDATA[<blockquote>
<p>WDS-Scott said:</p>
<p>Awesome! Thanks for the &#8220;how-to&#8221;. I&#39;ll incorporate this in a future release of the plugin and until then send people here for the patch.</p>
<p>Thanks again,</p>
<p>-Scott</p>
</blockquote>
<hr />
<p>No problem! It&#39;s not optimal code though, it apparently gives an error when uploading the same file (not sure if that&#39;s related to the plugin itself or just a lack of proper error code handling for my code) and whenever you don&#39;t select a gallery, I&#39;m guessing that&#39;s because I got rid of the default gallery setting in my code. But glad to have helped <img src='http://webdevstudios.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />
<p>@ castvision; did you copy &#38; paste the code in place of the code on line 243?</p>
]]></description>
	<pubDate>Thu, 10 Dec 2009 15:37:01 +0000</pubDate>
</item>
<item>
	<title>castvision on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p187</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p187</guid>
	<description><![CDATA[<p>Hi there</p>
<p>Just loaded the plugin in the hopes of doing the above but not working on mine, it sends the template off</p>
<p>Not familiar with PHP so perhaps doing something wrong!!?</p>
]]></description>
	<pubDate>Tue, 08 Dec 2009 12:30:32 +0000</pubDate>
</item>
<item>
	<title>WDS-Scott on Select gallery on upload page</title>
	<link>http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p184</link>
	<category>NextGEN Public Uploader</category>
	<guid isPermaLink="true">http://webdevstudios.com/support/forum/nextgen-public-uploader/select-gallery-on-upload-page/#p184</guid>
	<description><![CDATA[<p>Awesome! Thanks for the "how-to". I&#39;ll incorporate this in a future release of the plugin and until then send people here for the patch.</p>
<p>Thanks again,</p>
<p>-Scott</p>
]]></description>
	<pubDate>Mon, 07 Dec 2009 20:24:21 +0000</pubDate>
</item>
</channel>
</rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)

Served from: webdevstudios.com @ 2010-09-08 23:58:12 -->