1
BoDGie
Re: Multisite Hack for Production SIte
  • 2005/5/18 4:39

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Mine's old and outdated - so I wouldn't recommend it, don't know if it even still works?



2
BoDGie
Re: Intense Network
  • 2005/1/26 23:51

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Good to hear.

Unfortuantly I haven't had the time to continue with the development of the module.



3
BoDGie
Re: help? via hosted site
  • 2005/1/25 3:42

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Probably doesn't support PHP or MySQL.



4
BoDGie
Re: Intense Network
  • 2005/1/18 2:15

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Sorry to bump an old topic - but just after some comments on how you went with my subsites module :)



5
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/22 4:29

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Ok.... Here's how you do it.

Say you have /home/mywebsite/public_html/
Upload your XOOPS installation there and install it, etc.
Make a copy of your mainfile.php and rename it to ABC.mainfile.php
Edit mainfile.php to have the modified code.
Point www.ABC.com to /home/mywebsite/public_html/

Basically when you goto www.ABC.com it will first goto read mainfile.php but mainfile.php has code in it to grab the domain name ABC and then direct it to ABC.mainfile.php

Next make a copy of the database and the ABC.mainfile.php but call it DEF.mainfile.php
Edit DEF.mainfile.php with the new database information.
Point www.DEF.com to /home/mywebsite/public_html/

Now when you goto www.DEF.com it will grab the information from DEF.mainfile.php

For every other site you want running of the same install just make a new copy of the database and a new mainfile.php to match it.



6
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/22 1:50

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Yeah all depends on what tables you share... Some can get confused on file locations or group permissions - but most things if done right will work with no problems.



7
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/11 10:07

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


You have to edit your mainfile.php and replace it with the code you mentioned earlier.



8
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/8 1:11

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


http://www.virtuepark.com



Keep in mind it is outdated and lacks functionality....



9
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/8 0:18

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


Ok... Technically (I think :S, havent tried it personally) You could use that code in conjunction with my subsite module to run multiple sites from a single install with shared common tables...

Basically add that code to your mainfile inclusion code, make your domainA.mainfile.php and domainB.mainfile.php, make a copy of domainA's tables but rename it to be domainB (eg, you could have the prefix for domainA's database as 'domainA' and then the prefix for domainB's database 'domainB'.. BUT AT THE MOMENT THEY MUST BOTH BE IN THE SAME DATABASE!!!!) install the subsite module onto domainB and then choose which tables you want to make common.

Sounds simple doesnt it :P

Come to think of it that may not work just yet... - Consider it added to the 'wish list' for the module :)



10
BoDGie
Re:TRUE Multisites hack.... at last!
  • 2004/10/7 6:16

  • BoDGie

  • Just popping in

  • Posts: 65

  • Since: 2003/8/4 1


That code will allow you to run several websites off the one install.. all with seperate databases etc.....

Basically the way it works is if you type www.domainA.com it will remove the www and the .com and then assign that to $subdominio the code will then instruct XOOPS to include the file called domainA.mainfile.php

If you do www.domainB.com it will include domainB.mainfile.php

You setup a seperate mainfile for each domain you wish to use..




TopTop
(1) 2 3 4 5 »



Login

Username:
Password:

Lost Password? Register now!

Who's Online

72 user(s) are online (60 user(s) are browsing Support Forums)


Members: 1


Guests: 71


heyula,

more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits