Skip to content
No description or website provided.
PHP JavaScript Scheme Other
Find file
Latest commit 62f008c Oct 13, 2012 Marcus Nyeholt API Added username login for users
* Username field for user login
* Update existing users with username task
* Added sortable grid field for profile page
Failed to load latest commit information.
SortableGridField API Added username login for users Oct 13, 2012
build API Added username login for users Oct 13, 2012
cms Updated to 3.0.2 Sep 17, 2012
dashboards Added refresh methods fordashboards to be able to easily reload a das… Aug 5, 2012
facebook Cleanup registration / login process with external apps Jul 30, 2012
framework Patched file field so that fileClass isn't set back to File if we hav… Sep 17, 2012
gearman Updated to parseInt value before the call to gaq push Sep 20, 2012
google Cleanup registration / login process with external apps Jul 30, 2012
memberprofiles API Added username login for users Oct 13, 2012
microblog API Added username login for users Oct 13, 2012
multivaluefield Move modules all locally Jun 28, 2012
mysite Updated to parseInt value before the call to gaq push Sep 20, 2012
orderable Updated to distinguish 'friend' and 'follower' Aug 5, 2012
queuedjobs Added gearman queue handling. Updated post save process to make sure … Sep 19, 2012
ratings Added filtering by tags Aug 1, 2012
restrictedobjects Fixed null point references Aug 28, 2012
silvertwit Moved post aggregator page Sep 5, 2012
simplecache Added sitemap generation code Sep 9, 2012
sqlite3 Updated member login process to make sure group creation is run as an… Aug 10, 2012
syncrotron API Added option for creating users if they don't already exist Aug 21, 2012
themes/bootstrap Updated process of adding a post so that extraction of info is done d… Sep 11, 2012
thirdpartyauth Updated member login process to make sure group creation is run as an… Aug 10, 2012
webservices API Added delete capabilities Jul 16, 2012
widgets readd full modules Jun 28, 2012
.gitignore Added markdown parsing and preview Sep 13, 2012
README.md Update master Jun 29, 2012
build.xml Aded ability to edit posts Sep 14, 2012
phpunit.php Added tagging of # contents Jul 31, 2012
phpunit.xml Added tagging of # contents Jul 31, 2012

README.md

SilverTwit

A social networking platform in SilverStripe

Getting Started

Installation

  • Clone the repository
  • If you have phing, just run phing to create all the default files needed and skip the following bits
  • Otherwise, you'll need to copy the following files manually
    • build/configs/silverstripe/local.conf.sample.php to mysite/local.conf.php
    • build/configs/silverstripe/htaccess.sample to ./.htaccess (note the extra . there)
  • Edit mysite/local.conf.php to reflect appropriate DB settings. The following should work for SQLite

    global $databaseConfig;
    $databaseConfig = array(
            "type" => "SQLiteDatabase",
            "server" => "localhost",
            "username" => "",
            "password" => "",
            "database" => "silverstripe",
    );


    Security::setDefaultAdmin('admin', 'admin');
    // Email::setAdminEmail('admin@example.org');
    define('SS_LOG_FILE', dirname(__FILE__).'/'.basename(dirname(dirname(__FILE__))).'.log');
  • Edit mysite/local.conf.php and update the 'defaultAdmin' settings
  • Create the assets/ directory
  • Create an _ss_environment.php file in the root folder with the following
    // Set the $_FILE_MAPPING for running the test cases, it's basically a fake but useful
    global $_FILE_TO_URL_MAPPING;
    $_FILE_TO_URL_MAPPING[dirname(__FILE__)] = 'http://localhost';
  • Run dev/build : note that you will NEED to run with '?disable_perms=1' as a parameter to make sure the restrictedobjects module doesn't interfere with things
  • All done!

Configuration

A few things will need to be created first, so login to /admin

  • Go to Security
  • Create a "Members" group
  • Go to Settings, and select the permissions tab.
  • Add Access Authority -> for Permission select View, for Groups select "Members", click Create
  • Go to Pages
  • Add new -> Site Dashboard Page -> set name = Site
  • On the Home page, change type to "Redirector page" and make it redirect to the 'Site' page
  • Remove other pages from the menu
  • Add new -> MemberProfilePage -> set name = Profile, just use the default registration options
Something went wrong with that request. Please try again.