Fork me on GitHub

Site Networks?  Bottom

  • I am sure many of us have visited various gaming network sites and envied their ability to build different themed sites which appear to run off the same engine and database (user login, etc). Well I certainly have. :)

    So earlier this year I decided to see what I could do about using my highly-modified PN-engine to do something similar. And after modifying 80% of all the core and modules I was able to easily build "satellite sites" that contain their own content (news, reviews, articles, forums, etc) but use the same user login. Each site has a different config startup file (which was key to implementing the whole thing) and the URL determines which file is included.

    Users can also "syndicate" articles from one site to another (if they are approved to do so).

    There are still a few bugs in the code but overall I am happy with it. I just wanted to suggest that this kind of "realm" functionality might be a feature that would make PostNuke stand apart from the rest of the CMS crowd.

    If you want to see what the hell I am babbling about you can compare these 3 sites (both sharing the same PN install).

    http://www.armorama.com
    http://www.tfactory.org
    http://squadron.kitseller.net

    Cheers,
    Jim
  • Excuse me If I am off track, but isn't this called multi-site - a feature that has been available for some time now?

    -Lobos

    --
    -Lobos
    Professional PHP Framework Services: Concept, Development and Deployment
  • very nice re-design of armorama Jim.. someone should do an expose (with a dash over the "e" ;) ) on it... not sure what you mean with the changes, but feel free to elaborate..

    good to see you're still at it :)
    -IR
  • I had heard of Multi-sites of course but for some reason I thought that process (while sharing a single DB) was a little complicated. Also I am not really up-to-date with the current code-base so significant improvements may have been made to MS since my early days with PN.

    Does it allow for different group permissions based on which site you are in? Did they finally engage the $realm permission variables to accomplish this?

    Either way my end result is exactly what I needed as even the forum is $realm enabled.

    IR - Hey :) ... not sure how I can explain it better. Suffice to say if I want to add a complely new site to my shared environment I do the following...

    1. Create a $site_id in my realms table
    2. Create a $domain_name.config.php file as the master control file
    3. Create coresponding $site_id theme and language files
    4. Design theme files if needed

    And whala...new site. :)

    Jim

This list is based on users active over the last 60 minutes.