Go Back   Mosets Community > Third party Developers, Addons and Services for Mosets components > 3rd party addons & Custom Jobs

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2005, 12:26 AM
def def is offline
Junior Member
 
Join Date: Apr 2005
Posts: 11
Default Multisite installation

Anyone here have installed Multisite on 4.5.2?

i tried installing it and when comes to point 5a and 5b, i really have no clue of what they are talking about.

here is the manual

-------------------------------------------------------------------------
I've made the made the multisites add-on of the previous mambo releases (4.5) workable to the 4.5.1.a release. This
add-on makes it possible to add sub-directory to your mambo installation. In needed this hack to create a multilanguage site
which has different content items for specific languages (i could not use mambelfish because this only controls the content
items and not the control for a different subsite.

Thanks to the previous hack from multisites.zip I made the adjustments.

For example you can create your site structure like this:

www.mysite.com
www.mysite.com/subsite1
www.mysite.com/subsite2
www.mysite.com/subsite3
www.mysite.com/etc...

I've tested and it seems to be working well for the purpose I made the adjusmtents.

================================================== ================================================== ============
Undertake the following steps for making this hack to work:

0. First make a backup of your current site files (the steps below are for your own risk)

1. Rename the configuration.php to config.php in the root directory of the mambo installation;

2. Extract the files from the zip file in the root of your site and replace all the files in your MAMBO installation
with the files in this zip file.

3. Note: A subdirectory for the subsite is created, in this case /site1

4. Copy the config.php from step 1 into the /site1 directory

5a. Copy the table's in the Mysql environment which should be unique within the subsite, for the mos_content_*
tables to site1_content_*.
Please note: every table you like that must be seperated from the main site and have unique content(!) in the subsite
must be copied with a different suffix!

[I]5b. Edit the /site1/includes/sitedatabase.php file and replace / add the substrings in the setQuery function
$sql = str_replace('#__content', 'site1_content', $sql);
$sql = str_replace('#__<other_table_name>', 'site1_<other_table_name>', $sql);
<and all other tables that apply to the subsite that must be unique for that specific site>

--------------------------------------------------------------------------------------------------------
For creating more subsites you will have to repeat step 4 - 5b or your can copy the site1 subdirectory to an other
directory and perform step 5 by renaming your table prefixes and string replacement into the sitedatabase.php


--------------------------------------


can someone translate to me of what to do in 5a and 5b?
i really don understand it

thanks
Reply With Quote
  #2  
Old 05-28-2007, 12:39 PM
buglerroller buglerroller is offline
Mosets'd
 
Join Date: Apr 2005
Location: The Internet
Posts: 69
Default

did you ever get this working?
__________________
www.turnaroundmedia.com
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mambo Multisite. How useful? Alex Mosets & Joomla 3 01-16-2005 09:15 PM


All times are GMT +8. The time now is 04:02 PM.

Copyright © 2005-2010 Mosets Consulting

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.