Difference between revisions of "Extensions:Reports"

From Lorekeeper Wiki
Jump to navigation Jump to search
m (Huh, an error in the code. Didn't notice that.)
m (Added v3 and a note that it's built into v2 and v3.)
Tag: 2017 source edit
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=Reports|desc=Allows users to report inappropriate content|auth=Newt|status=WIP|github={{Github|user=ne-wt|branch=reports}}|migration=yes|package=no|modified-main=yes}}
+
{{Extensioninfobox|title=Reports|desc=Allows users to report inappropriate content|auth=Newt|status=Stable|github={{Github|user=ne-wt|branch=reports}}|migration=yes|package=no|modified-main=yes}}
<!-- Put a short summary of your extension here! -->
+
This extension is already in v2 and v3!
 
== Installation ==
 
== Installation ==
 
Pull the branch, then run <code>php artisan migrate</code>
 
Pull the branch, then run <code>php artisan migrate</code>
Line 7: Line 7:
 
== Usage ==
 
== Usage ==
 
<!-- Is there anything users should know about using your extension? -->
 
<!-- Is there anything users should know about using your extension? -->
To add another area / page as reportable, add <code><a href="{{ url('reports/new?url=') . $variable-placeholder->url }}"><i class="fas fa-exclamation-triangle" data-toggle="tooltip" title="Click here to report" style="opacity: 50%;"></i></a></code>
+
To add another area / page as reportable, add <syntaxhighlight><a href="{{ url('reports/new?url=') . $variable-placeholder->url }}"><i class="fas fa-exclamation-triangle" data-toggle="tooltip" title="Click here to report" style="opacity: 50%;"></i></a></syntaxhighlight>
 
== Troubleshooting ==
 
== Troubleshooting ==
 
<!-- 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? -->

Latest revision as of 00:26, 19 August 2024

Reports
Description Allows users to report inappropriate content
Author(s) Newt
Status Stable
Github reports
LK Version Unspecified
Contains a Migration
Is part of LK v2 (modified-main)






This extension is already in v2 and v3!

Installation

Pull the branch, then run php artisan migrate

Configuration

Usage

To add another area / page as reportable, add

<a href="{{ url('reports/new?url=') . $variable-placeholder->url }}"><i class="fas fa-exclamation-triangle" data-toggle="tooltip" title="Click here to report" style="opacity: 50%;"></i></a>

Troubleshooting

You can contact me @Newt via the Lorekeeper discord!

See Also