Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/bmlt-enabled/last-user-edit-bmlt

Displays the last edit by every user in a BMLT server.
https://github.com/bmlt-enabled/last-user-edit-bmlt

Last synced: 3 months ago
JSON representation

Displays the last edit by every user in a BMLT server.

Lists

README

        

# Description

Last User Edit - displays the last edit by every user in a BMLT server.

# Installation

This section describes how to install the plugin and get it working.

edit the config.php file with the following variables and upload to your server. optionally could be run locally `php -f last-user-edit.php > last-user-edit.html`
if trying to run locally you may need to add your ip address in cpanel to allow remote database connections.

| config option | value |
|:---------------------------|:---------------------------------------------------------------|
|static $bmltServer = ''; | Your root server url |
|static $serviceBodyId = '';             | this can be either a parent or child service body id |
|static $daysPassed = '60'; | the amount of days back to look for edits |
|static $timeZone = ''; | sets the timezone ex. America/New_York |
|static $dbServerName = ""; | database servername often times 127.0.0.1 or localhost is fine |
|static $dbUserName = ""; | bmlt database username |
|static $dbPassword = ""; | bmlt database password |
|static $dbName = ""; | bmlt database name |
|static $usersArray = array(); | array of users, if set this wont use database access to get full list |****

A full list of supported timezones can be found
here http://php.net/manual/en/timezones.php

# Changelog

= 1.0.0 =

* Initial Release