Skip to content

Installing LinkProxy Plus

About the name

The product is sold as LinkProxy Plus. In the code it is called Vanity Links Plus. That is why you will see these names:

  • the folder and the entry in Paymenter's extension list: VanityLinksPlus
  • the admin navigation entry: Vanity Links Plus
  • the permissions: admin.vanity_links_plus.*
  • the database tables: ext_vanity_links_plus_*

They all belong to this product.

Upload the files

The extension must end up in this folder of your Paymenter installation. The folder name must be exactly VanityLinksPlus.

extensions/Others/VanityLinksPlus/

You can get it there in two ways.

Upload the ZIP in the admin area

  1. In the admin area, open Extensions, then Available Extensions.
  2. Switch to the Ready to Install / Upload tab.
  3. Click Upload Extension, choose the ZIP file and confirm.

Copy the folder by hand

  1. Unpack the ZIP and copy the VanityLinksPlus folder to extensions/Others/VanityLinksPlus/.
  2. If the extension does not show up in the next step, run these commands in the Paymenter root directory:

    composer dump-autoload
    php artisan optimize:clear
    

Install and enable

  1. Open Extensions, then Available Extensions, tab Ready to Install / Upload.
  2. Find VanityLinksPlus in the list and click Install. Paymenter opens the extension's settings page.
  3. Switch on Enabled and save.

Installing and enabling both run the extension's migration. You do not need to run php artisan migrate yourself. The migration creates two tables:

Table Content
ext_vanity_links_plus_links One row per link with all its options
ext_vanity_links_plus_clicks One row per recorded visit

Once the extension is enabled:

  • the admin navigation has a group Marketing with the entry Vanity Links Plus,
  • public links at /{slug} and the password unlock route POST /vanity-links-plus/unlock/{slug} are active,
  • the role form lists seven new permissions.

First-time setup

  1. Give your staff roles the permissions they need. Edit the role in the admin area and tick the permissions that start with admin.vanity_links_plus. Without admin.vanity_links_plus.view the Vanity Links Plus entry is not shown. Roles that have all permissions need no change. See Configuration.
  2. Open Vanity Links Plus and create your first link. See Usage.
  3. If you want webhooks, switch on Enable Click Webhooks on the extension's settings page. See Configuration.

Updating

  1. Upload the new ZIP with Upload Extension as described above. Paymenter replaces the extensions/Others/VanityLinksPlus folder.
  2. Disable and re-enable the extension afterwards. Enabling runs any migrations that have not run yet. The extension has no upgrade step of its own, so an upload alone does not run new migrations.

Your links and recorded visits are kept.

Disabling

Switch off Enabled on the extension's settings page and save. The admin entry disappears and all public links stop working: visitors get Paymenter's 404 page. Both tables and their content stay in the database.

Uninstalling

  1. Open the extension's settings page under Extensions.
  2. Click Uninstall Extension and confirm.

Warning

Uninstalling drops both tables, ext_vanity_links_plus_links and ext_vanity_links_plus_clicks. All links and all recorded visits are deleted. Export your links first, or disable the extension instead if you want to keep the data.