Forums / Developer / 2 or more sites sharing the same user base?

2 or more sites sharing the same user base?

Author Message

Sam Wong

Sunday 01 February 2004 9:13:57 pm

Hi, if I want to run 2 or more community sites (different domains, not sub-domains), must I require my users to re-register on all the forums?

If there's a workaround, is there a way that my vistors will not have to re-enter their user name & password on other forums?

Eirik Alfstad Johansen

Monday 02 February 2004 7:29:21 am

Hi Sam,

You could try using the same database but different sections (and perhaps main nodes) for the various sites.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Monday 02 February 2004 9:55:47 am

Interesting... but can different sections handle completely different domains?

Say, http://www.domain1.com/ points to domain1 section
http://www.domain2.com/ points to domain2 section
http://www.domain3.com/ points to domain3 section.

Eirik Alfstad Johansen

Monday 02 February 2004 10:07:41 am

Hi,

You can accomplish this by altering the Apache httpd.conf file. Point all domains to the same dir (where the eZP installation resides) and use siteaccess from there one (host matching).

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Monday 02 February 2004 6:45:54 pm

Thanks for your help.

But I have another ignorant question...

You said, "You can accomplish this by altering the Apache httpd.conf file. Point all domains to the same dir (where the eZP installation resides) and use siteaccess from there one (host matching)."

If I alert Apache httpd.conf, will the URL redirect from http://www.domain1.com/ to http://www.domain2.com/ezp_install_directory/ ?

Are you a ezpublish developer?

Eirik Alfstad Johansen

Monday 02 February 2004 11:50:52 pm

Hi Sam,

No, the URL will not redirect, but rather point to the ezp distribution .

So, in essence, you could get http://www.domain1.com/ and http://www.domain2.com/ezp_install to return the same page. And when you alter their respective site accesses, you can get them to use different main nodes and site designs, but still use the same db.

> Are you a ezpublish developer?

I do not belong to the eZ systems crew if that's what you mean, but I have a fair amount of experience setting up ez sites.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Tuesday 03 February 2004 5:30:42 pm

Thanks Eirik! You really ROCK!!! Thanks much for your help.

If I need outsourcing work, I will contact you...

Eirik Alfstad Johansen

Wednesday 04 February 2004 3:33:30 am

Thank you, Sam! Even though I landed a big projct today, it can't quite compare with the feeling of being told that one rocks. :)

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Wednesday 04 February 2004 4:31:15 am

BTW, could you mind posting your website URL here? I want to send your profile to my boss if he's interested in migrating to ezPublish system for our websites.

Eirik Alfstad Johansen

Thursday 05 February 2004 10:59:49 am

Hi Sam,

Actually, I currently don't maintain a web site targeted towards an international audience. However, feel free to forward my email adress (eirik [at] netmaking [dot] no) to your boss, and don't hesitate to email me for reference project details.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Sam Wong

Saturday 07 February 2004 12:50:23 am

Hi Eirik,

I tried to send you to the address mentioned in your last post, but the server kept rejecting my mail.
This is the error message.
"The following addresses had transient non-fatal errors"

Eirik Alfstad Johansen

Saturday 07 February 2004 5:56:35 am

Hi Sam,

That's strange. Try (eirik [at] netmaking [dot] com) instead.

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Eirik Alfstad Johansen

Friday 13 February 2004 1:44:37 am

Hi Sam,

You contact Ian sent me an Email earlier this week which I replied to right away. However, the email was returned to me today by the mail server which timed out trying to send my email. I've tried to resend the message, but would you be as kind as to notify him of the error as I expect he is waiting for my response.

Thanks in advance !

Sincerely,

Eirik Johansen

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Adrian Columb

Tuesday 07 June 2005 9:17:03 am

Hi all,

I'd like to create one big site in admin, but have it divided up into country-specific sites on the web (with or without unique domains, ie, subdomains are fine), and then city-specific sites within each country-site.

I guess the difficult bit will be to make all the sites run off the same admin, user db, and content base (though content would be flagged as relevant to particular countries/cities). Does anyone know how to do this sort of thing in Ez?

Best,

Adrian

eZ debug

Timing: Jan 18 2025 18:23:16
Script start
Timing: Jan 18 2025 18:23:16
Module start 'content'
Timing: Jan 18 2025 18:23:16
Module end 'content'
Timing: Jan 18 2025 18:23:17
Script end

Main resources:

Total runtime0.7749 sec
Peak memory usage4,096.0000 KB
Database Queries229

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.8438180.8125
Module start 'content' 0.00600.6114 768.6563694.0859
Module end 'content' 0.61740.1574 1,462.7422353.3047
Script end 0.7748  1,816.0469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5411210.0002
Check MTime0.00140.1870210.0001
Mysql Total
Database connection0.00070.091410.0007
Mysqli_queries0.669086.33472290.0029
Looping result0.00250.32452270.0000
Template Total0.740895.620.3704
Template load0.00200.252220.0010
Template processing0.738895.344020.3694
Template load and register function0.00030.035110.0003
states
state_id_array0.00100.126110.0010
state_identifier_array0.00260.338020.0013
Override
Cache load0.00180.2299770.0000
Sytem overhead
Fetch class attribute can translate value0.00130.161640.0003
Fetch class attribute name0.00130.1658150.0001
XML
Image XML parsing0.00100.122740.0002
class_abstraction
Instantiating content class attribute0.00010.0090210.0000
General
dbfile0.00460.5955270.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
14content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 41
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs