Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multisite plugin
#1
Good day
========

I have finished a plugin that allows administration of multiple domains on your GS install. This is not like

http://get-simple.info/forum/topic/2234/...ubdomains/

that is meant for a reseller type website that will keep all users from each other but share a single GS install.

This is a actually plugin that can be disabled or enabled and that will allow you to add pages, select themese, change settings per domain as your please from your normal admin login. You will have a selection box at the
top to select what domains data you want to work with and the system will quickly display the data for you.

It will also automatically handle the clients access to your website and select the settings you have selected for that domain and themes and pages and menus etc.

This works, BUT with changes to GS 3.0 core. I have attached a file that will explain all changes made, constants added, global values added etc.

As discussed with this entry

http://get-simple.info/forum/topic/2251/...g-problem/

The only part that might be a problem for multi domain is the fact that the config for each plugin is preferred to be kept seperate. System will work if not, but if you think about it some settings might be better if it is per site instead of global as color settings for a plugin, want that per sites template.

I will upload a working GS file shortly and also a link to a working demo site to get a better idea of how it works.

PS : Note in changes file is fix for "header has already been sent" errors in admin screens at bottom of doc.
Thanks in Advance
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#2
This is a working version of GS with all the changes above with the plugin.

will post test site soon.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#3
And here is a demo site where you can test from

http://site1.dominion-it.co.za

and

http://site2.dominion-it.co.za


username : admin
password : multipass

NOTE : Disabling these site for now, gona do GS Beta testing on it.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#4
this is really impressive! a couple notes after looking at it a little closer:

when you started this, 3.1 beta wasnt released yet - now it is. I would definitely see what you can do to switch over to the new beta cut because i've done a few things that should help you out:

http://code.google.com/p/get-simple-cms/...tail?r=519
http://code.google.com/p/get-simple-cms/...tail?r=520

as well as some changes we made before hand in an effort to make things better.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#5
How about changing the site select to the login page?

This would allow you to support multiple users eventually.. Or with a little modification of the currently available plugin.

I like this a lot! I'm excited to test it a little on my own!
JWH Technologies
Have any marketing ideas for Get-Simple? Let me hear them!
Reply
#6
ccagle8 Wrote:this is really impressive! a couple notes after looking at it a little closer:

when you started this, 3.1 beta wasnt released yet - now it is. I would definitely see what you can do to switch over to the new beta cut because i've done a few things that should help you out:

http://code.google.com/p/get-simple-cms/...tail?r=519
http://code.google.com/p/get-simple-cms/...tail?r=520

as well as some changes we made before hand in an effort to make things better.

Good day.

K, changes made for Beta version. Attached is the changes file., I tried to use what I can from your orignal code, had to make small changes and tried to motivate them.

Will give beta version that works soon and also active sample pages again with beta.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#7
Attached is the coverted GS Beta with multi site plugin.

NOTE : I had issue with Innovation plugin and language files on my server.
Line : 545
Code:
if (!array_key_exists($plugin.'/'.$code, $globali18n)) {

Moaned about the second variable needs to be a array even with print_r it is a array,. when disabling the plugin via plugin.xml it worked to login.
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#8
Test sites are active again

user : admin
password : multipass

thanks
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#9
OWS_Matthew Wrote:How about changing the site select to the login page?

This would allow you to support multiple users eventually.. Or with a little modification of the currently available plugin.

I like this a lot! I'm excited to test it a little on my own!

I can look at it, this is basically meant to be for a single or 2 admins that manage multiple sites. Thus to have
user control as with Wordpress for example where one user can edit certain pages etc. can work but then you have to link the user to multiple sites he or she is allowed to view or login 2. I would prefer to have it after login, then I have the users allowed sites he can work on.

Selecting the site from the login itself can be done, as I say not a problem, will just take you more directly to the one you want to work on in the beginning.

Thanks for input.

Johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#10
I actually agree with you, I think selecting after login is better. That way you can use a custom version of multiple users to administer who has access to what sites.
JWH Technologies
Have any marketing ideas for Get-Simple? Let me hear them!
Reply
#11
OWS_Matthew Wrote:I actually agree with you, I think selecting after login is better. That way you can use a custom version of multiple users to administer who has access to what sites.

this brings the question of a site admin into play.
If we allow a website admin (can see all sites,create users and allow access).
Do we allow more than one (10./1 will make sense).
What restrictions can be applied (in beginning just the sites they select and pages they can edit)
But how do you handle multiple users that are allowed to edit the same page for example ? (diff countries people giving updates as timeline moves).

This can become a whole system on its own and needs to be planned carefully not to create a delay in actions.

Will be fun Big Grin..

Thanks

Johannes
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.
Reply
#12
Hello all. I would like to get some updates on this feature. Is this something that will be integrated in the core, or will this Plugin be the only method? Please, and thanks.

Btw, GetSimple is a really awesome simple and clean CMS but a Multi-Domain core feature would be really grate. In my case I will be building multiple site and hosting it on my server, and using seperate domains (not sub-domains). So can't there be a simple solution where in the core you configure which domain points to what config, then have seperate folders for each domain. This way I can even give FTP access to the domain's folder only. This way we give the user a FTP access to her files and she will feel more confident having ownership.

www.domain1.com -> /getsimple/sites/domain1 (should store assets etc)
www.domain2.com -> /getsimple/sites/domain2
www.domain3.com -> /getsimple/sites/domain3
Reply




Users browsing this thread: 1 Guest(s)