Difference between revisions of "Extensions:Trade Listings"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
Tag: 2017 source edit
Line 1: Line 1:
{{Extensioninfobox|title=Trade Listings|desc=Adds creation and display of trade listings.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=trade-listings}}|migration=yes|package=no}}
+
{{Extensioninfobox|title=Trade Listings|desc=Adds creation and display of trade listings.|auth=Mercury|status=Testing|github={{Github|user=itinerare|branch=extension/trade-listings}}|migration=yes|package=no}}
 
<!-- Put a short summary of your extension here! -->
 
<!-- Put a short summary of your extension here! -->
 
'''[This extension is based on {{Github|user=corowne|branch=modified-main}}.''']
 
'''[This extension is based on {{Github|user=corowne|branch=modified-main}}.''']

Revision as of 09:48, 15 November 2020

Trade Listings
Description Adds creation and display of trade listings.
Author(s) Mercury
Status Testing
Github extension/trade-listings
LK Version Unspecified
Contains a Migration






[This extension is based on modified-main .]

Adds a trade listing system. Users can enter in comments, preferred method(s) of contact (required), and attach both requested items/currencies/other (not handled by Lorekeeper) goods/services and offered items/characters/currencies/other goods/services. Listings are then displayed for a set duration or until manually marked expired by a user or admin. Listings, both past and present, may be linked and viewed via their id. Expired listings are displayed for the user that created them in a page for reference, but otherwise hidden.

Note that this system only displays the information entered and does not directly interface with the trade system; it is only a means for users to communicate, more or less.

This also adds a field for an optional-but-recommended proof-of-terms link to trades themselves, but does not make any other changes to the trade system.

Installation

Pull; run

php artisan migrate

and

php artisan add-site-settings

Configuration

Add a link to /trades/listings to your navbar; it is not done automatically to account for the wide variance in navbars across sites.

The duration that trade listings are displayed for can be configured in the site settings admin panel; the default is 14 days/2 weeks.

Usage

Troubleshooting

I can be found in the Lorekeeper discord if any issues arise!

See Also