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 (...that broke it, maybe this will fix it)
 
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 10:13, 25 March 2024

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



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