Difference between revisions of "Extensions:Affiliates"

From Lorekeeper Wiki
Jump to navigation Jump to search
(Created page with "{{subst:Extension Page}}")
Tag: 2017 source edit
 
(Update to Develop)
Tag: 2017 source edit
(6 intermediate revisions by the same user not shown)
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}}|migration=yes/no|package=yes/no}}
+
{{Extensioninfobox|title=Affiliates|desc=Create an affiliate table to 'link' up your site with others.|auth=Preimpression|status=Testing|github={{Github|user=preimpression|branch=extension/affiliates}}|migration=yes|package=no}}
<!-- Put a short summary of your extension here! -->
+
 
 +
'''This extension was built using Develop and therefore requires Laravel 8.'''
 +
 
 +
Just like affiliates in old forums (and somewhat like affiliates in Deviantart), set up affiliates between your site and others! This extension, once enabled, allows guests and users alike to submit applications to affiliate with your site. Admins can approve affiliate requests and even set some as Featured (also known as Sister Sites).
 +
 
 
== Installation ==
 
== Installation ==
<!-- Describe installation. Include any requirements (such as packages), necessary commands, etc. -->
+
 
 +
* Pull the affiliates branch and merge it into your main branch
 +
* Run <code>php artisan migrate</code>
 +
* Run <code>php artisan add-site-settings</code>
 +
* Run <code>php artisan copy-default-images</code>
 +
* Run <code>php artisan update-site-extensions</code>
 +
(( Note: copying default images may overwrite your existing images uploaded via Site Images unless you've overwritten the image files in data/images. ))
 +
 
 
== Configuration ==
 
== Configuration ==
<!-- Is any configuration necessary? Describe it here! -->
+
 
 +
You will need to enable affiliate requests in the Site Settings page.
 +
 
 +
You can set the Default Site Affiliate Image (used if the site you're affiliating with doesn't have an image for whatever reason) and your own site affiliate image in the Site Images page.
 +
 
 +
'''This adds a new power: You must add it to your applicable moderator roles.'''
 +
 
 
== Usage ==
 
== Usage ==
<!-- Is there anything users should know about using your extension? -->
+
 
 +
Displays on the dashboard and logged-out-page. Featured affiliates always show while regular affiliates will randomize based on refresh. They should never repeat and featured sites shouldn't be included in the randomized affiliates.
 +
 
 +
'''Note that you will manually have to open the affiliate queue!'''
 +
 
 
== Troubleshooting ==
 
== Troubleshooting ==
<!-- Are there known issues or errors that require user action? Who should they contact, and where, for support? -->
+
 
 +
No known bugs currently.
 +
 
 
== See Also ==
 
== See Also ==
<!-- Any relevant other pages. You may consider linking to related extensions, for instance. -->
 
  
 +
Discord: Uri#2154
 +
 +
=== Please let me know if you set this up so I can see it in action and maybe apply! :) ===

Revision as of 08:49, 8 February 2021

Affiliates
Description Create an affiliate table to 'link' up your site with others.
Author(s) Preimpression
Status Testing
Github extension/affiliates
LK Version Unspecified
Contains a Migration



This extension was built using Develop and therefore requires Laravel 8.

Just like affiliates in old forums (and somewhat like affiliates in Deviantart), set up affiliates between your site and others! This extension, once enabled, allows guests and users alike to submit applications to affiliate with your site. Admins can approve affiliate requests and even set some as Featured (also known as Sister Sites).

Installation

  • Pull the affiliates branch and merge it into your main branch
  • Run php artisan migrate
  • Run php artisan add-site-settings
  • Run php artisan copy-default-images
  • Run php artisan update-site-extensions

(( Note: copying default images may overwrite your existing images uploaded via Site Images unless you've overwritten the image files in data/images. ))

Configuration

You will need to enable affiliate requests in the Site Settings page.

You can set the Default Site Affiliate Image (used if the site you're affiliating with doesn't have an image for whatever reason) and your own site affiliate image in the Site Images page.

This adds a new power: You must add it to your applicable moderator roles.

Usage

Displays on the dashboard and logged-out-page. Featured affiliates always show while regular affiliates will randomize based on refresh. They should never repeat and featured sites shouldn't be included in the randomized affiliates.

Note that you will manually have to open the affiliate queue!

Troubleshooting

No known bugs currently.

See Also

Discord: Uri#2154

Please let me know if you set this up so I can see it in action and maybe apply! :)