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

Wordpress On ZC [Support Thread]

Views: 620,379

Results 1,721 to 1,740 of 1,861
14 Oct 2010, 01:10
#1721
divavocals avatar

divavocals

Totally Zenned

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

Wordpress On ZC [Support Thread]

gee38l:

Hi All,

I installed this module about 4 weeks ago and all seem to be working fine untill yesterday when i found out google had de indexed 900 links on my webpage all with 500 errors. After investigation from a third party developer we narrowed it down to the way wordpress was implemented with the woz addon.

It seems that the html_header code was redirecting google to wordpress and as a result did not find any of the existing products or links that had already been indexed.

We had a period of about a week where crawlers had not been to my site and the only results in google related to my word press blog. Not even the homepage came up on google anymore.

Im not sure if it was a mistake on my side with the installation but after uninstalling the module i am finally back on track and wont be loosing any business anymore.

I just wanted to let people know my experience with this module and to see if anyone else found this?I stopped using this module long ago after I realized that the code is unecesarrily overly complicated and does not appear to follow the guidelines for implementing WordPress' "The Loop" codex.. There are TOO MANY gotchas and exceptions that have to be implemented in order for this module to work side by side with other modules.. I keep tabs on this in hopes that some day someone will re-write this the correct way..

In the meantime if you do not need WordPress sideboxes for Zen Cart, then the Numinix blog embedding solution works and plays nice with other modules (including SEO modules) without requires a boatload of hacks to keep it from screwing with other modules..

16 Oct 2010, 09:18
#1722
meem avatar

meem

New Zenner

Join Date:
Aug 2010
Posts:
6
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Thanks DivaVocals. Which Numinix blog embedding solution are you referring to?

16 Oct 2010, 15:55
#1723
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]

MeeM:

Thanks DivaVocals. Which Numinix blog embedding solution are you referring to?
Don't have the link off the top of my head (not at home right now).. but search his site for "WordPress" or search THIS thread for "Numinix" and the link is posted there..

25 Oct 2010, 22:49
#1725
wagnerguy avatar

wagnerguy

Zen Follower

Join Date:
Aug 2008
Posts:
334
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello all, I just loaded the sideboxes only mod. I would only like to show recent posts. How do I prevent the other pieces(archives, etc.) from showing?

11 Nov 2010, 21:13
#1726
jim9 avatar

jim9

New Zenner

Join Date:
May 2010
Posts:
9
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

great right i want

11 Nov 2010, 21:27
#1727
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]

wagnerguy:

Hello all, I just loaded the sideboxes only mod. I would only like to show recent posts. How do I prevent the other pieces(archives, etc.) from showing?If I recall there is a recent posts sidebox that I included in the package.. You could use that instead of the WordPress sidebox (which displays ALL your active widgets)

15 Dec 2010, 06:02
#1728
trebo70 avatar

trebo70

New Zenner

Join Date:
May 2007
Location:
Los Angeles
Posts:
13
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hello, I looked for an answer to my problem but did not see one. I just installed the WOZ add on and made it so the blog categories show up in the sidebar. When I click on any of the blogs it leads me to a page with no css and my zen cart layout is completely gone. I probably missed a step somwhere. Anyone know what direction to point me to?
Also I saw on some people's websites that they have a latest article section in the sidebar. How do I activate that?
I'm using Zen Cart 1.3.8a and WordPress Version 3.0.3.
Here is a link to the site I'm working on: http://www.thechocolatebaronline.com/

05 Jan 2011, 03:20
#1729
ken_joy avatar

ken_joy

New Zenner

Join Date:
May 2006
Posts:
62
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Hira,
What is the path I enter for /admin/tools/woz manager as the wordpress physical root? When I go to /admin/tools/woz manager it says: WordPress root physical path the following path is a COMPLETE path to your WordPress files. Then it lists a path (which I don't want to paste here for security reasons). I enter that path and click "confirm" and
I always get the message that wp-config.php can't be found, even though it's located in a directory called wp on the root of my server. I've tried several variations to the path with no luck. I've installed everything else, and modified the files per your instructions, just can't get it to accept the path that I believe is the correct one.

Thanks for your help,
Ken

05 Jan 2011, 13:02
#1730
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]

Ken Joy:

Hira,
What is the path I enter for /admin/tools/woz manager as the wordpress physical root? When I go to /admin/tools/woz manager it says: WordPress root physical path the following path is a COMPLETE path to your WordPress files. Then it lists a path (which I don't want to paste here for security reasons). I enter that path and click "confirm" and
I always get the message that wp-config.php can't be found, even though it's located in a directory called wp on the root of my server. I've tried several variations to the path with no luck. I've installed everything else, and modified the files per your instructions, just can't get it to accept the path that I believe is the correct one.

Thanks for your help,
KenYou might wanna let this mod go.. IMHO, it's been a LOAD of problems and the support from Hira (no offense) has always been spotty until you complain about it.. if ya wanna embed your blog inside Zen Cart this is a BETTER way to do this:
http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/

05 Jan 2011, 20:37
#1731
ken_joy avatar

ken_joy

New Zenner

Join Date:
May 2006
Posts:
62
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

DivaVocals:

You might wanna let this mod go.. IMHO, it's been a LOAD of problems and the support from Hira (no offense) has always been spotty until you complain about it.. if ya wanna embed your blog inside Zen Cart this is a BETTER way to do this:
http://www.numinix.com/blog/2009/09/...n-cart-1-3-8a/

Thanks! I'll give it a shot :)

07 Jan 2011, 22:15
#1732
leilanddale avatar

leilanddale

New Zenner

Join Date:
Jan 2010
Posts:
69
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

hira:

A method to use WOZ v1.5 and Ultimate SEO URLs

Open /includes/init_includes/init_woz.php
Please edit a red part

require_once(ABSPATH . 'wp-config.php');
wp();

if ($_GET['main_page'] == FILENAME_WORDPRESS && ( is_feed() || is_trackback() )) {
gzip_compression();
require_once(ABSPATH . WPINC . '/template-loader.php');
exit();
}

> 
> Open includes\classes\ssu\cores\link.php
> Please add a red part
> ```
			
			// if the index.php is in the url, lets see if we need to rebuild the path and redirect.
			if((strpos($this->original_uri, 'index.php') !== false)){
				if(!isset($_GET['main_page']) || empty($_GET['main_page'])){ 
					$_GET['main_page'] = 'index';
					$this->original_uri = $this->original_uri. '&main_page=index';
				}
				if($this->checkPageExcludedList($_GET['main_page']))
					return false;
				$this->redirect_type = 2;
				return false;
			}
			// for WordPress On ZenCart BOF
			else if($_GET['main_page'] == FILENAME_WORDPRESS){ return false; }
			// for WordPress On ZenCart EOF
			
			// if we are using multi-lang, then we should have language code at the very beginning
			if(SSUConfig::registry('configs', 'multilang_status')){
				$languages_code = substr($this->original_uri, 0, 2);
				if(!array_key_exists($languages_code, SSUConfig::registry('languages')))
					$this->redirect_type = 1;
				else{
					$_get['language'] = $languages_code;
					$this->original_uri   = trim(substr($this->original_uri, 2), '/');
				}
			}
			

you'll need to set the Ultimate SEO URL rewrite rules to ignore direct client requests for the /blog folder by using an additional RewriteCond.
eg)

Don’t rewrite blog directory

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

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

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

Do rewrite blog directory

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


Thank you! :clap: Works awesome with SSU too.
26 Jan 2011, 15:25
#1733
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Has anyone got the RSS feeder to work when using SSU? Mine just pulls my main page up. :(

26 Jan 2011, 17:47
#1734
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]

helpme:

Has anyone got the RSS feeder to work when using SSU? Mine just pulls my main page up. :(
Nobody's worked on this mod in a month of Sundays.. Though usually when I make statements like that Hira "mysteriously" shows back up..:smile:

27 Jan 2011, 01:45
#1735
helpme avatar

helpme

Totally Zenned

Join Date:
Apr 2007
Posts:
632
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

lol, I doubt that only because I am asking :) Do you have an success with rewrite for SSU? that is really my main problem. I have tried Numinix's version and it just breaks my page.

27 Jan 2011, 01:49
#1736
knuckle_101 avatar

knuckle_101

Totally Zenned

Join Date:
Dec 2005
Location:
Cincinnati Ohio
Posts:
1,034
Plugin Contributions:
3

Re: Wordpress On ZC [Support Thread]

helpme:

lol, I doubt that only because I am asking :) Do you have an success with rewrite for SSU? that is really my main problem. I have tried Numinix's version and it just breaks my page.

Magic SEO works with this mod (not familiar with other SEO addons) with some major tweaks and so on. But this mod is not worth a bucket of bolts unless someone fixes has a lot of work arounds as some call it hacks to work we made it work some what for some customers but not worth sharing due to the limited support we can offer but if you plan to use this mod try Magic SEO they may have a work around for it.

27 Jan 2011, 02:43
#1737
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]

helpme:

lol, I doubt that only because I am asking :) Do you have an success with rewrite for SSU? that is really my main problem. I have tried Numinix's version and it just breaks my page.Numinix's blog embedding works, and he has posted the required changes for his blog embedding solution to work with SSU.. I don't use SSU (I prefer Ceon's URI Mapping module), and with the correct .htaccess settings, the Numinix blog embedding solution works perfectly with Ceon URI Mapping...

I have found that when folks have issues with Numinix's solution it's because a step has been missed or not implemented correctly.. (I say this because I have been hired to fix a number of sites with the Numinix solution and EVERY one of these sites wasn't working due to a missed or improperly implemented step..)

The Numinix solution unlike WOZ is the correct way to do a blog embedding. It properly makes use of WordPress' own recommendations for displaying blog content outside of WordPress. WOZ does NOT follow these guidelines and makes use of too many unnecessary hacks which is why it has always been problematic...

14 Feb 2011, 06:27
#1738
alisontin avatar

alisontin

New Zenner

Join Date:
Feb 2011
Posts:
2
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Wow, what a great thread, interesting and informative topics are really cool. Thank you for sharing it here.

25 Feb 2011, 20:07
#1739
ryan11 avatar

ryan11

New Zenner

Join Date:
Oct 2010
Posts:
9
Plugin Contributions:
0

Re: Wordpress On ZC [Support Thread]

Im trying to get wordpress posts on the zen cart home page.
Im using the following code

<?php define('WP_USE_THEMES', false); get_header(); ?>

    <?php if (have_posts()) : ?>

        <?php while (have_posts()) : the_post(); ?>

            <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
                <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

                <div class="entry">
                    <?php the_content('Read the rest of this entry »'); ?>
                </div>

            </div>

        <?php endwhile; ?>

    <?php else : ?>

        <h2 class="center">Not Found</h2>
        <p class="center">Sorry, but you are looking for something that isn't here.</p>
        <?php get_search_form(); ?>

    <?php endif; ?> 

The posts show up on the main page but when i click on them they just go back to the home page.

the link is come up with - website.co.uk/&p=1
when its meant to be - website.co.uk/index.php?main_page=wordpress&p=1

and there is no styling

Can anyone help?

25 Feb 2011, 20:18
#1740
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]

DEAD mod (see last few posts above this one re-iterating this point..) Doesn't work well (poorly coded IMHO) and not well supported by the author or the community.. Numinix solution works if you want blog embedding.. WOZ??? not so much IMHO..

Historically though, Hira seems to "magically" show up to provide support whenever you post anything that even remotely IMPLIES that this is a dead/non-working/non-supported mod.. (kinda like saying Beetlejuice three times:laugh:) Maybe you'll get lucky and he'll do a drive-by and help you hack/hammer this thing into place..

There are other posts which list options for getting blog posts to appear on the main page if that's what you really want.. Search the forum for WordPress and my user name... I've posted on a majority of the WordPress threads that are floating around out here.. You find the solution I refer to..

ryan11:

Im trying to get wordpress posts on the zen cart home page.
Im using the following code

<?php define('WP_USE_THEMES', false); get_header(); ?>
<?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>

        <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
            <h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>

            <div class="entry">
                <?php the_content('Read the rest of this entry »'); ?>
            </div>

        </div>

    <?php endwhile; ?>

<?php else : ?>

    <h2 class="center">Not Found</h2>
    <p class="center">Sorry, but you are looking for something that isn't here.</p>
    <?php get_search_form(); ?>

<?php endif; ?> 
> 
> the link is come up with - website.co.uk/&p=1
> when its meant to be - website.co.uk/index.php?main_page=wordpress&p=1
> 
> and there is no styling
> 
> Can anyone help?