SocialEngine 4

Getting Started

This documentation describes how to get started with SocialEngine 4.

Requirements

Minimum

Optional

Optional Requirements for Video Plugin

Optional Requirements for Chat Plugin

How do I check if my host is compatible with SocialEngine4?

Most modern hosting providers are compatible with SocialEngine4 but if in doubt you can contact them directly and refer them to this page.

Installation and Updating Instructions

Installation Instructions

  1. In order to install SocialEngine4, you need four pieces of information. If you do not know what they are, please contact your hosting provider and ask them.
  2. Download the SocialEngine4 ZIP file and extract it to your computer.
  3. Upload all of the files to your hosting account (it can exist either in the root HTML directory, or a subdirectory).
  4. Access the SocialEngine installer by accessing your website; the installer wizard will automatically begin.
  5. Upload all the files to a hosting account. These files should be uploaded to a web-accessible directory.

Upgrading Instructions

For our initial beta release, we will not be providing upgrade instructions.

Module Installation

Module installation will function very similarly to the SocialEngine installation.

Getting Started with SocialEngine4

User Access

Member and Admin accounts are unified in SocialEngine, so that you as the site owner can use the same username and password to access the website. A user account with super-admin privileged is created for you during the installation process. Additional user accounts can be created via the signup process, and specific privileges can be assigned by you, the admin, after the account has been created.

Developers Guide

Tools

While the following are not necessary for modifying SocialEngine 4, we recommend the following tools for your development environment.

Structure

SocialEngine4 is based on the Zend Framework, and is built in an MVC (Model-View-Controller) structure. It is also built with modularity in mind.

The directory structure is as follows:

Modules

/application/modules/*

Most of SocialEngine's functionality resides here. Each module contains within it the MVC structure, where the "Model", "views", and "controllers" directories correspond to the MVC paths. Please see our included skeleton module "HelloWorld" for more information on this.

Languages

/application/languages/*

Each language gets its own two-letter (or 5-character with localization support) directory in this sub-directory. The language files are in multiple CSV files, though they are concatenated into one large CSV file (in no particular order, except that "custom.csv" is the last). One important point to keep in mind is that duplicate keys override previously defined keys. So, for example, if you have a key "Turtles are fast!" in both core.csv and custom.csv, since custom.csv is loaded last, the value set to "Turtles run fast!" in custom.csv will be the one used.

The CSV files have several requirements:

Themes

/application/themes/*

We utilize a framework called "CSS Scaffold" which makes editing your community's theme a simple process. Each theme is stored in its own directory within /applications/themes/. A default theme is automatically loaded when you first install SocialEngine. Each theme contains two files: constants.css and theme.css.

At the top of constants.css, you'll find a series of global CSS settings (called "constants"). You can edit these to adjust the colors, fonts, and other styles throughout your entire community.

The other file, theme.css, contains more specific styles that are used throughout your community. Many of these styles inherit values from constants.css. If you want to override any of the default styles on your community, you can edit them here. If they aren't present in theme.css (and are being loaded from outside the theme itself), you can override them by adding new styles to the bottom of theme.css.

More information about how to work with CSS Scaffold is available here: http://wiki.github.com/anthonyshort/csscaffold/