Differences from version 5 to 6



@@ -8,15 +8,15 @@

 becomes:
 
 SELECT * from TESTSITE_TIKI_USERS ...
-for a prefix of "TESTSITE_"
+for a prefix of "TESTSITE_"
 
 SELECT * from OTHERSCHEMA.TIKI_USERS ...
-for a prefix of "OTHERSCHEMA."
+for a prefix of "OTHERSCHEMA."
 
 SELECT * from TIKI_USERS ...
-if you leave the prefix as "", the default.
+if you leave the prefix as "", the default.
 
-This was developed using the latest CVS for 1.8 as of 5pm PST 1/9/04. It should continue to work for 1.8, but most likely will fail on <1.8. It is only tested with MySQL. I've done my best to get the Wiki formating accurate, but if in doubt use the attached text file for guidence.
+This was developed using the latest CVS for 1.8 as of 5pm PST 1/9/04. It should continue to work for 1.8, but most likely will fail on <1.8. It is only tested with MySQL. I've done my best to get the Wiki formating accurate, but if in doubt use the attached text file for guidence.
 
 NOTE: The instructions have gotten simpler in recent days since I got CVS access, so the text file has more steps than are needed. The text file is still the reference for the exact characters in each search and replace, but it now contains several search/replace steps that are no longer necessary. In short the wiki page contains the correct steps, use the text file if you are not sure about the exact characters in a string listed in the wiki page.
 

@@ -25,25 +25,25 @@

 For all search/replace operations be sure to match case.
 
 In db/tiki.sql replace:
-&quot;DROP TABLE IF EXISTS &quot; with &quot;DROP TABLE IF EXISTS ##PREFIX##&quot;
-&quot;CREATE TABLE &quot; with &quot;CREATE TABLE ##PREFIX##&quot;
-&quot;INSERT IGNORE INTO &quot; with &quot;INSERT IGNORE INTO ##PREFIX##&quot;
-&quot;INSERT INTO &quot; with &quot;INSERT INTO ##PREFIX##&quot;
-&quot;UPDATE &quot; with &quot;UPDATE ##PREFIX##&quot;
+"DROP TABLE IF EXISTS " with "DROP TABLE IF EXISTS ##PREFIX##"
+"CREATE TABLE " with "CREATE TABLE ##PREFIX##"
+"INSERT IGNORE INTO " with "INSERT IGNORE INTO ##PREFIX##"
+"INSERT INTO " with "INSERT INTO ##PREFIX##"
+"UPDATE " with "UPDATE ##PREFIX##"
 
 Save as db/prefix_tiki.sql.
 
-In db/prefix_tiki.sql replace &quot;##PREFIX##&quot; with your chosen prefix. In this example we'll use &quot;photon_&quot; as the prefix. Save this file under a new name like &quot;photon_tiki.sql&quot;. Now use &quot;photon_tiki.sql&quot; to add and configure the tables in your shared DB.
+In db/prefix_tiki.sql replace "##PREFIX##" with your chosen prefix. In this example we'll use "photon_" as the prefix. Save this file under a new name like "photon_tiki.sql". Now use "photon_tiki.sql" to add and configure the tables in your shared DB.
 
 You now have a prefixed DB to run your tiki site. Next we need to change the php source to use the prefixed site. This will once again use a masive set of search and replace operations.
 Note that ` is the carret not the single quote '! This is usually on the same key as the tilde (~) on US keyboards. For all files matching *.php or *.inc in all subdirectories replace:
 
 || Replace this | With This
-`tiki_|`&quot;.$GLOBALS[[&quot;db_prefix_tiki&quot;].&quot;tiki_
-`users_|`&quot;.$GLOBALS[[&quot;db_prefix_tiki&quot;].&quot;users_
-`messu_|`&quot;.$GLOBALS[[&quot;db_prefix_tiki&quot;].&quot;messu_
-'sessions'|$GLOBALS[[&quot;db_prefix_tiki&quot;].'sessions'
-'galaxia_'|$GLOBALS[[&quot;db_prefix_tiki&quot;].'galaxia_'||
+`tiki_|`".$GLOBALS[["db_prefix_tiki"]."tiki_
+`users_|`".$GLOBALS[["db_prefix_tiki"]."users_
+`messu_|`".$GLOBALS[["db_prefix_tiki"]."messu_
+'sessions'|$GLOBALS[["db_prefix_tiki"].'sessions'
+'galaxia_'|$GLOBALS[["db_prefix_tiki"].'galaxia_'||
 
 At the top of the file lib\galaxia\config.php change:
 

@@ -56,7 +56,7 @@

 
 // Common prefix used for all database table names, e.g. galaxia_
 if (!defined('GALAXIA_TABLE_PREFIX')) {
- define('GALAXIA_TABLE_PREFIX', $GLOBALS[[&quot;db_prefix_tiki&quot;].'galaxia_');
+ define('GALAXIA_TABLE_PREFIX', $GLOBALS[["db_prefix_tiki"].'galaxia_');
 }
 
 

@@ -64,14 +64,14 @@

 
 $db_prefix_tiki = 'photon_';
 
-replacing &quot;photon_&quot; with your prefix just after the definition of $tikidomain.
+replacing "photon_" with your prefix just after the definition of $tikidomain.
 
 Now just put it all on your server and you are ready to go. To set up the next site on the same database just do the search/replace on prefix_tiki.sql with a new prefix, copy the source to the new site's root, and change the value of $db_prefix_tiki to match the new prefix.
 
 ^
 -= Multiple Related Sites in One DB =-
 
-There also can be a need for several sites in one DB to share information. For example, if the user information is shared then a user which registers on one site becomes recognized on all sites. (Added as suggestion for ((ReleaseClyde)) )
+There also can be a need for several sites in one DB to share information. For example, if the user information is shared then a user which registers on one site becomes recognized on all sites. (Added as suggestion for (( ReleaseOne)) )
 * Issues
 ** Shared users is an obvious application.
 ** What other information might be shared? News?
Page History
Date/CommentUserIPVersion
01 Nov 2004 (18:02 UTC)
SEWilco207.195.192.96
Current • Source
SEWilco209.98.144.165
View • Compare • Difference • Source