xoops forums

yared

Just popping in
Posted on: 2005/11/7 14:40
yared
yared (Show more)
Just popping in
Posts: 14
Since: 2003/2/13
#11

Re: Multisite HACK for 2.2.3 Final

Hi Mithrandir
Thank you very much by your work.
I hope with emotion.

Chainsaw

Quite a regular
Posted on: 2005/11/8 2:27
Chainsaw
Chainsaw (Show more)
Quite a regular
Posts: 304
Since: 2003/9/28
#12

Re: Multisite HACK for 2.2.3 Final

Any luck with packaging the full module yet? I had to delete and reinstall my test site again.
XOOPSed and Excited!
http://www.albanycc.org.nz...

JulioNC

Quite a regular
Posted on: 2005/11/8 2:51
JulioNC
JulioNC (Show more)
Quite a regular
Posts: 239
Since: 2004/10/8
#13

Re: Multisite HACK for 2.2.3 Final

But I work '?

does not exist demo?

Mithrandir

XOOPS is my life!
Posted on: 2005/11/12 0:11
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#14

Re: Multisite HACK for 2.2.3 Final

Sorry for the wait, but here it is:

Multisite Hack for XOOPS 2.2.3 Final

It is to be used under CAREFUL attention to the details - you can really mess up your site database with this.

Enjoy - and if something isn't clear, then ask me to elaborate and I will do so.
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

m0nty

XOOPS is my life!
Posted on: 2005/11/12 0:14
m0nty
m0nty (Show more)
XOOPS is my life!
Posts: 3337
Since: 2003/10/24
#15

Re: Multisite HACK for 2.2.3 Final

cheers mith :)

although i'm getting this when ttryin to download it >

The requested URL /modules/wfdownloads/xoops.web-udvikling.dk/uploads/multisite_for_XOOPS_2.2.3Final.tar.gz was not found on this server.

Mithrandir

XOOPS is my life!
Posted on: 2005/11/12 0:17
Mithrandir
Mithrandir (Show more)
XOOPS is my life!
Posts: 6320
Since: 2003/6/21
#16

Re: Multisite HACK for 2.2.3 Final

Sorry - URL fixed
"When you can flatten entire cities at a whim, a tendency towards quiet reflection and seeing-things-from-the-other-fellow's-point-of-view is seldom necessary."

Cusix Software

Mamba

Moderator
Posted on: 2005/11/26 11:03
Mamba
Mamba (Show more)
Moderator
Posts: 10873
Since: 2004/4/23
#17

Re: Multisite HACK for 2.2.3 Final

Hi Jan,

congratulations! It seems like we are getting closer! :)

I downloaded your hack and installed. Everything went well. I was also able to install a second site and be able to access it.

However, I might need some more detailed info on how actually select the appropriate tables to achieve following effects:

1) All users should be able to access all the multisites transparently, i.e. the same passwords and the same profiles and configurations.

2) Some modules should be shared among all the websites, e.g. xoopsmembers. If I installed the module on the main Website, all the multisites were sharing it w/o problems.

3) Some modules should be installed individually on each sites, as they will be site-specific, e.g. xoopspolls.

And that's where I have problems.

I tried to install the xoopspools in various combinations, but w/o success. Somehowe I can't figure out the right combination.

Sometimes I am getting an error:

Warning [Xoops]: Smarty error: unable to read resource: "db:system_block_mainmenu.html" in file class/smarty/Smarty.class.php line 1084

Anyone who had more luck? If yes, i.e. you were able to install it where some of the modules were shared, and ohers were non-shared, please let me know the correct configuration.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

m0nty

XOOPS is my life!
Posted on: 2005/11/26 12:19
m0nty
m0nty (Show more)
XOOPS is my life!
Posts: 3337
Since: 2003/10/24
#18

Re: Multisite HACK for 2.2.3 Final

@mamba

to share users, then share the users table.

to share profiles, share the extend profile module.

individual modules unique to each site then don't share that module.. you need to goto each site and install each module on each site that you want to use. then in the main site (the 1 you installed the site module to) you should also have those modules installed there too.. if you want to share a module between each site then you share that modules tables aswell..

but you must make sure that you goto each site and install the same modules on each.. those that you don't select as shared in the main site, will then be unique to each site.

the smarty problem is because you haven't set write permissions in the templates_c folder

i'm not sure but in each sites directory you may need to actually create a templates_c folder and a cache folder.. i have not installed this hack yet as i haven't got round to it.. but that maybe the cause.

kalhell

Just popping in
Posted on: 2005/12/8 11:13
kalhell
kalhell (Show more)
Just popping in
Posts: 3
Since: 2005/5/19
#19

Re: Multisite HACK for 2.2.3 Final

Hello all

I installed the maijn site : site1. Then I installed the site module as explained and created site2 :

The parameters are :
Site Name site2
Site URL http://localhost/site2
Theme Path empty
Templates Path empty
Upload Path empty
Cache Path empty
URI Pattern 0 localhost/site2
DBPrefix site2

Then I created the alias : site2 wich points to site1 repository.

I restart Apache and click on site2. I arrived on site2 then login. And there I am redirectesd to http://localhost/site1/error.php?c=1. I am redirected to site1 !!!

What should I do ?

Thanks

kalhell

Just popping in
Posted on: 2005/12/8 16:12
kalhell
kalhell (Show more)
Just popping in
Posts: 3
Since: 2005/5/19
#20

Re: Multisite HACK for 2.2.3 Final

OK I got it u have to customize the name of the session and the cookie