Difference between revisions of "Extensions:Gallery Recent Submissions"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Further setup. Will finish later.)
(Page completed! I think! Probably!)
Line 9: Line 9:
 
| You will not be able to download this. This wiki page is only for referencing purposes.
 
| You will not be able to download this. This wiki page is only for referencing purposes.
 
|}
 
|}
'''Page under construction, sorry!'''
+
Adds a new page that shows all recent gallery submissions in one go. Even potentially adds a widget on the frontpage, if required!
  
<!-- Put a short summary of your extension here! -->
 
 
== Installation ==
 
== 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.
 
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 ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
In the <code>config/lorekeeper/extensions.php</code> file, find:
 +
<syntaxhighlight lang="html">// Show All Recent Submissions - Speedy</syntaxhighlight>
 +
Under <code>'show_all_recent_submissions' =></code> you will find the following two options:
 +
 
 +
<code>'enable' => 0</code> If set to 1, it will enable this extension and all options below.
 +
 
 +
<code>'links'  => </code> This section specifies which links will be visible.
 +
 
 +
<code>    'sidebar'      => 1</code> This shows a link in the sidebar of the gallery. Set it to 0 to remove it.
 +
 
 +
<code>    'indexbutton'  => 1</code> This shows a button on the index page of the gallery. Set it to 0 to remove it.
 +
 
 +
<code>'section_on_front' => 0</code> If set to 1, it will display a recent submissions section on the front page!
 +
 
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
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 ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
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 ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
<!-- Note to self: add images sometime soon -->
 +
 
 +
== 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 ==
 
== 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:54, 4 June 2023

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 two 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