<rss version="2.0">
		<channel>
			<title>Plogger Support Forum - All Discussions</title>
			<lastBuildDate>Sat, 07 Mar 2026 21:01:16 +0000</lastBuildDate>
			<link>http://www.plogger.org/forum/</link>
			<description></description>
			<generator>Lussumo Vanilla 1.1.10</generator>
			<item>
		<title>No comments for specific images</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3557</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3557</guid>
		<pubDate>Wed, 06 Apr 2011 05:29:18 +0000</pubDate>
		<author></author>
		<description>
			<![CDATA[Hi,<br /><br />   I'm creating my first websites with the help of Plogger installed through softaculous .I want to turn off comments for some of the images.How can i do this?]]>
		</description>
	</item>
	<item>
		<title>The gallery becomes very slow when I open an album</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3558</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3558</guid>
		<pubDate>Wed, 06 Apr 2011 13:31:50 +0000</pubDate>
		<author>Voodito</author>
		<description>
			<![CDATA[Hello World =]<br />I installed Plogger locally it is not the first time to work with it, <br />I installed it on XAMPP and everything is working fine<br />except whenever I try to open an album from both admin or site it take ages to open <br /><br />so what is the problem? , some functions that cause the delay?<br />or caching? or problems with the XAMPP?<br /><br />waiting for your answers and thanks in advance =]]]>
		</description>
	</item>
	<item>
		<title>Preserve original filename formatting?</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3552</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3552</guid>
		<pubDate>Fri, 01 Apr 2011 04:59:03 +0000</pubDate>
		<author>nickpish</author>
		<description>
			<![CDATA[Thanks to this forum I discovered how to modify the template to display filenames under the thumbs instead of captions. I see however that Plogger modifies the displayed filenames by changing to lowercase and stripping characters like brackets, etc.; however, we name our images with very specific formatting and I'm wondering how to have Plogger display the original filename (as uploaded) without these modifications? I would imagine a change to the &quot;plogger_get_picture_filename()&quot; function is the answer, but my PHP skills are limited... thanks for any help here.]]>
		</description>
	</item>
	<item>
		<title>Could not post Comments</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3534</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3534</guid>
		<pubDate>Fri, 18 Mar 2011 12:18:22 +0000</pubDate>
		<author>Dianamo</author>
		<description>
			<![CDATA[Hi,<br /><br />Hope anybody could help me. I have a, in my opionion, strange problem.<br />I have installed, modified plogger in 2 of my websites. The only thing I couldn't do is write comments.<br /><br />If I use the view from the Adminpanel I could write! So the first thing to checked is how I included plogger.<br />I use it with the url index.php?seite=bilder.<br />So I tried different things but I couldn't find a solution. But the strange thing, on one of four Webserver the code works!<br />In my opinion it is a problem of the Webserver. 3 Linux Server -&gt; No comments. Windows IIS -&gt; WORKS!<br />Perhaps, PHP Version, but I don't think so?<br /><br />Let's have a look:<br /><br />I use for local tests WebServer2Go.<br /><br />System  Windows NT X61T 6.1 build 7600 ((null)) i586  <br />Server API  Apache  <br />PHP Version 5.3.2 <br /><br />Could not post comments... <br /><br />First domain: <br /><br />System	Linux sh8-XX-server #1 SMP Wed Nov 24 09:30:54 UTC 2010 x86_64<br />Server API	CGI/FastCGI<br />PHP Version 5.2.17-0.dotdeb.0<br /><br />No Comments...<br /><br />Second Domain, different Provider:<br /><br />System	Linux XX #1 SMP Tue Mar 30 17:22:31 MSD 2010 i686<br />Server API	Apache 2.0 Handler<br />PHP Version 4.4.7-0.dotdeb.0<br /><br />And now my Wondermachine:<br /><br />System	Windows NT X61T 6.1 build 7600<br />Server API	CGI/FastCGI<br />PHP Version 5.2.17<br />--&gt; with IIS as Server<br /><br />Not an Apache and look, it works!<br /><br />4 Times, same Code but on one machine I could post comments.<br />The code is almost the original from default theme. <br /><br />Edit: I forgot tho say:<br /><br />The Form links to plog-comment.php<br />I suppose the problem is there. Here I have an Error:<br /><br />&lt;code&gt;&lt;b&gt;Notice&lt;/b&gt;:  Undefined index: parent in &lt;b&gt;D:\Users\Schdoi\Desktop\Web\Juca\pgalerie\plog-comment.php&lt;/b&gt; on line &lt;b&gt;46&lt;/b&gt;&lt;br /&gt; &lt;/code&gt;<br /><br />This is here:<br />&lt;code&gt;<br />// Set up all the necessary variables<br />46: $parent_id = intval($_POST['parent']);<br />47: $author = $email = $url = $comment = '';&lt;/code&gt;<br /><br />I know some problems because of includes, so I copied the lines on the beginning of the php site.<br />Before: <br />&lt;code&gt;include_once(dirname(__FILE__).'/plog-load-config.php');&lt;/code&gt;<br />So I haven't this Error, but $parent_id is after this line still empty.<br />$_POST['parent'] is always empty too. <br />The same as on my IIS machine, but there it works...<br /><br />Does anybody have an idea how I could solve my problem?<br />Or how I best debug it?<br /><br />Thanks for help,<br /><br />Regards,<br />Dianamo]]>
		</description>
	</item>
	<item>
		<title>HELP</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3548</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3548</guid>
		<pubDate>Mon, 28 Mar 2011 23:51:25 +0000</pubDate>
		<author>timraabnorthern</author>
		<description>
			<![CDATA[My password has not worked 2 nights now. I had to create a new account just to ask for help.  The system does not accept the user name or password!?   I have no access to my gallery now, that I have had up and running for 1 year!  Any serious suggestions?   I have no reason to believe the account was compromised.  All it's used for is my photo gallery album uploads. That's all.]]>
		</description>
	</item>
	<item>
		<title>Links In Index.php to Referring Page</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3547</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3547</guid>
		<pubDate>Mon, 28 Mar 2011 00:43:16 +0000</pubDate>
		<author>PtsAdmin</author>
		<description>
			<![CDATA[Hi,<br />This is how my plogger gallery is set up:<br /><br />Different pages on my website have links to different photo albums in my gallery. For instance, Page A has a link to the Police Software Screenshots album, Page B has a link to the Court Software Screenshots album. <br /><br />What I would like to do is have a link on the index.php that links back to the main website, but it would change according to the referring page. For example, if you go to the Police Software Screenshots album from the link on Page A, the link on index.php would link back to Page A, but if you go to the Court Software Screenshots album from the link on Page B, the link on index.php would link back to Page B.<br /><br />Can anyone tell me how to do this?<br /><br />I wanted to integrate plogger into my site, but my site structure is rather complicated with server side includes aplenty. I never got it to work.<br /><br />Thanks,<br />Mike]]>
		</description>
	</item>
	<item>
		<title>hi there</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3546</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3546</guid>
		<pubDate>Mon, 28 Mar 2011 00:21:50 +0000</pubDate>
		<author></author>
		<description>
			<![CDATA[<a href="http://RobLamb.com" >Tucson Real Estate</a><br /><a href="http://westernlandscapemaintenance.com/services/orange_county_landscaping" >Orange County Landscaping</a><br /><a href="http://essentialpest.com/tucson-exterminators" >termite control tucson</a>]]>
		</description>
	</item>
	<item>
		<title>Some Images Don't Show</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3542</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3542</guid>
		<pubDate>Sat, 26 Mar 2011 15:08:49 +0000</pubDate>
		<author>PtsAdmin</author>
		<description>
			<![CDATA[Hello,<br />I've just started using Plogger. I imported some images and went to view my album using the View button. All thumbnails display, but when I click on about 1/3 of the images, the full-sized images themselves don't show, just the title and description. I've tried deleting the images in question and reimporting them, but it does no good. These images are not larger in size or in file size than any of the others. Anybody know what could be going on?<br />Thanks,<br />Mike]]>
		</description>
	</item>
	<item>
		<title>HowTo: password protect albums</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=1430</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=1430</guid>
		<pubDate>Sat, 08 Sep 2007 02:18:45 +0000</pubDate>
		<author>bauerman</author>
		<description>
			<![CDATA[hi,<br />I manged to implement password protection per album. <br />You just have to make some minor changes to the code!<br />(I think everybody, even without PHP-knowledge will manage it)]]>
		</description>
	</item>
	<item>
		<title>Adding descriptions to collections (default theme)</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3545</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3545</guid>
		<pubDate>Sun, 27 Mar 2011 02:19:26 +0000</pubDate>
		<author>meltdown</author>
		<description>
			<![CDATA[I would like to add a visible description to the main collections page under the title. I've added the description itself in the Plogger admin. However, my attempts at modifying code to achieve my goal have been less than successful. Attempts are as follows:<br /><br />I added the following to plog-functions.php:<br /><br /><code >function plogger_get_collection_desc() {<br />    return $GLOBALS['current_collection']['description'];<br />}</code><br /><br />and added the following to collection.php:<br /><br /><code >&lt;?php plogger_get_header();<br />$desc = plogger_get_collection_desc();<br />?&gt;</code><br /><br />When that failed, I tried this:<br /><br />I added the following to plog-functions.php:<br /><br /><code >function plogger_get_collection_desc($specialchars = false) {<br />	if ($specialchars) {<br />		return htmlspecialchars(SmartStripSlashes($GLOBALS['current_collection']['description']), ENT_QUOTES);<br />	}<br />	return SmartStripSlashes($GLOBALS['current_collection']['description']);<br />}</code><br /><br />and added the following to collection.php:<br /><br /><code >&lt;?php plogger_get_header();<br />$desc = plogger_get_collection_desc();<br />?&gt;</code><br /><br />As may be obvious, I'm flying by the seat of my pants here. Could anyone please walk me through the steps to add descriptions? Again, I'm using the default theme.<br /><br />Thank you!]]>
		</description>
	</item>
	<item>
		<title>parse error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3544</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3544</guid>
		<pubDate>Sat, 26 Mar 2011 21:11:37 +0000</pubDate>
		<author>RCVF</author>
		<description>
			<![CDATA[I installed Plogger and get the following error when I try to go to any page. <br /><br />Parse error: syntax error, unexpected T_STRING in /home3/greenble/public_html/rockycreekvalley/photos/plog-config.php on line 1<br />Below is the code, I removed the user name &amp; pw.<br /><br />&lt;?php/* You can manually modify this file before installing (renaming this file to plog-config.php before * installation) or you can let Plogger generate the file automatically by running the installation script * (run plog-admin/_install.php in your browser). * If you want to change the database connection information, you may also edit this file manually * after Plogger has been installed. *//* MySQL hostname */define('PLOGGER_DB_HOST', 'localhost');/* MySQL database username */define('PLOGGER_DB_USER', 'greenble_xxxxx');/* MySQL database password */define('PLOGGER_DB_PW', 'xxxxxx');/* The name of the database for Plogger */define('PLOGGER_DB_NAME', 'greenble_photos');/* Define the Plogger database table prefix. You can have multiple installations in one database if you give * each a unique prefix. Only numbers, letters, and underscores are permitted (i.e., plogger_). */define('PLOGGER_TABLE_PREFIX', 'plogger_');/* Define the Plogger directory permissions. Change permissions if you are having issues with images or * sub-directories being saved, moved, or deleted from the Plogger-created directories (i.e. Collections * or Albums) */define('PLOGGER_CHMOD_DIR', 0755);/* Define the Plogger file permissions. Change permissions if you are having issues with viewing, * deleting, or moving images within Plogger (i.e. Pictures) */define('PLOGGER_CHMOD_FILE', 0644);/* Is Plogger embedded in another program, like WordPress? * 1/0 (True/False) if set will overrule automatic check */define('PLOGGER_EMBEDDED', '');/* Define a directory path to save session variables if you are having trouble logging in or Plogger is * telling you that you have session.save_path issues and/or if your server php.ini setup has a * blank session.save_path php.ini variable */define('PLOGGER_SESSION_SAVE_PATH', '');/* Plogger localized language, defaults to English. Change this to localize Plogger. * A corresponding MO file for the chosen language must be installed in /plog-content/translations/. * For example, upload de.mo to /plog-content/translations/ and set PLOGGER_LOCALE to 'de' to * enable German language support. * Example language codes: da, de, et, fr, pl, ro, tr, en-CA (for Canadian English) */define('PLOGGER_LOCALE', '');/* Turn on debug mode if trying to troubleshoot issues. * 1/0 (True/False) if set will display debug messages at bottom of gallery and admin pages * Do not leave this running if gallery is functioning properly. */define('PLOGGER_DEBUG', '');?&gt;<br /><br />Plogger generated the page I don't see the error, thanks if you can help<br />Gary]]>
		</description>
	</item>
	<item>
		<title>Upgrade - Error: could not move images.</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=1678</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=1678</guid>
		<pubDate>Tue, 29 Jan 2008 16:06:13 +0000</pubDate>
		<author>ryanhart</author>
		<description>
			<![CDATA[]]>
		</description>
	</item>
	<item>
		<title>on Image onMouseOver next and previous Button</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3541</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3541</guid>
		<pubDate>Fri, 25 Mar 2011 14:46:31 +0000</pubDate>
		<author>omarfarooque</author>
		<description>
			<![CDATA[It is possible to make onMouseOver next and previous button on main image <br /><br />I am still searching this function..<br />Please help me]]>
		</description>
	</item>
	<item>
		<title>API</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3540</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3540</guid>
		<pubDate>Fri, 25 Mar 2011 10:13:33 +0000</pubDate>
		<author>demodav</author>
		<description>
			<![CDATA[Do you have an API?<br />I like this but I would like to integrate it with my system using it's source only?]]>
		</description>
	</item>
	<item>
		<title>installs fine, but error on single image pages.</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3527</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3527</guid>
		<pubDate>Mon, 07 Mar 2011 12:57:29 +0000</pubDate>
		<author>kiltedbear</author>
		<description>
			<![CDATA[I was able to install RC1 just fine for test on my test server. The PHP root plogger files are in the same directory as the website I am attempting to integrate it with.<br /><br />Everything seems to work fine except for some reason, the page that shows the medium image size pushes the table cell out on my integrated page to the right. It's the only set of pages that do that. The page with album listings or thumbs works and flow properly. The image isn't too big as the long edge size is set much smaller than the cell width and it appears that the text has space in between as it attempts to justify some of it. Can you tell me why this happens? I think it's likely one of the setting on that particular set of includes is off.<br /><br /><a href="http://16acrescomputerstrial.info/photogalleryTEST.php?level=picture&id=62" >http://16acrescomputerstrial.info/photogalleryTEST.php?level=picture&id=62</a>]]>
		</description>
	</item>
	<item>
		<title>how to put looping function in Navigation</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3538</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3538</guid>
		<pubDate>Thu, 24 Mar 2011 04:54:09 +0000</pubDate>
		<author>omarfarooque</author>
		<description>
			<![CDATA[I am trying to make this function in Plogger witch allow me next and previous looping .<br />When you got last image then click next button then go to first image .. and when you got first image then click to previous button then you go to last <br /><br />Please help me to make this <br />Thank you]]>
		</description>
	</item>
	<item>
		<title>how to navigate with javascrip tabs</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3537</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3537</guid>
		<pubDate>Wed, 23 Mar 2011 12:03:01 +0000</pubDate>
		<author>fox.hysen@gmail.com</author>
		<description>
			<![CDATA[hi, <br /><br />Im building a website with a navigation system where each page is a tab inside one index.php file. <br />I have two tabs that would display images &quot;sculptures&quot; and &quot;wearable&quot; here is the whole code to make it easier to see:<br /><br />&lt;body&gt;<br />	     &lt;ul class=&quot;Tabs&quot;&gt;<br />			&lt;li class=&quot;sculptures&quot;&gt;&lt;a href=&quot;#sculptures&quot;&gt;SCULPTURE&lt;/a&gt;&lt;/li&gt;<br />                        &lt;li class=&quot;wearable&quot;&gt;&lt;a href=&quot;#wearable&quot; &gt;WEARABLE&lt;/a&gt;&lt;/li&gt;<br />                        &lt;li class=&quot;news&quot;&gt;&lt;a href=&quot;#news&quot;&gt;NEWS&lt;/a&gt;&lt;/li&gt;<br />                        &lt;li class=&quot;contact&quot;&gt;&lt;a href=&quot;#contact&quot;&gt;CONTACT&lt;/a&gt;&lt;/li&gt;<br /> 		&lt;/ul&gt;<br /><br /><br />			&lt;/div&gt; &lt;!-- end #header --&gt; <br /><br /><br />&lt;div id=&quot;mainContent&quot;&gt;<br />    	&lt;div class=&quot;items&quot;&gt;<br />    		&lt;div id=&quot;home&quot;&gt;&lt;/div&gt;<br /> 			&lt;div id=&quot;sculptures&quot; class=&quot;top&quot;&gt;&lt;?php include(&quot;sculpture.php&quot;); ?&gt;&lt;/div&gt;<br />   			&lt;div id=&quot;wearable&quot; class=&quot;top&quot;&gt;&lt;?php include(&quot;wearable.php&quot;); ?&gt;&lt;/div&gt;<br />   			&lt;div id=&quot;news&quot; class=&quot;top&quot;&gt;&lt;?php include(&quot;news.php&quot;); ?&gt;&lt;/div&gt;<br />    		&lt;div id=&quot;contact&quot; class=&quot;top&quot;&gt;&lt;?php include(&quot;contact.php&quot;); ?&gt;&lt;/div&gt;<br />    	&lt;/div&gt;<br />&lt;/div&gt; &lt;!-- end #mainContent --&gt;<br /><br />&lt;/body&gt;<br />&lt;/html&gt;<br />++++++++++++++++++++++++++<br />anyone have any suggestions on how i could work this out so that when you hit &quot;sculpture&quot; it goes straigh to the thumbnails in the sculpture section and bypass<br />having to navigate through collections&gt;artistcollect&gt;sculpture. THANKS FOR ANY HELP!]]>
		</description>
	</item>
	<item>
		<title>getimagesize()</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3533</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3533</guid>
		<pubDate>Wed, 16 Mar 2011 08:23:15 +0000</pubDate>
		<author>lewis712</author>
		<description>
			<![CDATA[I just installed Plogger yesterday and I love it.  I uploaded many images and things were working good.<br /><br />Today however, I went to upload a picture, then view my site and got the following error:<br /><br />Warning: getimagesize() [function.getimagesize]: Read error! in /homepages/45/mysite/htdocs/plogger/plog-includes/plog-functions.php on line 2614<br /><br />Notice: Undefined offset: 1 in /homepages/45/mysite/htdocs/plogger/plog-includes/plog-functions.php on line 2616<br /><br />Any help would be appreciated.<br /><br />Thanks,<br />Andy]]>
		</description>
	</item>
	<item>
		<title>Single latest photo on home page</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3528</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3528</guid>
		<pubDate>Tue, 08 Mar 2011 02:44:36 +0000</pubDate>
		<author>pawan269</author>
		<description>
			<![CDATA[Hi,<br />I have installed plogger at my dev server and testing it for usability. My boss wants it to display single latest photograph at home page (along with exif, comments etc) and collections below it.<br /><br />Please let me know how to achieve this?<br /><br />Thanks in advance ...<br /><br />Cheers,<br />Pawan]]>
		</description>
	</item>
	<item>
		<title>Regarding JPG and function ereg is deprecated</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3532</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3532</guid>
		<pubDate>Wed, 16 Mar 2011 03:07:00 +0000</pubDate>
		<author>venkatsys</author>
		<description>
			<![CDATA[Hi,<br /><br />I am new to plogger to implement the photo gallery in my website.As I have started to install the plogger in my local system it will show the error that<br />&lt;strong&gt;function ereg is deprecated&lt;/strong&gt; and also show the &lt;strong&gt;Undefined index: JPG Support&lt;/strong&gt;.I have struggled for the past few days to solve the problem.<br /><br />please help me to solve the problem.<br /><br />Regards,<br />Venkat]]>
		</description>
	</item>
	<item>
		<title>UPDATED : Advance Search Function for Plogger</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3531</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3531</guid>
		<pubDate>Tue, 15 Mar 2011 11:15:49 +0000</pubDate>
		<author>chewbears</author>
		<description>
			<![CDATA[I have added the ability to &quot;exact phrase match&quot; along with multiple phrases, and and like statements.  It is a revision on the + search created by sidtheduck.<br /><br />Edits all go in plog-functions.<br /><br />YOU WILL HAVE TO CHANGE THE FIELDS TO REFLECT THE FIELDS YOU WANT TO SEARCH!!!  DO not think that my fields exist in your database.<br /><br />FIRST edit your search function to look something like this:<br /><br />&lt;code&gt;function plogger_init_search($arr) { <br />$arr['searchterms'] = trim($arr['searchterms']); <br /><br />if (strstr($arr['searchterms'],'*+'))<br />{<br />$terms = explode('*+*',substr($arr['searchterms'],1,-1));<br />$case = &quot;AND&quot;;<br />}<br />else if (strstr($arr['searchterms'],'*'))<br />{<br />$terms = explode('* *',substr($arr['searchterms'],1,-1)); <br />$case = &quot; OR&quot;;<br />}<br />else <br />{<br />$terms = explode(&quot; &quot;,$arr['searchterms']);<br />$case = &quot; OR&quot;;<br />}<br /><br />$from = 0; <br />$limit = 20; <br /><br />if (isset($arr['from']) &amp;&amp; $arr['from'] &gt; 0) { <br />$from = $arr['from']; <br />} <br /><br />// enforce hard-coded max limit <br />if (isset($arr['limit']) &amp;&amp; $arr['limit'] &gt; 0 &amp;&amp; $arr['limit'] &lt;= 100) { <br />$limit = $arr['limit']; <br />} <br /><br />$query = &quot; FROM `&quot;.TABLE_PREFIX.&quot;pictures` p LEFT JOIN `&quot;.TABLE_PREFIX.&quot;comments` c <br />ON p.`id` = c.`parent_id` &quot;; <br /><br />if ((count($terms) != 1) || ($terms[0] != '')){ <br />$query .= &quot; WHERE &quot;; <br />foreach ((array)$terms as $term) { <br />$query .= &quot; (&quot;;<br />$term = mysql_real_escape_string($term); <br />$multi_term = explode(&quot;+&quot;,$term); <br />if (count($multi_term)&gt;1) { <br />$path = implode(&quot;%' AND `path` LIKE '%&quot;,$multi_term); <br />$description = implode(&quot;%' AND `description` LIKE '%&quot;,$multi_term); <br />$comment = implode(&quot;%' AND `comment` LIKE '%&quot;,$multi_term); <br />$caption = implode(&quot;%' AND `caption` LIKE '%&quot;,$multi_term); <br />$EXIF_subj_ref = implode(&quot;%' AND `EXIF_subj_ref` LIKE '%&quot;,$multi_term); <br />$EXIF_cont_loc_name = implode(&quot;%' AND `EXIF_cont_loc_name` LIKE '%&quot;,$multi_term); <br />$EXIF_city = implode(&quot;%' AND `EXIF_city` LIKE '%&quot;,$multi_term); <br />$EXIF_state = implode(&quot;%' AND `EXIF_state` LIKE '%&quot;,$multi_term); <br />$EXIF_country = implode(&quot;%' AND `EXIF_country` LIKE '%&quot;,$multi_term); <br />$EXIF_credit = implode(&quot;%' AND `EXIF_credit` LIKE '%&quot;,$multi_term); <br />$EXIF_source = implode(&quot;%' AND `EXIF_source` LIKE '%&quot;,$multi_term); <br />$EXIF_contact = implode(&quot;%' AND `EXIF_contact` LIKE '%&quot;,$multi_term); <br />$EXIF_caption = implode(&quot;%' AND `EXIF_caption` LIKE '%&quot;,$multi_term); <br />$EXIF_make = implode(&quot;%' AND `EXIF_make` LIKE '%&quot;,$multi_term); <br />$EXIF_model = implode(&quot;%' AND `EXIF_model` LIKE '%&quot;,$multi_term); <br />$EXIF_copyright = implode(&quot;%' AND `EXIF_copyright` LIKE '%&quot;,$multi_term); <br />$EXIF_artist = implode(&quot;%' AND `EXIF_artist` LIKE '%&quot;,$multi_term); <br />$EXIF_lat_ref = implode(&quot;%' AND `EXIF_lat_ref` LIKE '%&quot;,$multi_term); <br />$EXIF_long_ref = implode(&quot;%' AND `EXIF_long_ref` LIKE '%&quot;,$multi_term); <br />$EXIF_lat = implode(&quot;%' AND `EXIF_lat` LIKE '%&quot;,$multi_term); <br />$EXIF_long = implode(&quot;%' AND `EXIF_long` LIKE '%&quot;,$multi_term); <br />$EXIF_date_time_dig = implode(&quot;%' AND `EXIF_date_time_dig` LIKE '%&quot;,$multi_term); <br />$EXIF_date_time_orig = implode(&quot;%' AND `EXIF_date_time_orig` LIKE '%&quot;,$multi_term); <br />$EXIF_img_hist = implode(&quot;%' AND `EXIF_img_hist` LIKE '%&quot;,$multi_term); <br />$EXIF_usr_comment = implode(&quot;%' AND `EXIF_usr_comment` LIKE '%&quot;,$multi_term); <br />$EXIF_comment = implode(&quot;%' AND `EXIF_comment` LIKE '%&quot;,$multi_term); <br />$EXIF_keyword = implode(&quot;%' AND `EXIF_keyword` LIKE '%&quot;,$multi_term); <br />} else { <br />$path = $description = $comment = $caption = $EXIF_subj_ref = $EXIF_cont_loc_name = $EXIF_city = $EXIF_state = $EXIF_country = $EXIF_credit = $EXIF_source = $EXIF_contact = $EXIF_caption = $EXIF_make = $EXIF_model = $EXIF_copyright = $EXIF_artist = $EXIF_lat_ref = $EXIF_long_ref = $EXIF_lat = $EXIF_long = $EXIF_date_time_dig = $EXIF_date_time_orig = $EXIF_img_hist = $EXIF_usr_comment = $EXIF_comment =$EXIF_keyword = $term; <br />} $query .= &quot; <br />`path` LIKE '%$path%' OR <br />`description` LIKE '%$description%' OR <br />`comment` LIKE '%$comment%' OR <br />`caption` LIKE '%$caption%' OR <br />`EXIF_subj_ref` LIKE '%$EXIF_subj_ref%' OR <br />`EXIF_cont_loc_name` LIKE '%$EXIF_cont_loc_name%' OR <br />`EXIF_city` LIKE '%$EXIF_city%' OR <br />`EXIF_state` LIKE '%$EXIF_state%' OR <br />`EXIF_country` LIKE '%$EXIF_country%' OR <br />`EXIF_credit` LIKE '%$EXIF_credit%' OR <br />`EXIF_source` LIKE '%$EXIF_source%' OR <br />`EXIF_contact` LIKE '%$EXIF_contact%' OR <br />`EXIF_caption` LIKE '%$EXIF_caption%' OR <br />`EXIF_make` LIKE '%$EXIF_make%' OR <br />`EXIF_model` LIKE '%$EXIF_model%' OR <br />`EXIF_copyright` LIKE '%$EXIF_copyright%' OR <br />`EXIF_artist` LIKE '%$EXIF_artist%' OR <br />`EXIF_lat_ref` LIKE '%$EXIF_lat_ref%' OR <br />`EXIF_long_ref` LIKE '%$EXIF_long_ref%' OR <br />`EXIF_lat` LIKE '%$EXIF_lat%' OR <br />`EXIF_long` LIKE '%$EXIF_long%' OR <br />`EXIF_date_time_dig` LIKE '%$EXIF_date_time_dig%' OR <br />`EXIF_date_time_orig` LIKE '%$EXIF_date_time_orig%' OR <br />`EXIF_img_hist` LIKE '%$EXIF_img_hist%' OR <br />`EXIF_usr_comment` LIKE '%$EXIF_usr_comment%' OR <br />`EXIF_comment` LIKE '%$EXIF_comment%' OR <br />`EXIF_keyword` LIKE '%$EXIF_keyword%' ) $case&quot;; <br />} <br />$query = substr($query, 0, strlen($query) - 5) .&quot;) &quot;; <br />} else { <br />// no search terms? no results either <br />$query .= &quot; WHERE 1 = 0&quot;; <br />} <br /><br />$sort_fields = array('date_submitted','id'); <br />$sortby = 'date_submitted'; <br /><br />if (isset($arr['sortby']) &amp;&amp; in_array($arr['sortby'],$sort_fields)) { <br />$sortby = $arr['sortby']; <br />} <br /><br />$sortdir = ' ASC'; <br /><br />if (isset($arr['sortdir']) &amp;&amp; 'desc' == $arr['sortdir']) { <br />$sortdir = ' DESC'; <br />} <br /><br />$result = run_query(&quot;SELECT COUNT(DISTINCT p.`id`) AS cnt &quot; . $query); <br />$row = mysql_fetch_assoc($result); <br /><br />$GLOBALS[&quot;total_pictures&quot;] = $row[&quot;cnt&quot;]; <br />// and I need sort order here as well <br />// from and limit too <br />$result = run_query(&quot;SELECT p.*,c.`comment`, <br />UNIX_TIMESTAMP(`date_submitted`) AS `unix_date_submitted` &quot;.$query . <br />&quot; GROUP BY p.`id` ORDER BY `$sortby` $sortdir LIMIT $from,$limit&quot;); <br /><br />$GLOBALS[&quot;available_pictures&quot;] = mysql_num_rows($result); <br />$GLOBALS[&quot;picture_counter&quot;] = 0; <br />$GLOBALS[&quot;picture_dbh&quot;] = $result;<br /><br />}<br />&lt;/code&gt;]]>
		</description>
	</item>
	<item>
		<title>Uploading from Web Interface Very Slow</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3530</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3530</guid>
		<pubDate>Thu, 10 Mar 2011 16:50:59 +0000</pubDate>
		<author>bad karma</author>
		<description>
			<![CDATA[I recently designed a website for a client and used Plogger so that they could upload their own photos to their gallery without having to hassle me. From my workstation, with a 50/50MB fibre line, I can upload photos to my web server nearly instanty. From their location, which uses a 3MB connection with only 768k up, it takes substantially longer. For a while I've just been blaming their slow upload connection, because it made the most sense. However, I currently have their workstation in my facility for service, and the customer requested that I attempt an upload using our connection. Oddly enough, the IE progress bar takes about five minutes to go halfway, then everything stops. However, from my workstation everything is normal/instant. Any insight?]]>
		</description>
	</item>
	<item>
		<title>Help Needed with Captcha</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3520</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3520</guid>
		<pubDate>Sun, 27 Feb 2011 17:41:11 +0000</pubDate>
		<author>joemolloy</author>
		<description>
			<![CDATA[Hi Guys,<br /> I am running VERSION: 1.0-RC1 . My host server details are:Server Software: Apache/ <br />PHP Version: 5.2.8 (CGI-FCGI)<br />MySQL Version: 5.0.67<br />GD Version: bundled (2.0.34 compatible) with JPEG support<br />Session Save Path: /tmp<br />File Upload Size Limit: 12MB<br />Temporary Memory Limit: 64M<br />Code Run Time Limit: 300s<br /><br />I have started getting over 90 spam comments a day so I have turned off Allow Comments.<br /><br />I have been trying to activate Captcha. Althought the plog-comment.php has the following code:<br />// If <br /><br />the captcha is required, check it here<br />		if (isset($_SESSION['require_captcha']) &amp;&amp; $_SESSION['require_captcha'] === true) {<br />	<br /><br />		if (!isset($_POST['captcha']) || !isset($_SESSION['captcha']) || $_POST['captcha'] != $_SESSION['captcha']) {<br />		<br /><br />		$errors[] = plog_tr('CAPTCHA check failed.');<br />				$error_field[] = 'captcha';<br />			<br /><br />}<br />		}<br /><br />		if (empty($errors)) {<br />			$rv = add_comment($parent_id, $author, $email, $url, <br /><br />$comment);<br />			// We're done with this so empty it out to stop double posts<br />			unset($_POST);<br />		<br /><br />	if (isset($rv['errors'])) {<br />				$errors = $rv['errors'];<br />			} else if <br /><br />($config['comments_moderate']) {<br />				$_SESSION['comment_moderated'] = 1;<br />			}<br />		<br /><br />}<br />		unset($_SESSION['plogger-token']);<br />	} else {<br />		// Missing form token<br />		$errors = <br /><br />array(plog_tr('Spam token missing or does not match!'));<br />	}<br />} else {<br />	// Comments are not on<br />	$errors = <br /><br />array(plog_tr('Comments are disabled. You are unable to add a comment!'));<br />}<br /><br />if (!empty($errors)) {<br />	// Set the errors for form <br /><br />display<br />	$_SESSION['comment_post_error'] = $errors;<br />	// Set the session form variables so users don't have to re-enter <br /><br />their information<br />	$_SESSION['plogger-form'] = array(<br /><br /><br />which suggest to me captcha can be activated, and there are captcha files in the folder 'plog-includes'.<br /><br />It is not doing anything. I have registered and tried to add Google ReCaptcha code but this does not seem to work.<br /><br />I've tried the forum discussions but the code offered a couple of years ago does not work for me either.<br /><br />My gallery is at http://www.narpo-staffs.co.uk/photo_gallery/<br /><br />Incidentally, I am a novice in the programming world.<br /><br />Can you give me some simple guidance?<br /><br />Joe Molloy.]]>
		</description>
	</item>
	<item>
		<title>Translation SPANISH plogger 3.0b</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=2526</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=2526</guid>
		<pubDate>Wed, 25 Feb 2009 23:16:41 +0000</pubDate>
		<author>daniel_acevedo</author>
		<description>
			<![CDATA[i really cant writte english very well but i can read it. Sorry for the missed words and verbs, lol. I translate to spanish plogger 3.0b but i do not know how to install.. i can send you the .mo and de .po files but y really wanna test it first to fix any bug...]]>
		</description>
	</item>
	<item>
		<title>RSS photograph order</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3529</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3529</guid>
		<pubDate>Tue, 08 Mar 2011 02:46:30 +0000</pubDate>
		<author>pawan269</author>
		<description>
			<![CDATA[Hi,<br /><br />I have installed plogger at my dev server and testing it for usability, my boss wants the rss feed to display photographs (not album or collection) order by date posted. <br /><br />Please let me know how can I achieve this.<br /><br />Many thanks<br />Pawan]]>
		</description>
	</item>
	<item>
		<title>Square thumbnail ?</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=1000</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=1000</guid>
		<pubDate>Sat, 11 Nov 2006 10:59:05 +0000</pubDate>
		<author>click-interactive</author>
		<description>
			<![CDATA[Hello, how can I display rectangular thumbnails instead of square ones?? The thumbnails generated have a 'square' aspect rather than proportional to the actual image format.<br /><br />Instead of having for example a thumbnail of dimensions 100 x 100 px, I wish to have it 100 x 75 px for instance.]]>
		</description>
	</item>
	<item>
		<title>Gallery not displaying correctly</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3526</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3526</guid>
		<pubDate>Sat, 05 Mar 2011 18:30:06 +0000</pubDate>
		<author>theinsomniac</author>
		<description>
			<![CDATA[Hello,<br /><br />I've used Plogger in the past for another client but it's been a few years. I just installed it for my current client and have run into issues. I had it fixed at one point but it broke without anything changing. Pretty much the problem is that the thumbnails should be displayed as 6 images per row (12 per page) but only the first row displays correctly and the rest just display however they like to. An image is attached. Any idea how to correct this issue? I've gone through all the settings and don't see what may have changed. It was fixed at displaying 2 rows of 6 thumbnails but when I went back to it about 15 minutes later it was how it was in the image.<br /><br />Thanks,<br />Brad<br /><br /> <img src="http://www.insomdesigns.com/portfolio/lbp/plogger.png" alt="Plogger display issue" />]]>
		</description>
	</item>
	<item>
		<title>Notice: Constant THEME_DIR already defined in.....</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3525</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3525</guid>
		<pubDate>Sat, 05 Mar 2011 15:23:27 +0000</pubDate>
		<author>dume_x</author>
		<description>
			<![CDATA[Hello!<br />I just installed plogger for  the first time, and everything is working fine (i can see pictures in my gallery). My problem are two lines over the top of gallery : <br />Notice: Constant THEME_DIR already defined in /home/XXXXX/public_html/plogger-folder/plogger.php on line 111<br />Notice: Constant THEME_URL already defined in /home/XXXXX/public_html/plogger-folder/plogger.php on line 112<br />Can somebody help me?<br />Thanks!]]>
		</description>
	</item>
	<item>
		<title>Plogger Installation Error</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3512</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3512</guid>
		<pubDate>Mon, 14 Feb 2011 11:44:48 +0000</pubDate>
		<author>travler625</author>
		<description>
			<![CDATA[Greetings:<br /><br />Attempting to install Plogger, and have come across some errors that I cannot make heads or tails of.  Could be something quite simple, as I am fairly new to both SQL and PHP, but I have not been able to find any answers just yet.<br />I am hoping perhaps someone can help me make some sense of the following error messages, and perhaps point me in the right direction.<br />The following error messages appear after attemping a basic install.<br />I do have an associated database table for Plogger in MySQL (by way of phpmyadmin), but am not entirely certain even about the veracity of my build on that.<br />********************<br />string(184) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=MyISAM DEFAULT CHARACTER SET UTF8' at line 6" string(184) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=MyISAM DEFAULT CHARACTER SET UTF8' at line 8" string(226) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(14) NOT NULL, `date_submitted` timestamp(14) NOT NULL, `EXIF_date_taken` varc' at line 7" string(185) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=MyISAM DEFAULT CHARACTER SET UTF8' at line 12" string(185) "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Type=MyISAM DEFAULT CHARACTER SET UTF8' at line 29"<br />**************<br />Any input would be greatly appreciated.  <br />Thanks for your time.<br /><br />Cheers,<br />Scott]]>
		</description>
	</item>
	<item>
		<title>How do I call up an album on a web page?</title>
		<link>http://www.plogger.org/forum/comments.php?DiscussionID=3524</link>
		<guid isPermaLink="false">http://www.plogger.org/forum/comments.php?DiscussionID=3524</guid>
		<pubDate>Thu, 03 Mar 2011 22:27:54 +0000</pubDate>
		<author></author>
		<description>
			<![CDATA[Can I see a sample of a coded web page where an album is called up? <br />What header info needs to be on page along with code specified in readme file?<br />Where can I locate the page showing the album - anywhere in my site?<br />Do you have an IRC channel?<br /><br />TIA for help,<br />Kimi]]>
		</description>
	</item>
	
		</channel>
	</rss>