Zen Cart Logo
Forums / All Other Contributions/Addons / MultiSite Module Support Thread

MultiSite Module Support Thread

Views: 580,317

Results 1,621 to 1,640 of 2,247
22 Dec 2012, 2:38 PM
#1621
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

MultiSite Module Support Thread

Okay, I think the updated module is ready to be released in to the wild. Before uploading it to the plugin area, I would like to keep it a while on github for final testing. Feel free to download it from there, and if I had no comments from you, I will upload it in one month from now.

the download link is : https://github.com/Zen4All/Zen-Cart-Multisite-Module/archive/Beta-for-ZC-1.5.1.zip

This update contains:

  • updated module files for Zen Cart 1.5.1
  • Added the admin module registration for Zen Cart 1.5.x
  • The module is now multilingual on the admin side as well as the Front end
  • The sitelink sidebox has its own tpl file
  • Added SyntaxHightlighter 1.5.1 to multisite.php for easier reading and copying code
  • Updated readme

Please feel free to give feed back.

For a future release I would like to add:

  • ezpages filter (was scheduled for this release, but for some reason it does not work)
  • remove the need to edit the original config.php
  • your ideas ....
23 Dec 2012, 10:36 PM
#1622
evan70 avatar

evan70

New Zenner

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

Re: MultiSite Module Support Thread

Thank Ya, i'll try to test it!

1 Jan 2013, 10:30 AM
#1623
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

I finally found out why the ez-page filter wasn't working. It turns out it was working just fine, as long as your language id in the database is 1. So if you delete the default (English) language from your ZC installation, and/or add a new language, and thus with a higher language id the filter will not show the pages.
I didn't know there was a language id in the table ezpages, and discovered it by accident after eliminating all the code differences between previous versions of ZC. The strange thing was that in my new "clean" multisite testshop the filter kept working in all ZC versions. Only after adding a second language, I saw that it didn't work for the new language. The language id in the table stays at 1 and is I think not used by default, other than that it is present in the ezpage table

Now the search starts for the best solution.

  • the first and easiest would be to deleted the language sensitivity (not my favourite)
  • the second is to integrate the ez-page filter module in to the ez-page multilingual module. (currently working on this one)
12 Jan 2013, 4:04 PM
#1624
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: MultiSite Module Support Thread

Hello,

I have worked with this module before but I'm having a weird issue and I see it happening to anyone else (at least in few searches).

I have the module working but I'm having 2 issues, 1 is very little and one big. Let's start with the easy one:
1-I uploaded the same template with all the correspondent files with just changing the name, so I can have the module running and then take care of design. But the 2nd site is showing some different things like hover menu and header issues, all the files are the same, so I'm not sure why is that.

2-The major issue is that the checkout can't be done, neither login (SSL pages basically). Customer has a wildcard ssl. Here are my config settings:

MAIN SITE:

www.affordableaquatic.com_config.php / affordableaquatic.com_config.php
<?php
    define('DIR_WS_CATALOG', '/');
	define('DIR_WS_HTTPS_CATALOG', '/');
	$template_dir = "aquatic";
	define('SITE_NAME','Affordable Aquatic');
?>

SECONDARY SITE:

ponds.affordableaquatic.com_config.php / 
<?php
$template_dir = "ponds";
define('SITE_NAME','Affordable Pond Supply');
define('HTTP_SERVER', 'http://ponds.affordableaquatic.com');
?>
www.affordablepondsupply.com_config.php / affordablepondsupply.com_config.php
<?php
$template_dir = "ponds";
define('SITE_NAME','Affordable Pond Supply');
define('HTTP_SERVER', 'http://www.affordableaquatic.com');
define('HTTPS_SERVER', 'https://ponds.affordableaquatic.com');
?>
<?php
$template_dir = "ponds";
define('SITE_NAME','Affordable Pond Supply');
define('HTTP_SERVER', 'http://affordableaquatic.com');
define('HTTPS_SERVER', 'https://ponds.affordableaquatic.com');
?>

I've tried several configuration ways, but the most successful are these.

I have the site in maintenance mode to avoid customers to try to make an order. Please give IP so I can add you if you need to take a look.

12 Jan 2013, 8:17 PM
#1625
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

ideasgirl:

Hello,

I have worked with this module before but I'm having a weird issue and I see it happening to anyone else (at least in few searches).

I have the module working but I'm having 2 issues, 1 is very little and one big. Let's start with the easy one:
1-I uploaded the same template with all the correspondent files with just changing the name, so I can have the module running and then take care of design. But the 2nd site is showing some different things like hover menu and header issues, all the files are the same, so I'm not sure why is that.

2-The major issue is that the checkout can't be done, neither login (SSL pages basically). Customer has a wildcard ssl. Here are my config settings:

MAIN SITE:

www.affordableaquatic.com_config.php / affordableaquatic.com_config.php

> ```php
<?php
    define('DIR_WS_CATALOG', '/');
    define('DIR_WS_HTTPS_CATALOG', '/');
    $template_dir = "aquatic";
    define('SITE_NAME','Affordable Aquatic');
?>

SECONDARY SITE:

ponds.affordableaquatic.com_config.php /

> ```php
<?php
$template_dir = "ponds";
define('SITE_NAME','Affordable Pond Supply');
define('HTTP_SERVER', 'http://ponds.affordableaquatic.com');
?>

www.affordablepondsupply.com_config.php / affordablepondsupply.com_config.php

> ```php
<?php
$template_dir = "ponds";
define('SITE_NAME','Affordable Pond Supply');
define('HTTP_SERVER', 'http://www.affordableaquatic.com');
define('HTTPS_SERVER', 'https://ponds.affordableaquatic.com');
?>
<?php $template_dir = "ponds"; define('SITE_NAME','Affordable Pond Supply'); define('HTTP_SERVER', 'http://affordableaquatic.com'); define('HTTPS_SERVER', 'https://ponds.affordableaquatic.com'); ?>
> 
> I've tried several configuration ways, but the most successful are these.
> 
> I have the site in maintenance mode to avoid customers to try to make an order. Please give IP so I can add you if you need to take a look.

Looks like you solved it?, because I don't see any difference, and I tried a checkout (didn't create an account, did start the checkout). Both went fine in Firefox and IE.
12 Jan 2013, 8:50 PM
#1626
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: MultiSite Module Support Thread

Yes, I did...thanks (was a missing file).

Now I'm having an issue with fec that I had before and solved it like a month ago, but don't remember how. It doesn't go to next page when customer creates account and/or try to login. On the secondary site works without flaw >>>sigh<<<.

15 Jan 2013, 8:38 AM
#1627
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

I am told previous link to github isn't working any more, so here is a new one. https://github.com/Zen4All/Zen-Cart-Multisite-Module/archive/master.zip During the weekend I will submit to the download section after one last review of the files.

15 Jan 2013, 2:02 PM
#1628
ideasgirl avatar

ideasgirl

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,437
Plugin Contributions:
3

Re: MultiSite Module Support Thread

Just to inform that all the issues I posted are now solved. Thanks anyway.

17 Jan 2013, 7:15 AM
#1629
pearcestephens avatar

pearcestephens

New Zenner

Join Date:
Nov 2012
Posts:
69
Plugin Contributions:
0

Re: MultiSite Module Support Thread

How can I modify the site links code so I can make other links around my website still hold the session id??

17 Jan 2013, 9:42 AM
#1630
pearcestephens avatar

pearcestephens

New Zenner

Join Date:
Nov 2012
Posts:
69
Plugin Contributions:
0

Re: MultiSite Module Support Thread

I managed to successfully make images and other elements within the website work with the site_links php code. Its a little bit tricky to explain so if you are new to php like me and need some help, just flick me a message.

21 Jan 2013, 9:10 AM
#1631
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

Version 1.0 has been submitted to the downloads section.

What's New

    Version 1.0 - Release Date: 2013-01-21
  • Updated most files to contain the code of Zen Cart 1.5.1
  • Added the admin module registration for Zen Cart 1.5.x
  • The module is now multilingual on the admin side as well as the front-end
  • The site-link side-box has its own tpl file
  • Added SyntaxHightlighter 1.5.1 to multisite.php for easier reading and copying code
30 Jan 2013, 7:02 AM
#1632
pearcestephens avatar

pearcestephens

New Zenner

Join Date:
Nov 2012
Posts:
69
Plugin Contributions:
0

Re: MultiSite Module Support Thread

Design75,

Whats the status with EZ Pages in this latest version?

30 Jan 2013, 8:27 AM
#1633
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

it is not in the latest version. I had no time for it to work on it.

The solution is to edit the multilanguage ez page add on and use that, but I am very busy with paid work, and have an other project for a better multisite solution, which is database driven

8 Feb 2013, 3:17 PM
#1634
leilanddale avatar

leilanddale

New Zenner

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

Re: MultiSite Module Support Thread

I don't know if this has been answered before.

We use the multi-site module and it works fantastically! Thanks so much for this awesome mod.

One question I have though. The zenid I know is used to "move" between carts etc. and i attached to the end of the URL. This is a bit of a problem for us in the way that links are being shared and because the customers aren't aware of the function of the zenid, when someone follows the posted link they are able to see the original persons private account information and other details.

Is there a work around for this or something that would make this a bit more secure in that regard?

8 Feb 2013, 7:49 PM
#1635
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

leilanddale:

I don't know if this has been answered before.

We use the multi-site module and it works fantastically! Thanks so much for this awesome mod.

One question I have though. The zenid I know is used to "move" between carts etc. and i attached to the end of the URL. This is a bit of a problem for us in the way that links are being shared and because the customers aren't aware of the function of the zenid, when someone follows the posted link they are able to see the original persons private account information and other details.

Is there a work around for this or something that would make this a bit more secure in that regard?

The zenid id is standard Zen Cart functionality, and normally only shows as soon as the id is generated. the next time a link is clicked it disappears form the url.
I am not sure I understand why you are including the id into your link when sending it.

8 Feb 2013, 7:58 PM
#1636
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

I made a header site links box. It can be placed at the top of your site or any place you like. I will pack it up and post it on github this weekend for testing.

the package will contain the sidebox header files, and a css file to style the links

8 Feb 2013, 8:35 PM
#1637
leilanddale avatar

leilanddale

New Zenner

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

Re: MultiSite Module Support Thread

Design75:

The zenid id is standard Zen Cart functionality, and normally only shows as soon as the id is generated. the next time a link is clicked it disappears form the url.
I am not sure I understand why you are including the id into your link when sending it.

I think I need to explain this a bit more. :smile:

"I" am aware what the zenid does BUT our customers don't. We're a small publishing house and our authors sometimes log into their account and browse and maybe purchase some books. They end up maybe doing some personal marketing. So since they're logged in and they copy the link and share it with their fans.

I ran a bit of a test, and it seems that with normal browsing on our site, it doesn't add the zenid to the link, but when they visit one of our multisite stores from our website, the zenid is added. So when they come back to our site or continue browsing on the multisite, it's always at the end of the link.

9 Feb 2013, 8:30 PM
#1639
tyankee avatar

tyankee

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: MultiSite Module Support Thread

when you are trying to update categories under 'Display the relations Categories/Sites', after you hit 'save' is the screen supposed to go blank???

9 Feb 2013, 8:35 PM
#1640
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: MultiSite Module Support Thread

tyankee:

when you are trying to update categories under 'Display the relations Categories/Sites', after you hit 'save' is the screen supposed to go blank???

the obvious answer to that would be NO! :no:

Are there any error-logs, that can help to analyse this error?