Zen Cart Logo
Forums / All Other Contributions/Addons / Wordpress On ZC [Support Thread]

Wordpress On ZC [Support Thread]

Views: 620,417

Results 1,461 to 1,480 of 1,861
20 Mar 2010, 11:52 AM
#1461
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Wordpress On ZC [Support Thread]

DivaVocals:

I understand WHY you did it.. I am saying (again) that I don't agree with the development approach you've taken to resolve the Ceon URI conflict.. I say this based on my examination of other Zen Cart blog solutions which require almost NO edits to WordPress and only a few simple Zen Cart edits. IMO this would be preferable than rather than editing specific modules (such as the suggested edits to the Ceon URI module) if possible (and clearly it IS possible). Seems to me the goal should be getting this module to work across the board, not just forcing other modules to work with it..

Let me ask you a question.
Will the permanent link of wordpress(in wp-admin) become it besides a default?

In the case of a default, the category becomes the following URL.
http://www.example.com/blog/?cat=1

Besides a default, it becomes the following URL.
http://www.example.com/blog/category/uncategorized/

20 Mar 2010, 11:54 AM
#1462
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

conor:

Hi,

I've never used any version of WOZ.

I'm in the middle of some other work today and tomorrow so I won't get a chance to install it until Sunday, hopefully I do get the time then.

I understood it.
Sorry for your inconvenience but thanking you in advance.

20 Mar 2010, 1:38 PM
#1463
loosefast avatar

loosefast

Zen Follower

Join Date:
Jun 2005
Posts:
199
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

where did you download WOZ from? Latest version (1.5) is only available from the developers site.

chingqen:

  1. it seems the side box works. When you click the page "sleeping bags", it bring you to the blog (http://www.outdoorgc.com/wordpress/?page_id=3). But it is not a blog on Zen-Cart, it is a absolute blog.

sorry, you can find the side box at the left-bottom on the page (www.outdoorgc.com)

21 Mar 2010, 2:15 AM
#1466
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

I download from https://www.zen-cart.com,

21 Mar 2010, 2:16 AM
#1467
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

loosefast:

where did you download WOZ from? Latest version (1.5) is only available from the developers site.

from https://www.zen-cart.com

21 Mar 2010, 2:22 AM
#1468
chingqen avatar

chingqen

New Zenner

Join Date:
Mar 2010
Posts:
17
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

loosefast:

where did you download WOZ from? Latest version (1.5) is only available from the developers site.

hira:

You can download WOZ v1.5 from a download section some time ago.
http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=681

I downloaded it at once and confirmed it.
I am very glad my work to be accepted.:clap:

thanks!

21 Mar 2010, 7:50 AM
#1469
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

hira:

Let me ask you a question.
Will the permanent link of wordpress(in wp-admin) become it besides a default?

In the case of a default, the category becomes the following URL.
http://www.example.com/blog/?cat=1

Besides a default, it becomes the following URL.
http://www.example.com/blog/category/uncategorized/I'm not sure I understand your question.. But if you are asking if the Ceon URI module re-writes the blog URLs, then the answer is NO.. AND, I didn't have to make ONE CHANGE to the Ceon URI code to make sure that Ceon URI module does NOT re-write ANY of the blog links...

I also didn't have to make ONE change to Wordpress to make sure that the Ceon URI module does not re-write the blog URLs. In fact I can still use the WordPress permalinks with NO interference from the Ceon URI module.

The ONLY change required to insure that the Ceon URI module did NOT re-write any of the blog links was a few additional lines in my .htaccess file.

Please feel free to look at my test site here:
http : // clients . overthehillweb . com /testsite/blog
I installed the Ceon URI module just now, and it took me about 20 minutes to do the install and setup my URIs.. There are not issues/errors working with the Ceon URI module either..

Here's the .htaccess I used

RewriteEngine On

# ONLY rewrite URIs beginning with /testsite/
RewriteCond %{REQUEST_URI} ^/testsite/.* [NC]

# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$

# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/testsite/admin.* [NC]

# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/testsite/editors.* [NC]

# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]

# Don’t rewrite blog directory
RewriteCond %{REQUEST_URI} !^/testsite/blog.* [NC]
RewriteCond %{REQUEST_URI} !^/testsite/wordpress.* [NC]

# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) /testsite/index.php?%{QUERY_STRING} [L]

# Do rewrite blog directory
RewriteRule ^blog(.*)$ /testsite/index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]
```Like I said Hira, I understand WHY you coded ver 1.5 of WOZ the way you did, but respectfully,  I believe your development  approach is wrong.. As you can see from my test site, there are other blog solutions that DO NOT require hacking of other modules to work well with them.. IMHO, your development approach for WOZ will cause more problems than it solves.. Your solution also only solves compatibility issues with ONE module (and I maintain that I DO NOT agree with your solution to the Ceon URI compatibility issue). There are other modules that seem to still have compatibility issues with WOZ, and I don't see anything in your code that addresses THOSE incompatibility issues.. IMHO, WOZ is STILL not fully ready for use on a production site for those reasons. Happy to be proven wrong about this, but so far I am not seeing any signs that I am wrong..
21 Mar 2010, 9:04 AM
#1470
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I'm not sure I understand your question.. But if you are asking if the Ceon URI module re-writes the blog URLs, then the answer is NO.. AND, I didn't have to make ONE CHANGE to the Ceon URI code to make sure that Ceon URI module does NOT re-write ANY of the blog links...

I also didn't have to make ONE change to Wordpress to make sure that the Ceon URI module does not re-write the blog URLs. In fact I can still use the WordPress permalinks with NO interference from the Ceon URI module.

The ONLY change required to insure that the Ceon URI module did NOT re-write any of the blog links was a few additional lines in my .htaccess file.

Please feel free to look at my test site here:
http : // clients . overthehillweb . com /testsite/blog
I installed the Ceon URI module just now, and it took me about 20 minutes to do the install and setup my URIs.. There are not issues/errors working with the Ceon URI module either..

Here's the .htaccess I used

RewriteEngine On

ONLY rewrite URIs beginning with /testsite/

RewriteCond %{REQUEST_URI} ^/testsite/.* [NC]

Don't rewrite any URIs ending with a file extension (ending with .[xxxx])

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/testsite/admin.* [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/testsite/editors.* [NC]

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]

Don’t rewrite blog directory

RewriteCond %{REQUEST_URI} !^/testsite/blog.* [NC]
RewriteCond %{REQUEST_URI} !^/testsite/wordpress.* [NC]

Handle all other URIs using Zen Cart (index.php)

RewriteRule (.*) /testsite/index.php?%{QUERY_STRING} [L]

Do rewrite blog directory

RewriteRule ^blog(.*)$ /testsite/index.php?main_page=blog&$1 [E=VAR1:$1,QSA,L]


Thank you for a report. 
I asked you a question the other day because I seemed to use the URL of the default when I tried your demonstration site. 
eg: <http://www.example.com/blog/?cat=1> 

I thought whether I do not cope besides the default, but do not seem to have any problem. 
I refer to it and want to test it.
21 Mar 2010, 2:09 PM
#1471
busymom avatar

busymom

New Zenner

Join Date:
Jul 2007
Posts:
61
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Thanks, Hira! I'm rebuilding all of my development on a new laptop, but I hope to be able to try this out soon. Sounds like a great improvement over the old 1.2 versions I was last working with. I was always getting your code from your site directly, so I wouldn't be impacted by the issues with whether it can be downloaded from this site; however, I would be impacted if you and the rest of our user community would be prevented from discussing our problems and sharing our solutions with each other here.

If you are unable to continue support here, I hope that you will improve the support at your site.

Thanks again for your contribution! Karen

21 Mar 2010, 3:48 PM
#1472
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

hira:

Thank you for a report.
I asked you a question the other day because I seemed to use the URL of the default when I tried your demonstration site.
eg: http://www.example.com/blog/?cat=1

I thought whether I do not cope besides the default, but do not seem to have any problem.
I refer to it and want to test it.If you tried that demo site prior to March 21 2010 @ 12:50 AM (PST), then you are right. That site was indeed was using the default WordPress permalinks. What I did to that test site before posting my response to you was the following:

  1. Install the Ceon URI module and create all the product and category URIs
  2. Change the WordPress permalink settings to the "Month and name" settings.
  3. Upload the recommended .htaccess file to the WordPress directory

That's it.. The blog is embedded and NO HACKING of ANY Ceon URI files was required!!! Not only do my Zen Cart URI's work, but so do my WordPress permalinks.. If I were to install ANY of the other modules which do not play nice with WOZ (Google Base, XML Sitemaps, SSU, etc), I am confident that they too would work with the blog embedding setup on this test site..

So clearly it IS possible to achieve this. Which is why I do not understand nor agree with how you've ALWAYS chosen to develop WOZ. (especially the development direction you've chosen for version 1.5 -- which I maintain is a BAD idea and creates more issues than it solves..) In fact I'll even state that IF I WAS FORCED to use WOZ for blog embedding, that I would use your original ver 1.3 before I EVER used the follow-up versions. Other methods for embedding blog content are much cleaner than WOZ IMHO..

21 Mar 2010, 4:54 PM
#1473
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

busyMom:

Thanks, Hira! I'm rebuilding all of my development on a new laptop, but I hope to be able to try this out soon. Sounds like a great improvement over the old 1.2 versions I was last working with. I was always getting your code from your site directly, so I wouldn't be impacted by the issues with whether it can be downloaded from this site; however, I would be impacted if you and the rest of our user community would be prevented from discussing our problems and sharing our solutions with each other here.

If you are unable to continue support here, I hope that you will improve the support at your site.

Thanks again for your contribution! Karen

Thank you.
I seem to continue being supported in this site. But after all the thing which is weak in English may just do a funny answer.
Thanks in advance for your help.:smile:

21 Mar 2010, 5:12 PM
#1474
hira avatar

hira

Zen Follower

Join Date:
Jun 2004
Location:
Japan
Posts:
169
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

If you tried that demo site prior to March 21 2010 @ 12:50 AM (PST), then you are right. That site was indeed was using the default WordPress permalinks. What I did to that test site before posting my response to you was the following:

  1. Install the Ceon URI module and create all the product and category URIs
  1. Change the WordPress permalink settings to the "Month and name" settings.
  1. Upload the recommended .htaccess file to the WordPress directory

That's it.. The blog is embedded and NO HACKING of ANY Ceon URI files was required!!! Not only do my Zen Cart URI's work, but so do my WordPress permalinks.. If I were to install ANY of the other modules which do not play nice with WOZ (Google Base, XML Sitemaps, SSU, etc), I am confident that they too would work with the blog embedding setup on this test site..

So clearly it IS possible to achieve this. Which is why I do not understand nor agree with how you've ALWAYS chosen to develop WOZ. (especially the development direction you've chosen for version 1.5 -- which I maintain is a BAD idea and creates more issues than it solves..) In fact I'll even state that IF I WAS FORCED to use WOZ for blog embedding, that I would use your original ver 1.3 before I EVER used the follow-up versions. Other methods for embedding blog content are much cleaner than WOZ IMHO..

I understood it well.
This one is surely simple.
In addition, the compatibility with the other SEO modules looks good, too.
It is because it limits a SEO module in .htaccess.

I have anxiety a little.
May I ask you a question one more?

Feed becomes the blank when I access the following URL.
.../testsite/blog/feed/
.../testsite/blog/comments/feed/
Will this be intentional?

21 Mar 2010, 6:00 PM
#1475
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

hira:

I understood it well.
This one is surely simple.
In addition, the compatibility with the other SEO modules looks good, too.
It is because it limits a SEO module in .htaccess.

I have anxiety a little.
May I ask you a question one more?

Feed becomes the blank when I access the following URL.
.../testsite/blog/feed/
.../testsite/blog/comments/feed/
Will this be intentional?This is uniquely an issue with regards to permalinks. Permalinks work just fine, but I have never had good success getting permalinks to work. I am not fully sure what the issues have been.. (I'm fairly certain that it is not a bug of any sorts, but merely something that I am doing wrong when setting them up.. I'll admit that I never really had time to test to fully understand HOW to get WordPress permalinks to work correctly.. When my time permits, I'll REALLY spend some time testing and researching permalinks to fully understand how to get them to work..

You'll see that the default feed URL works fine
../testsite/blog/?feed=rss2

I just turned off permalinks on this test site until I can set them up to work correctly across the board.. That said, I think you will agreee that this is still a CLEANER solution than WOZ, and it is how WOZ should be working.. (Hence why I will continue to be of the opinion that your development approach for WOZ is not the right one..)

21 Mar 2010, 9:10 PM
#1476
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

It's supposed to be an update to the previous versions.. The sideboxes only version was a release I put together based on Hira's 1.3 release..

WordPress' introduction of "The Loop" certainly made the process of "embedding" WordPress content much easier.. That said as I try and learn more about how "The Loop" works, it is clearer to me that much of the code in the original WOZ configure file is unnecessary and by and large the mostly likely root cause of conflicts between WOZ and other modules..

That said, dunno where you got the WOZ Sideboxes Only Edition you are using. (I haven't checked the zip file that used to be available here against the code you posted), but what you posted is certainly NOT the same as the configuration file that is in the version available in the free downloads section. Try downloading it again from here:
WordPress On ZenCart - Sideboxes Only Edition v1.0

You'll wanna grab the "Recent Posts" sidebox and the wordpress-configuration.php files from this version.. (which should be the ONLY thing different from this one and the one you are likely using now) This should resolve any conflicts you have with WOZ Sideboxes Only and other modules..

I re-loaded the new WOZ sidebox. I also followed directions to figure out ABSPATH. It shows sideboxes for WP_catcat and wp_sidebar.php when I turn on in Zen-cart, but no links to WP site.

Any suggestions?

22 Mar 2010, 2:36 AM
#1477
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

kburner:

I re-loaded the new WOZ sidebox. I also followed directions to figure out ABSPATH. It shows sideboxes for WP_catcat and wp_sidebar.php when I turn on in Zen-cart, but no links to WP site.

Any suggestions?I'm fairly certain your ABSPATH is incorrect.. There is no blog for your site located at http://www.burnerbooks.com/blog.

There is not much to this mod that is required for it to work except that you point the configure file to correct location to your WordPress blog and activate the sideboxes you want to use..

In your ZenCart configure.php (includes/configure.php) around line 40 is the** direct path to your store**. Since you are putting WordPress in it's own directory, as in "blog", all you would have to do in your wordpress-config.php file is add the path to ZC and then add "blog/" at the end.If your WordPress blog is NOT in a directory called blog (which was only an example I cited in the readme file since I cannot know what people are naming their WordPress directories), then simply change your ABSPATH setting to reflect the directory that your WordPress blog is physically located. (http://www.yoursite.com/wordpress or http://www.yoursite.com/myblog, etc) So the ABSPATH should be as follows:
Direct path to your store + WordPress directory

HTH..:smile:

22 Mar 2010, 3:46 AM
#1478
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I'm fairly certain your ABSPATH is incorrect.. There is no blog for your site located at http://www.burnerbooks.com/blog.

There is not much to this mod that is required for it to work except that you point the configure file to correct location to your WordPress blog and activate the sideboxes you want to use..

If your WordPress blog is NOT in a directory called blog (which was only an example I cited in the readme file since I cannot know what people are naming their WordPress directories), then simply change your ABSPATH setting to reflect the directory that your WordPress blog is physically located. (http://www.yoursite.com/wordpress or http://www.yoursite.com/myblog, etc) So the ABSPATH should be as follows:
Direct path to your store + WordPress directory

HTH..:smile:

are you guys talking about a different mod? Perhaps you should start another support thread for that mod to keep this one focused on Hira's WOZ to avoid confusion about what people are talking about... In fact, I thought that was one of the requirements for having a mod accepted in the downloads section? If we're going by the roolz and all that jazz....:P:laugh:

22 Mar 2010, 4:10 AM
#1479
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

lankeeyankee:

are you guys talking about a different mod? Perhaps you should start another support thread for that mod to keep this one focused on Hira's WOZ to avoid confusion about what people are talking about... In fact, I thought that was one of the requirements for having a mod accepted in the downloads section? If we're going by the roolz and all that jazz....:P:laugh:It's the WordPress On Zen Sideboxes Only Edition which is a scaled down version of Hira's original WOZ module.. Since kburner asked her question HERE, I answered it HERE.. :P:laugh:

and for the record, my talk about ROOLZ and all that jazz are very much legit since it is seemed to be totally overlooked that Hira's mod WAS NOT available in the downloads section. Yellow, Numinix, and others don't try and support modules only available on their websites here on this forum.. I simply didn't think it was fair for Hira to get a pass on this.. If that makes me a PITA, then so be it.. However, it seems that Hira didn't take my comments in anything other than the spirit in which they were delivered.. Which is why it seems he submitted his module to the Zen Cart downloads section..

22 Mar 2010, 11:40 AM
#1480
kburner avatar

kburner

Totally Zenned

Join Date:
Apr 2008
Location:
Flint, Michigan
Posts:
684
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

I'm fairly certain your ABSPATH is incorrect.. There is no blog for your site located at http://www.burnerbooks.com/blog.

There is not much to this mod that is required for it to work except that you point the configure file to correct location to your WordPress blog and activate the sideboxes you want to use..

If your WordPress blog is NOT in a directory called blog (which was only an example I cited in the readme file since I cannot know what people are naming their WordPress directories), then simply change your ABSPATH setting to reflect the directory that your WordPress blog is physically located. (http://www.yoursite.com/wordpress or http://www.yoursite.com/myblog, etc) So the ABSPATH should be as follows:
Direct path to your store + WordPress directory

HTH..:smile:

Hi DivaVocals,

Thank you for responding. My blog is located at https://www.kjvladiesbible.com and does not have any extensions to my zencart site https://www.burnerbooks.com. I contacted Bluehost and they confirmed correct path and even told me to try it without folder name. My folder name in path is same as site with kjvladiesbible.

When I tried to add the site https://www.kjvladiesbible.com to my path it did not work, but - I did not add the http:...I will try it again tonight with http://. Thanks. Kim