Extensions:User Ads
Jump to navigation
Jump to search
| Description | A short description |
|---|---|
| Author(s) | Author(s) |
| Status | status (such as WIP, testing, stable) |
| Github | branch |
| LK Version | What Lorekeeper version the ext is built on |
Installation
Pull the extension.
Do the following commands once you resolve all conflicts.
php artisan migratephp artisan optimize
Configuration
The user ads are called with @include('layouts._user_ads') in app.blade.php by default. If you move this elsewhere, like the Dashboard, you may have to fiddle with the back end.
You can also adjust the look of the user ads index and the ads itself with these files: resources/views/user_ads/index.blade.php resources/views/user_ads/_user_ads.blade.php
Usage
Display in the app.blade.php for only logged in users. It will not show to guests unless you edit it.
Users can delete their own ads but cannot edit their own.
Staff with the power manage_uses_ads are able to delete and edit ads regardless of who made them.