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 21: Line 21:
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
 
I can be found in the Lorekeeper discord if any issues arise!
 
I can be found in the Lorekeeper discord if any issues arise!
 +
== Images ==
 +
* [https://www.itinerare.net/gallery/pieces/4.Lorekeeper-Ext-%E2%97%88-Trade-Listings?source=projects/pages/lorekeeper&page=1 Writeup with images on my site]
 
== See Also ==
 
== See Also ==
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->

Revision as of 07:29, 8 April 2021

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!

Images

See Also