Difference between revisions of "Extensions:Gallery Recent Submissions"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Starting out, will finish later)
m (Consistency Fix)
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=Show All Recent Submissions|desc=A short description|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=Speedy}}|LKVer=3.0.0 dev|migration=no|package=no|dev300=yes}}
+
{{Extensioninfobox|title=Show All Recent Submissions|desc=View all recent gallery submissions in one go!|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD}}|LKVer=3.0.0 dev|migration=no|package=no|dev300=yes}}
  
{| style="margin: 4px auto; width: 80%; border: 1px solid #dc3545; background: #f52237;"
+
{| style="margin: 4px auto; width: 80%; border: 1px solid #9ADC38; background: #A1F524;"
 
|-
 
|-
| '''<u>DO NOT USE IF YOU ARE ON VERSION v3.0.0 OR THE LATEST DEV BRANCH</u>'''
+
| '''<u>THIS EXTENSION IS PART OF v3.0.0</u>'''
 
|-
 
|-
| This extension has been merged into the develop branch (aka the future v3.0.0 branch) as [https://github.com/corowne/lorekeeper/commit/b42da34f101bac1ba5fe338ec816a4d914ebe0c3 Show All Recent Submissions].
+
| This extension has been merged into the v3.0.0 branch as [https://github.com/corowne/lorekeeper/commit/b42da34f101bac1ba5fe338ec816a4d914ebe0c3 Show All Recent Submissions].
 
|-
 
|-
| Do not download if you are already on the develop branch, or if you're reading this from the future where Lorekeeper is already on v3.0.0.
+
| 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 ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
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 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.
 +
{| style="margin: 0px 20px;"
 +
| <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? -->
+
Create a new thread in the #general-help channel of the Discord!
 +
 
 +
You can always try tagging me (see my [[User:Speedy|user page]]), as I'm semi-active on the server, but a new thread is your best bet.
 +
 
 
== Images ==
 
== Images ==
<!-- Do you have any images to show what it looks like in action? -->
+
<gallery>
 +
File:Recent Submissions button and link.png|The sidebar link and button link.
 +
File:Recent Submissions top of page.png|Recent Submissions page.
 +
</gallery>
 +
Both images are sourced from [https://www.mhoats.com/ Realm of Mynros], where the extension is already running.
 +
 
 +
== 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. -->
+
* [[Updating:_to_3.0.0]]

Latest revision as of 10:22, 25 March 2024

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

Create a new thread in the #general-help channel of the Discord!

You can always try tagging me (see my user page), as I'm semi-active on the server, but a new thread is your best bet.

Images

Both images are sourced from Realm of Mynros, where the extension is already running.

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