Multisite beta 2.3.4 for Elgg 1.5 and Elgg 1.6.1 v2.3.4

Release Notes

multisite Beta 2.3.4 for elgg 1.5 and elgg 1.6

What's new ?

This version includes :

- Major security changes when a user switch from one site to another
- More warnings to avoid wrong initiation of the plugin
- Some bugs correction
- New english language (Thanks theFather)


You can go to a demo site there :

once there :

  • Create an account
  • Go to the tools->communities menu
  • Create a community (will be your private full elgg social network)
  • Connect to your new community
  • Use the adminsite menu to add new tools and change the them


Content =

  • folder multisite
  • folder elgg15
  • folder elgg16


This plugin is based on the dynamic creation of subdomains.
So you have to :

- in your vhost : add an alias
- in your dns : add * A

If you are using wamp, you wont be able do create subdomains dynamicly so you have to pre-declare you subdomains in your windows/system32/drivers/etc/hosts file

Now go :

1) unzipp the multisitebeta23 folder somewhere on your local pc

2) unzipp the multisite folder in your mod directory and enable the plugin

If you run elgg 1.5 you should use the files il the elgg15 folder (folder elgg16 if you run elgg 1.6.1)


3) copy the files : multisite.php, elgglib.php, notification.php from the engine/lib folder to your site engine/lib folder

4) copy the files : start.php from the engine folder to your site engine folder

5) Replace simplecache/view.php with the simplecache/view.php provided with the plugin

Now the multisite feature should work and the caches (elgg_views and simplecache) are splitted in different directories, one simple_cache and one elgg_view cache by community

The following step are mandatory only if you want to split the logs and river data for each community(site).

6) add a new row to your river table, call it site_guid (bigint)
7)add a new row to your system_log table, call it site_guid (bigint)

8) copy the files : river2.php and system_log.php from engine/river$log_lib folder to your site's engine/lib folder

Now the river will give to a community the events that have been created in that community, and no other ones.

Then go to your site and :

9) go to admin->communities menu -> init multisite and init the plugin with your default value

10) go to admin->communities menu -> Plugin setting and set your installed plugins as global, local, theme or hidden

Have fun and join the multisite group on to share your experience

  • Hello Fabrice, I'need some help using this plugin.

    bonjour Fabrice.

    I setup Elgg 1.7.1, and I use WampServer Version 2.1; My PC OS is Windows  7 Edition Family Premium 
    I do:

    I copy the plugin multisite in the folder 'mod'

    i enable the plugin

    I copy differents files and folder in the indicate directory;

    I add news row in table river and table system_log

    ·         River.site_guid (bigint)

    ·         system_log.site_guid (bigint)

    When I try to run the site, the white page appear

    can you help me




  • Category: Uncategorized
  • License: GNU General Public License (GPL) version 2
  • Updated: 2014-11-17
  • Downloads: 2796
  • Recommendations: 0

Other Projects

View Fabrice's plugins