Difference between revisions of "Extensions:Affiliates"

From Lorekeeper Wiki
Jump to navigation Jump to search
Tag: 2017 source edit
(Update to Develop)
Tag: 2017 source edit
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Extensioninfobox|title=Affiliates|desc=Create an affiliate table to 'link' up your site with others.|auth=Preimpression|status=Testing|github={{Github|user=preimpression|branch=affiliates}}|migration=yes|package=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}}
  
'''This extension was built using Modified Main.'''
+
'''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).  
 
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).  
Line 10: Line 10:
 
* Run <code>php artisan migrate</code>
 
* Run <code>php artisan migrate</code>
 
* Run <code>php artisan add-site-settings</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 ==
Line 16: Line 19:
  
 
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.
 
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 ==
  
 
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.
 
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 ==
Line 28: Line 35:
  
 
Discord: Uri#2154
 
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! :)