Extensions:Gallery Recent Submissions

From Lorekeeper Wiki
Revision as of 07:58, 4 June 2023 by Speedy (talk | contribs)
Jump to navigation Jump to search
Show All Recent Submissions
Description View all recent gallery submissions in one go!
Author(s) Speedy
Status stable
Github SpeedyD/lorekeeper
LK Version 3.0.0 dev
Is part of LK v3.0.0's release






THIS EXTENSION IS PART OF v3.0.0
This extension has been merged into the develop branch (aka the future v3.0.0 branch) as Show All Recent Submissions.
You will not be able to download this. This wiki page is only for referencing purposes.

Adds a new page that shows all recent gallery submissions in one go. Even potentially adds a widget on the frontpage, if required!

Installation

As this extension is part of v3.0.0, you will want to perform any actions required to update properly. But there are no other installation steps otherwise.

Configuration

In the config/lorekeeper/extensions.php file, find:

// Show All Recent Submissions - Speedy

Under 'show_all_recent_submissions' => you will find the following options:

'enable' => 0 If set to 1, it will enable this extension and all options below.

'links' => This section specifies which links will be visible.

'sidebar' => 1 This shows a link in the sidebar of the gallery. Set it to 0 to remove it.
'indexbutton' => 1 This shows a button on the index page of the gallery. Set it to 0 to remove it.

'section_on_front' => 0 If set to 1, it will display a recent submissions section on the front page!

Usage

It simply shows all recent gallery submissions, regardless of gallery folder. Easy to see everything new in one go!

Can even use the same search functions you would in specific folders, and it goes all the way to the oldest submission.

Troubleshooting

I'm Speedy#4060 on Discord, but please do not contact me directly.

Instead, please tag me in the Lorekeeper server if you need my help.

I am not a regular there, so asking something without a tag might not get a response.

Images

Version History

  • *1: Initial creation.
  • *2: Cleanup.
  • *3: Further cleanup- turns out there was code from another extension.
  • *4: Even further cleanup- turns out there was MORE code from another extension.
  • *5: Improved the frontpage widget and added check in controller code so it won't run if not enabled!

(This extension has never had a tracker update, and never will.)

See Also