kilowhat / flarum-ext-affiliation-links
Transform posted links into affiliation links with ease
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 3
Type:flarum-extension
- dev-master
- 0.2.0
- 0.1.2
- 0.1.1
- 0.1.0
- dev-dependabot/npm_and_yarn/js/json5-1.0.2
- dev-dependabot/npm_and_yarn/js/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/js/terser-4.8.1
- dev-dependabot/npm_and_yarn/js/ajv-6.12.6
- dev-dependabot/npm_and_yarn/js/tar-4.4.19
- dev-dependabot/npm_and_yarn/js/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/js/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/js/lodash-4.17.21
- dev-dependabot/npm_and_yarn/js/ssri-6.0.2
- dev-dependabot/npm_and_yarn/js/y18n-4.0.1
- dev-dependabot/npm_and_yarn/js/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/js/ini-1.3.8
- dev-dependabot/npm_and_yarn/js/yargs-parser-13.1.2
- dev-dependabot/npm_and_yarn/js/admin/mixin-deep-1.3.2
- dev-dependabot/npm_and_yarn/js/admin/extend-3.0.2
This package is auto-updated.
Last update: 2024-10-05 15:05:51 UTC
README
This extension allows you to automatically turn links into custom affiliate or redirect links.
You can define a list of rules that once matched will turn the url into another value. You can then inject the original url as part of that new url.
For example you can create a rule so that every url with domain niceshop.tld
gets rewritten as https://referaldomain.tld?redirect={url}
.
This will turn links like https://niceshop.tld/amazing-product
into https://referaldomain.tld/?redirect=https%3A%2F%2Fniceshop.tld%2Famazing-product
.
You can create more advanced rules with regular expression matching and capture groups.
Installation
This extension can be installed on Flarum beta 10.x only.
composer require kilowhat/flarum-ext-affiliation-links
This extension replaces flagrow/affiliation-links and will automatically import its data.
A KILOWHAT extension
This extension was written by Clark Winkelmann as part of a client contract and released under the MIT license in the hope that the code will be useful to others.
This extension is published on Packagist and you are welcome to install it on your own forum, however no free support is offered.
Please contact me if you are interested in contracting me to add features or update this extension.