Difference between revisions of "Extensions:Affiliates"
m (→Installation) Tag: 2017 source edit |
m (Moved Images below troubleshooting area so it won't look so chopped up.) Tag: 2017 source edit |
||
(4 intermediate revisions by 3 users 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 | + | '''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 11: | Line 11: | ||
* 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 copy-default-images</code> | ||
+ | * Run <code>php artisan update-extension-tracker</code> | ||
(( Note: copying default images may overwrite your existing images uploaded via Site Images unless you've overwritten the image files in data/images. )) | (( Note: copying default images may overwrite your existing images uploaded via Site Images unless you've overwritten the image files in data/images. )) | ||
Line 24: | Line 25: | ||
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 == | ||
No known bugs currently. | No known bugs currently. | ||
+ | |||
+ | == Images == | ||
+ | <gallery> | ||
+ | File:Affiliates 01.png | ||
+ | |||
+ | File:ApplyAffiliates.png | ||
+ | File:AffiliatesViewAll.png | ||
+ | File:AffiliatesAdminView.png | ||
+ | File:CurrentAffiliatesAdmin.png | ||
+ | File:AffiliateRequestsAdmin.png | ||
+ | File:AffiliatesSiteSetting.png | ||
+ | </gallery> | ||
== See Also == | == See Also == |
Latest revision as of 14:29, 26 June 2024
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).
Contents
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-extension-tracker
(( 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.
Images
See Also
Discord: Uri#2154