Version 1.2.29 : Allow create several thousand of slave sites from the front-end
There are no translations available.

New low level directory structure

We have introduced a new way to save the Jms Multisites slave site description on the disk to allow record a lot of slave sites definition and reduce the impact on the OS performance. Now, it is possible to store the Jms Multisites slave sites configuration using a set of directories using a tree of letters to speedup the files access.

By default this new low level directory structure is not enabled and is a parameter present in the "multisites.cfg.php" files.

This new way to save the multisites configuration file may be usefull when proposing a huge number of websites creation from the front-end. (ie. 10,000 slave sites an perhaps 1 million or more slave sites). This functionality is already live with a customer who expect more than 1 million slave sites and that use a multisites affiliate program that we have developed.

To speedup the processing when the Top Level Domain definition is not required, we also add a parameter in the "multisites.cfg.php" file to disable the computation required to identify pattern like "co.uk", "co.au", "co.za", ...

When installing an update of Jms Multisites, we know detect if a "multisites.cfg.php" is already present to avoid replacing it.
The "mutlisites.cfg.php" file is only created when not present and based based on the "multisites.cfg-dist.php" file.

New multisites.cfg.php parameters are:

  • MULTISITES_TLD_PARSING   Give the possibility to disable the Top Level Domain (TLD) computation to speedup the Multisites processing.
    When none of the slave sites contain domain with TLD composed of several words like co.uk co.za, co.au, ...
  • MULTISITES_LETTER_TREE   Use a letter tree to have the Multisites "Slave site" configuration and therefore reduce the number of files/folders at each level.
    When not defined, it is assume this is false and use the default flat directory structure.

Plugin and contributor customization.

Possibility to create contributor patches

Call plugin function to give the opportunity to contributor write specific patches that could be appended to Jms Multisites.
A free plugin for the YooThemes WARP framework is provide with the contribution of Brett Bruce that written the patches and that we encapsulated into this new plugin facility.
- Add the possibility to add contributors patches. Call plugin multisites to defined the patches.
Possibility to implement the functions coreFunctions2Backup() & files2Path().

Keyword customisation

We have added in standard new keywords:

  • {user_login}
  • {user_name}
  • {site_id_letters}

It also exists now the possibility to implement plugins to process additional customer specific keywords.

Front-end new facilities

  • Add the possibilty to create a slave site with an anonymous users (not logged).
  • dd the possibility to redirect to a specific URL in case of error.
  • Add new "OnBeforeSave" Multisites plugin functions that is called before saving a front-end slave sites.
  • Add possibility to flag all the field in the front-end edit.
  • Add a new function in the Util API to allow rebuild the Multistes master index.

Fix PHP 5.3 Compatibility

- Fix warning message reported by some "preg_split" and introduced when adding the PHP 5.3 compatibility

Bundled with Jms Multisites Patch Definition 1.2.35.

Modify several existing patches to take in account the new letter tree directory structure used when there are a lot of slave sites.

  • Add JMS Tools (install) definitions for :
    - QContact,
    - Multisites Affiliate (coming soon),
    - GroupJive,
    - JoomLeague,
    - myApi,
    - OSE Webmail
    - Seo Links, £
    - Update Manager,
    - VM Emails Manager,
    - WebmapPlus
  • Add sharing definition for:
    - GroupJive

 

 

Mise à jour le Vendredi, 04 Juin 2010 17:46