A web based, basic sign-in sign-out system intended for mobile phone screens, so all users can see who has what, to facilitate more efficient sharing of an organizations assets in the field.
While it is far from polished, it has been actively used in production by my employer since 2017. Published on Sourceforge under GPL 3 license so it can be of benefit to others and to attract collaborators.
Creates a menu item in the Wordpress admin menu. Plugin user roles are blocked from all other admin menu items.
Generates a collapsible list of asset categories with assets in each category. By default only assets that are available or that are signed out to the current user are shown for brevity. Checking a box at the top of the page shows all assets.
Each asset has a status, and if signed in or signed out to the current user, a checkbox.
Separate user inventory page lists all assets signed out to the current user and allows assets to be transferred to another user.
Features
- Adds menu item to Wordpress admin page, blocking users from other admin items with custom roles.
- Relatively simple approach using PHP and CSS only (no JS, no AJAX at this time).
- Simple HTML/CSS collapsible asset list. Bulk sign-in and sign-out using checkboxes.
- 2 database tables only. One for assets, on for logging.
- 2 Wordpress user account roles only. One for asset users, one for asset admins.
- User inventory page listing all of the users signed out assets.
- Transfer signed out assets to, and receive transfers from, other users.
- Caution: may not do a proper clean-up of database table, roles, users on uninstall. Manual removal (using phpmysql or other means) might be required for complete removal.