<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress / Gallery Integration Problem Solved</title>
	<atom:link href="http://www.rapp.org/archives/2004/11/wordpress_and_gallery/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/</link>
	<description>Ron's the name.  Aviation's the game.</description>
	<lastBuildDate>Tue, 31 Aug 2010 06:25:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Jemima</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-11812</link>
		<dc:creator>Jemima</dc:creator>
		<pubDate>Sun, 08 May 2005 11:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-11812</guid>
		<description>Allan, 

The problem is that both Gallery and Wordpress set a function called _. To fix the error message, change the code in Gallery to 

		if (!gettext_installed()) {
			if (!function_exists(&#039;_&#039;)) {
				function _($string) {
					return $string;
				}
			}
		}

The functions do the same things, so it won&#039;t cause a problem. </description>
		<content:encoded><![CDATA[<p>Allan, </p>
<p>The problem is that both Gallery and WordPress set a function called _. To fix the error message, change the code in Gallery to </p>
<p>		if (!gettext_installed()) {<br />
			if (!function_exists(&#8216;_&#8217;)) {<br />
				function _($string) {<br />
					return $string;<br />
				}<br />
			}<br />
		}</p>
<p>The functions do the same things, so it won&#8217;t cause a problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebbi</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-6760</link>
		<dc:creator>Sebbi</dc:creator>
		<pubDate>Mon, 28 Mar 2005 01:46:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-6760</guid>
		<description>&lt;strong&gt;Bob&lt;/strong&gt;, your problem is that you have double body and head/html tags. You should delete those lines in wrapper.footer and wrapper.header

&lt;strong&gt;Nick&lt;/strong&gt;, how did you solve the login problem? Picky with what path?</description>
		<content:encoded><![CDATA[<p><strong>Bob</strong>, your problem is that you have double body and head/html tags. You should delete those lines in wrapper.footer and wrapper.header</p>
<p><strong>Nick</strong>, how did you solve the login problem? Picky with what path?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-5245</link>
		<dc:creator>Bob</dc:creator>
		<pubDate>Thu, 17 Mar 2005 04:48:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-5245</guid>
		<description>Hi,

I&#039;ve been trying to integrate Gallery v1.4.4-pl6 into WordPress v1.5 for a friend&#039;s blog/gallery site I put up for her and have come to a few issues in getting it to work correctly. Basically, in Opera and Firefox, it shows up fine...  but in IE it shows up all out of whack: http://gurlrider.mindwiped.com/gallery/  that&#039;s the link... if ya open it in IE, you&#039;ll see the odd alignment issues. I have been racking my brain trying to figure out wtf is wrong. 

I even tried following Dan Cameron&#039;s tutorials over at http://scatteredthoughts.us  but those are also for older versions of WordPress. Any ideas on what&#039;s wrong or suggestions to resolve this? Here; I even uploaded the wrapper.header and wrapper.footer info to txt files, as well as the wp-layout.css to a txt file to review the code here: http://www.mindwiped.com/gurlrider/txt/ . Any help, grealt appreciated :)

Thanks.
Bob
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I&#8217;ve been trying to integrate Gallery v1.4.4-pl6 into WordPress v1.5 for a friend&#8217;s blog/gallery site I put up for her and have come to a few issues in getting it to work correctly. Basically, in Opera and Firefox, it shows up fine&#8230;  but in IE it shows up all out of whack: <a href="http://gurlrider.mindwiped.com/gallery/" rel="nofollow">http://gurlrider.mindwiped.com/gallery/</a>  that&#8217;s the link&#8230; if ya open it in IE, you&#8217;ll see the odd alignment issues. I have been racking my brain trying to figure out wtf is wrong. </p>
<p>I even tried following Dan Cameron&#8217;s tutorials over at <a href="http://scatteredthoughts.us" rel="nofollow">http://scatteredthoughts.us</a>  but those are also for older versions of WordPress. Any ideas on what&#8217;s wrong or suggestions to resolve this? Here; I even uploaded the wrapper.header and wrapper.footer info to txt files, as well as the wp-layout.css to a txt file to review the code here: <a href="http://www.mindwiped.com/gurlrider/txt/" rel="nofollow">http://www.mindwiped.com/gurlrider/txt/</a> . Any help, grealt appreciated <img src='http://www.rapp.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Thanks.<br />
Bob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allan</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-5101</link>
		<dc:creator>Allan</dc:creator>
		<pubDate>Wed, 16 Mar 2005 11:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-5101</guid>
		<description>Hi Ron, really appreciate your  solution.

I tried sometime ago to call:


They just never worked.

Coding the html static layout into &quot;wrapper.footer.default&quot; and &quot;wrapper.header.default&quot; just does seem to be scalable when header and footer change over time.

The strange thing is that once  is in the init.php.  WP will print out: &quot;PHP Fatal error: Cannot redeclare _() (previously declared in D:\root\dynamic\wp-includes\functions.php:6) in D:\root\dynamic\gallery\lib\lang.php on line 179 .&quot;

if (! gettext_installed()) {
	function _($string) {
	return $string ;
	}

Listed above line 178 - 181.

Why didn&#039;t other folks have this problem?
I haven&#039;t hacked &quot;functions.php&quot; at all.  What is the problem then?

Cheers.</description>
		<content:encoded><![CDATA[<p>Hi Ron, really appreciate your  solution.</p>
<p>I tried sometime ago to call:</p>
<p>They just never worked.</p>
<p>Coding the html static layout into &#8220;wrapper.footer.default&#8221; and &#8220;wrapper.header.default&#8221; just does seem to be scalable when header and footer change over time.</p>
<p>The strange thing is that once  is in the init.php.  WP will print out: &#8220;PHP Fatal error: Cannot redeclare _() (previously declared in D:\root\dynamic\wp-includes\functions.php:6) in D:\root\dynamic\gallery\lib\lang.php on line 179 .&#8221;</p>
<p>if (! gettext_installed()) {<br />
	function _($string) {<br />
	return $string ;<br />
	}</p>
<p>Listed above line 178 &#8211; 181.</p>
<p>Why didn&#8217;t other folks have this problem?<br />
I haven&#8217;t hacked &#8220;functions.php&#8221; at all.  What is the problem then?</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-3053</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 18 Feb 2005 21:20:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-3053</guid>
		<description>heh, figured it out...Gallery is really picky with it&#039;s paths</description>
		<content:encoded><![CDATA[<p>heh, figured it out&#8230;Gallery is really picky with it&#8217;s paths</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-3048</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 18 Feb 2005 20:56:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-3048</guid>
		<description>well, after a lot of work, I&#039;ve finally got my gallery looking nice in the wordpress theme

now I can&#039;t log in to my gallery...it pops-up the login window, and takes my password, and then just kicks me back to a not-logged-in gallery

any tips?</description>
		<content:encoded><![CDATA[<p>well, after a lot of work, I&#8217;ve finally got my gallery looking nice in the wordpress theme</p>
<p>now I can&#8217;t log in to my gallery&#8230;it pops-up the login window, and takes my password, and then just kicks me back to a not-logged-in gallery</p>
<p>any tips?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-2931</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Thu, 17 Feb 2005 08:26:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-2931</guid>
		<description>Bryan, I assume you mean getting Wordpress and Gallery to share the same theme?  There are some tutorials on the web about how to do this.  Try a Google search for Wordpress and Gallery integration.

The thing they don&#039;t address is getting WP functions to work in Gallery.  That&#039;s what the code above is designed to address, though I don&#039;t take advantage of it (I actually like it better the way I have it) so I&#039;m not sure if it works in 1.5

One thing I did find with 1.5 is that due to changes in the functions.php file, the scriptygoddess &#039;subscribe to comments&#039; plugin no longer works.

If you want any specific info on my installation, let me know.  I&#039;d even be happy to send you any config files, style sheets, etc. you might be interested in.</description>
		<content:encoded><![CDATA[<p>Bryan, I assume you mean getting WordPress and Gallery to share the same theme?  There are some tutorials on the web about how to do this.  Try a Google search for WordPress and Gallery integration.</p>
<p>The thing they don&#8217;t address is getting WP functions to work in Gallery.  That&#8217;s what the code above is designed to address, though I don&#8217;t take advantage of it (I actually like it better the way I have it) so I&#8217;m not sure if it works in 1.5</p>
<p>One thing I did find with 1.5 is that due to changes in the functions.php file, the scriptygoddess &#8216;subscribe to comments&#8217; plugin no longer works.</p>
<p>If you want any specific info on my installation, let me know.  I&#8217;d even be happy to send you any config files, style sheets, etc. you might be interested in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Villarin</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-2925</link>
		<dc:creator>Bryan Villarin</dc:creator>
		<pubDate>Thu, 17 Feb 2005 06:57:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-2925</guid>
		<description>Hey Ron, you got Gallery to work with WP 1.5! I&#039;m really trying to find something, especially since I&#039;m not exactly good with all this PHP and CSS stuff. If you get a chance, I hope you can post about how one can do this. Thanks man!</description>
		<content:encoded><![CDATA[<p>Hey Ron, you got Gallery to work with WP 1.5! I&#8217;m really trying to find something, especially since I&#8217;m not exactly good with all this PHP and CSS stuff. If you get a chance, I hope you can post about how one can do this. Thanks man!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-2899</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Thu, 17 Feb 2005 00:13:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-2899</guid>
		<description>Good question.   I haven&#039;t touched 1.5 yet, so I have to make the jump from 1.2.2 before figuring out whether or not it&#039;ll work.  To be honest, I didn&#039;t even know 1.5 was out until you mentioned it. :)

It appears the new WP theme capability might dictate some changes in how I work the Gallery / WP integration, but I won&#039;t know that until I dig into it.</description>
		<content:encoded><![CDATA[<p>Good question.   I haven&#8217;t touched 1.5 yet, so I have to make the jump from 1.2.2 before figuring out whether or not it&#8217;ll work.  To be honest, I didn&#8217;t even know 1.5 was out until you mentioned it. <img src='http://www.rapp.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It appears the new WP theme capability might dictate some changes in how I work the Gallery / WP integration, but I won&#8217;t know that until I dig into it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-2897</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Wed, 16 Feb 2005 22:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-2897</guid>
		<description>should this still work with Wordpress 1.5 and Gallery 1.4.4?

I put in the init.php line, and it&#039;s still showing the Gallery skin, not my Wordpress theme.

am I oversimplifying this, and not doing something else to my Gallery that I should be, or is the init.php line intended to basically load the Gallery in the WP theme?</description>
		<content:encoded><![CDATA[<p>should this still work with WordPress 1.5 and Gallery 1.4.4?</p>
<p>I put in the init.php line, and it&#8217;s still showing the Gallery skin, not my WordPress theme.</p>
<p>am I oversimplifying this, and not doing something else to my Gallery that I should be, or is the init.php line intended to basically load the Gallery in the WP theme?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-1825</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Thu, 13 Jan 2005 08:16:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-1825</guid>
		<description>I&#039;m not sure I can be of much assistance, Mike.  I&#039;m sorry about that.  But don&#039;t give up.  Remember, I encountered the Gallery/Wordpress issue many months ago, and have had to just live with it this whole time!  So you&#039;re in good company.  

Someone tipped me off to the solution, otherwise I&#039;d still be up a creek, so to speak.

Post a message on the Wordpress support forum.  It can&#039;t hurt.  I still receive many URL referrals from those posts, so I know that quite a few WP geeks are reading even those older threads.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I can be of much assistance, Mike.  I&#8217;m sorry about that.  But don&#8217;t give up.  Remember, I encountered the Gallery/Wordpress issue many months ago, and have had to just live with it this whole time!  So you&#8217;re in good company.  </p>
<p>Someone tipped me off to the solution, otherwise I&#8217;d still be up a creek, so to speak.</p>
<p>Post a message on the WordPress support forum.  It can&#8217;t hurt.  I still receive many URL referrals from those posts, so I know that quite a few WP geeks are reading even those older threads.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-1818</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 12 Jan 2005 08:48:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-1818</guid>
		<description>Thanks for the reply.  I am putting the code right at the top of the init.php file and the syntax looks right.  My editor does all that fancy coloring so it does look right.  I am using the absolute path for wp-conifg.php and I am not running G2.  So basically I just don&#039;t get it.  I am starting to get frustrated.  I don&#039;t know php for the life of me which makes it all the worse.  :(

Mike</description>
		<content:encoded><![CDATA[<p>Thanks for the reply.  I am putting the code right at the top of the init.php file and the syntax looks right.  My editor does all that fancy coloring so it does look right.  I am using the absolute path for wp-conifg.php and I am not running G2.  So basically I just don&#8217;t get it.  I am starting to get frustrated.  I don&#8217;t know php for the life of me which makes it all the worse.  <img src='http://www.rapp.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-1817</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Wed, 12 Jan 2005 08:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-1817</guid>
		<description>Your Gallery installation works fine until you add this code?  Hmmm.  Here are a couple of things I can think of:

- Double check to be sure you&#039;re putting the code in the right place.

- Also, be sure you changed &#039;path/to/wp-config.php&#039; to your proper path.

- Another thing that could cause a problem is if there are any blank lines at the top of your init file.

- You&#039;re not running a G2 alpha are you?  This has only been tested with G1.

You might try inquiring on the support board at wordpress.org.  Let me know how it goes.</description>
		<content:encoded><![CDATA[<p>Your Gallery installation works fine until you add this code?  Hmmm.  Here are a couple of things I can think of:</p>
<p>- Double check to be sure you&#8217;re putting the code in the right place.</p>
<p>- Also, be sure you changed &#8216;path/to/wp-config.php&#8217; to your proper path.</p>
<p>- Another thing that could cause a problem is if there are any blank lines at the top of your init file.</p>
<p>- You&#8217;re not running a G2 alpha are you?  This has only been tested with G1.</p>
<p>You might try inquiring on the support board at wordpress.org.  Let me know how it goes.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-1815</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Tue, 11 Jan 2005 20:34:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-1815</guid>
		<description>I am having a bitch of a time with this.  When I add this I  get the &quot;gallery has not been configured&quot; error page.  Do you know what would cause that?

Thanks,

Mike</description>
		<content:encoded><![CDATA[<p>I am having a bitch of a time with this.  When I add this I  get the &#8220;gallery has not been configured&#8221; error page.  Do you know what would cause that?</p>
<p>Thanks,</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-570</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Tue, 21 Dec 2004 18:58:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-570</guid>
		<description>Dave, try using an absolute path (&#039;../wp-config.php&#039;) with your full path (something like &#039;/home/dave/public_html/wp-config.php&#039;) and see if that fixes it.</description>
		<content:encoded><![CDATA[<p>Dave, try using an absolute path (&#8216;../wp-config.php&#8217;) with your full path (something like &#8216;/home/dave/public_html/wp-config.php&#8217;) and see if that fixes it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-568</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 21 Dec 2004 11:32:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-568</guid>
		<description>Hey Ron,

I&#039;ve been having the exact same error with my gallery integration. I tried what you said, and put in:

&lt;code&gt;&lt; ?php
require_once(’../wp-config.php’);
?&gt; &lt;/code&gt;
As my gallery directory is in a subdirectory of wordpress. But I got this error:

Parse error: parse error, unexpected &#039;.&#039; in /www/hosts/silkworms.chinesetriad.org/gallery/init.php on line 25

Any idea what that is?</description>
		<content:encoded><![CDATA[<p>Hey Ron,</p>
<p>I&#8217;ve been having the exact same error with my gallery integration. I tried what you said, and put in:</p>
<p><code>&lt; ?php<br />
require_once(’../wp-config.php’);<br />
?&gt; </code><br />
As my gallery directory is in a subdirectory of wordpress. But I got this error:</p>
<p>Parse error: parse error, unexpected &#8216;.&#8217; in /www/hosts/silkworms.chinesetriad.org/gallery/init.php on line 25</p>
<p>Any idea what that is?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-546</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Sun, 12 Dec 2004 23:08:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-546</guid>
		<description>Geoff--  Great job with the plugin!  The only disadvantage to it is something unrelated to your work.  It&#039;s more of a fault with Gallery:  it&#039;s kinda slow.

I see more and more people using the Gallery/WP combination, so I have a feeling your plugin will be very popular.  I can&#039;t wait to integrate it into my site.  As soon as I get back from Las Vegas and have a free moment, I&#039;m going to dive into it.

Happy holidays!  --Ron</description>
		<content:encoded><![CDATA[<p>Geoff&#8211;  Great job with the plugin!  The only disadvantage to it is something unrelated to your work.  It&#8217;s more of a fault with Gallery:  it&#8217;s kinda slow.</p>
<p>I see more and more people using the Gallery/WP combination, so I have a feeling your plugin will be very popular.  I can&#8217;t wait to integrate it into my site.  As soon as I get back from Las Vegas and have a free moment, I&#8217;m going to dive into it.</p>
<p>Happy holidays!  &#8211;Ron</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-544</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Sun, 12 Dec 2004 19:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-544</guid>
		<description>Ron,

Wanted to thank you for the updates. I eventually decided for now to just use html_wrap in Gallery to get things to look unified, and haven&#039;t worked up the nerve to have a unified sidebar like you.

But I did cook up a WP plugin to make it easier to post thumnails/links from Gallery into WP posts. It also includes a PHP function to call from other parts of your WP templates.

So at the risk of shameless self-promotion... see:
&lt;a href=&quot;http://geoffhutchison.net/blog/categories/wp-plugins/&quot;&gt;WP-Gallery&lt;/a&gt;

Feedback welcome and appreciated!</description>
		<content:encoded><![CDATA[<p>Ron,</p>
<p>Wanted to thank you for the updates. I eventually decided for now to just use html_wrap in Gallery to get things to look unified, and haven&#8217;t worked up the nerve to have a unified sidebar like you.</p>
<p>But I did cook up a WP plugin to make it easier to post thumnails/links from Gallery into WP posts. It also includes a PHP function to call from other parts of your WP templates.</p>
<p>So at the risk of shameless self-promotion&#8230; see:<br />
<a href="http://geoffhutchison.net/blog/categories/wp-plugins/">WP-Gallery</a></p>
<p>Feedback welcome and appreciated!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Burns</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-538</link>
		<dc:creator>Brian Burns</dc:creator>
		<pubDate>Wed, 08 Dec 2004 04:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-538</guid>
		<description>Ron - I finally had some free time and tried this - and it worked.  If it makes you feel better I could have sworn I had already done this as well... 

Amazing - all that frustration over essentially a single line of code placed appropriately  :-)

I think I am going to leave my code alone until I tackle Gallery G2 and Wordpress 1.3. Probably going to load both current builds up on a test site soon and see how it goes...

Thanks for the pointer!</description>
		<content:encoded><![CDATA[<p>Ron &#8211; I finally had some free time and tried this &#8211; and it worked.  If it makes you feel better I could have sworn I had already done this as well&#8230; </p>
<p>Amazing &#8211; all that frustration over essentially a single line of code placed appropriately  <img src='http://www.rapp.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I think I am going to leave my code alone until I tackle Gallery G2 and WordPress 1.3. Probably going to load both current builds up on a test site soon and see how it goes&#8230;</p>
<p>Thanks for the pointer!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-474</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Mon, 22 Nov 2004 08:27:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-474</guid>
		<description>My primary goal was keep the same look and feel throughout the site.  So it was just a matter of using the header and footer files in Gallery&#039;s html_wrap subdirectory to call the CSS files used by the WP side of the site.

I encountered two main problems:

1) the inability to call WP functions from within Gallery pages, which I wrote about in this post, and

2) the design would &#039;blow out&#039; when viewing large size individual images.  That&#039;s particular to my design since it&#039;s fixed width and sometimes the images are larger than that.  If you use a &quot;liquid&quot; design, it&#039;ll make life a little easier when trying to integrate the two.

I did not get Gallery to call the WP framework per se.  I just wanted to get access to the WP functions so I could call specific things for the left side menu bar when on Gallery pages.

Yes, Gallery is inside the main WP directory.  But if you add the require_once line to your init.php file, you should be able to call WP functions from within Gallery no matter where it is located.

I think you&#039;re right -- you&#039;d need to create a plugin to get the functionality you&#039;re looking for.  Or at least, that would be the best way of doing it.  WP&#039;s plugin system is pretty nice.  With as popular as Gallery and Wordpress are, I&#039;m surprised someone hasn&#039;t done it already.

If you&#039;re seriously considering a plugin, you might want to build it for the G2 architecture.  It&#039;s going to be considerably different from the current iteration of Gallery.</description>
		<content:encoded><![CDATA[<p>My primary goal was keep the same look and feel throughout the site.  So it was just a matter of using the header and footer files in Gallery&#8217;s html_wrap subdirectory to call the CSS files used by the WP side of the site.</p>
<p>I encountered two main problems:</p>
<p>1) the inability to call WP functions from within Gallery pages, which I wrote about in this post, and</p>
<p>2) the design would &#8216;blow out&#8217; when viewing large size individual images.  That&#8217;s particular to my design since it&#8217;s fixed width and sometimes the images are larger than that.  If you use a &#8220;liquid&#8221; design, it&#8217;ll make life a little easier when trying to integrate the two.</p>
<p>I did not get Gallery to call the WP framework per se.  I just wanted to get access to the WP functions so I could call specific things for the left side menu bar when on Gallery pages.</p>
<p>Yes, Gallery is inside the main WP directory.  But if you add the require_once line to your init.php file, you should be able to call WP functions from within Gallery no matter where it is located.</p>
<p>I think you&#8217;re right &#8212; you&#8217;d need to create a plugin to get the functionality you&#8217;re looking for.  Or at least, that would be the best way of doing it.  WP&#8217;s plugin system is pretty nice.  With as popular as Gallery and WordPress are, I&#8217;m surprised someone hasn&#8217;t done it already.</p>
<p>If you&#8217;re seriously considering a plugin, you might want to build it for the G2 architecture.  It&#8217;s going to be considerably different from the current iteration of Gallery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Geoff</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-473</link>
		<dc:creator>Geoff</dc:creator>
		<pubDate>Mon, 22 Nov 2004 04:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-473</guid>
		<description>Could you give a bit more info on how you integrated Gallery and WordPress (e.g., what you were trying to do)? I also just started using WordPress and would love to get the two to reach a nice détente.

Were you trying to get Gallery to call the WordPress framework? It looks nice.

Do you have WordPress and Gallery installed in separate directories, or as implied by your example, is Gallery installed inside your WordPress directory? (Hmm, maybe with some RewriteRules, I can fake that.)

What I&#039;d love to do (and will probably require me coding some sort of WordPress plugin) is to:
a) easily point to thumbs from Gallery in my WordPress posts. (not so bad, since it&#039;s a lot like the other &quot;abbreviation&quot; plugs.
b) show the X most recent Gallery thumbs in my WordPress menu. (possible from the Gallery RSS)
c) random photos from Gallery. (Cool, but I&#039;m dreading that. Maybe if I just stick to a random photo from the RSS.)</description>
		<content:encoded><![CDATA[<p>Could you give a bit more info on how you integrated Gallery and WordPress (e.g., what you were trying to do)? I also just started using WordPress and would love to get the two to reach a nice détente.</p>
<p>Were you trying to get Gallery to call the WordPress framework? It looks nice.</p>
<p>Do you have WordPress and Gallery installed in separate directories, or as implied by your example, is Gallery installed inside your WordPress directory? (Hmm, maybe with some RewriteRules, I can fake that.)</p>
<p>What I&#8217;d love to do (and will probably require me coding some sort of WordPress plugin) is to:<br />
a) easily point to thumbs from Gallery in my WordPress posts. (not so bad, since it&#8217;s a lot like the other &#8220;abbreviation&#8221; plugs.<br />
b) show the X most recent Gallery thumbs in my WordPress menu. (possible from the Gallery RSS)<br />
c) random photos from Gallery. (Cool, but I&#8217;m dreading that. Maybe if I just stick to a random photo from the RSS.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ron</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-466</link>
		<dc:creator>Ron</dc:creator>
		<pubDate>Wed, 17 Nov 2004 18:29:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-466</guid>
		<description>I&#039;m sure G2 will be released eventually.  Like Wordpress itself, the major updates seem to be fewer and further between as the product matures.

I can sort of understand why G2 is taking so long.  G1 uses the hidden table trick to format the page.  Very clunky.  It also uses a proprietary data storage system.  As I recall, G2 is going to get rid of tables completely and use CSS.  It&#039;ll also start storing the data in a SQL database.  Those are major structural changes to the way it works.  Plus there are so many features in Gallery now that it&#039;s gotta be a pain making this change throughout the software.  Watermarking, CMS integration, Oracle support, Java and JS slideshows, IE7, etc.

I predict G2 will be bitchin when it&#039;s finally released.  It&#039;s been in the alpha stage for quite some time and should reach beta fairly soon.  There&#039;s still a ton of stuff to do on it.  There&#039;s been no security audit on the G2 package yet, and who knows how long that&#039;ll take.  They&#039;re still finding holes in G1!  In fact I just upgraded to 1.4.4-pl4 to plug one of them...</description>
		<content:encoded><![CDATA[<p>I&#8217;m sure G2 will be released eventually.  Like WordPress itself, the major updates seem to be fewer and further between as the product matures.</p>
<p>I can sort of understand why G2 is taking so long.  G1 uses the hidden table trick to format the page.  Very clunky.  It also uses a proprietary data storage system.  As I recall, G2 is going to get rid of tables completely and use CSS.  It&#8217;ll also start storing the data in a SQL database.  Those are major structural changes to the way it works.  Plus there are so many features in Gallery now that it&#8217;s gotta be a pain making this change throughout the software.  Watermarking, CMS integration, Oracle support, Java and JS slideshows, IE7, etc.</p>
<p>I predict G2 will be bitchin when it&#8217;s finally released.  It&#8217;s been in the alpha stage for quite some time and should reach beta fairly soon.  There&#8217;s still a ton of stuff to do on it.  There&#8217;s been no security audit on the G2 package yet, and who knows how long that&#8217;ll take.  They&#8217;re still finding holes in G1!  In fact I just upgraded to 1.4.4-pl4 to plug one of them&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-465</link>
		<dc:creator>Jon</dc:creator>
		<pubDate>Wed, 17 Nov 2004 16:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-465</guid>
		<description>I liked Gallery and used it when I was using PHP-Nuke and MT, but switched to something else with WordPress.  Man, that G2 has been talked about forever... is it ever going to come out?</description>
		<content:encoded><![CDATA[<p>I liked Gallery and used it when I was using PHP-Nuke and MT, but switched to something else with WordPress.  Man, that G2 has been talked about forever&#8230; is it ever going to come out?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smart brother  &#187; Blog Archive   &#187; Attempting some slight gallery integration &#124; Don't Push Me, 'cause I'm Close To the Edge</title>
		<link>http://www.rapp.org/archives/2004/11/wordpress_and_gallery/comment-page-1/#comment-485</link>
		<dc:creator>smart brother  &#187; Blog Archive   &#187; Attempting some slight gallery integration &#124; Don't Push Me, 'cause I'm Close To the Edge</dc:creator>
		<pubDate>Wed, 30 Nov -0001 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.rapp.org/archives/2004/11/wordpress_and_gallery/#comment-485</guid>
		<description>[...] integrate my gallery with the main wordpress site, with the help of some online resources. &lt;a href=&quot;http://www.rapp.org/wp-print.php?p=263&quot; target=&quot;_new&quot;&gt;kinda tricky&lt;/a&gt;, but it&#8217;s kind of moving along. it may necessitate changing the site desi [...]</description>
		<content:encoded><![CDATA[<p>[...] integrate my gallery with the main wordpress site, with the help of some online resources. <a href="http://www.rapp.org/wp-print.php?p=263" target="_new">kinda tricky</a>, but it&#8217;s kind of moving along. it may necessitate changing the site desi [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
