Difference between revisions of "Extensions:Random Spotlight"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page with "{{subst:Extension Page}}")
Tag: 2017 source edit
 
(Initial creation of page with proper information!!)
Tag: 2017 source edit
Line 1: Line 1:
{{Extensioninfobox|title=the extension's name|desc=A short description|auth=Author(s)|status=status (such as WIP, testing, stable)|github={{Github|user=username|branch=branch}}|LKVer=What Lorekeeper version the ext is built on|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Random Spotlight|desc=A short description|auth=[[User:Speedy|Speedy]]|status=stable|github={{Github|user=SpeedyD|branch=extension/random-spotlight}}|LKVer=2.1.0|migration=no|package=no}}
<!-- Put a short summary of your extension here! -->
+
 
 +
This extension adds a sidebar to your frontpage.. showing a random character from all of your site's species!
 +
 
 +
The purpose of this extension is basically to give users an easy way to find a character to make gift work for! :)
 +
 
 +
(Please note that characters will only be shown if they have __at minimum__ "Please Ask" for either Gift Art or Gift Writing.)
 +
 
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
Pull the extension branch and push to your site. That's it!
 +
 
 +
Don't forget to run <code>php artisan update-extension-tracker</code> and <code>php artisan optimize</code>!
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
No configuration necessary.
 +
 
 +
However, if, for any reason, your main species is not id 1, please go to
 +
`resources/views/frontpage/_sidebar.blade.php`
 +
and look for `species->id == 1` as well as `species->id != 1` (on lines 5 and 6).
 +
Change the `1` to the actual number of your main species.
 +
 
 +
This is not a requirement, but by default, the species with id 1 will be displayed openly, while the other species will be behind a closed accordion-styled collapse menu.
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
If you already have a sidebar on your frontpage, you may want to pass on this extension unless you are positive on how to edit it in yourself.
 +
 
 +
I will __not__ provide support for conflicting extensions in this manner.
 
== 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 -->
 
== 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 17:27, 12 April 2023

Random Spotlight
Description A short description
Author(s) Speedy
Status stable
Github extension/random-spotlight
LK Version 2.1.0






This extension adds a sidebar to your frontpage.. showing a random character from all of your site's species!

The purpose of this extension is basically to give users an easy way to find a character to make gift work for! :)

(Please note that characters will only be shown if they have __at minimum__ "Please Ask" for either Gift Art or Gift Writing.)

Installation

Pull the extension branch and push to your site. That's it!

Don't forget to run php artisan update-extension-tracker and php artisan optimize!

Configuration

No configuration necessary.

However, if, for any reason, your main species is not id 1, please go to `resources/views/frontpage/_sidebar.blade.php` and look for `species->id == 1` as well as `species->id != 1` (on lines 5 and 6). Change the `1` to the actual number of your main species.

This is not a requirement, but by default, the species with id 1 will be displayed openly, while the other species will be behind a closed accordion-styled collapse menu.

Usage

If you already have a sidebar on your frontpage, you may want to pass on this extension unless you are positive on how to edit it in yourself.

I will __not__ provide support for conflicting extensions in this manner.

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

See Also