Affilizz

Description

Affilizz is an official plugin for the affilizz.com affiliation platform that enables its users to connect to the API and insert seamlessly affiliate links, price tables and calls to action both on the classic and Gutenberg editors.

The plugin was released outside of the plugin directory at its launch and was added to the directory at the 1.13.0 version.

Features

  • Affiliate link configuration pop-in
  • Step-by-step configuration wizard
  • Configuration pane and debug information page
  • Inline rendering of an affiliate link or price table in the classic editor
  • Gutenberg editor block to insert affiliate links and price tables

In addition, the plugin aims to allow users to customize the way they interact with the platform and insert links in the table.

It adds a database table holding the rendered versions of the embeds, to bypass connectivity issues.

How to contribute

As of now, this plugin is not open to external pull requests. To allow users to better understand how our code is built and proposed here, the plugin’s “assets” folders contains a “src” folder containing unobfuscated, readable JS and SCSS code. Our team uses Mix to bundle javascript files and uses these external libraries / modules :

If you want to apply changes to the current codebase, please configure your preprocessor or bundler to compile :

  • assets/src/scss/admin.scss to assets/dist/css/admin.css
  • assets/src/scss/public.scss to assets/dist/css/public.css
  • assets/src/js/admin.js to assets/dist/js/admin.js
  • assets/src/js/wizard.js to assets/dist/js/admin.js
  • assets/src/js/editor.js to assets/dist/js/admin.js

Screenshots

  • Configure your affiliation content when adding it to your posts.
  • Setup your connection to Affilizz with our easy step-by-step wizard.
  • Configure options to tailor your experience to your needs.
  • Affiliation content can be added as a dynamic block to the classic editor to see results live.
  • Completely integrated for Classic or Block (Gutenberg) editor1. Insert affiliate content popin in the classic- and Gutenberg editors.

Blocks

This plugin provides 1 block.

  • Affilizz

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Affilizz” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Affilizz” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.13.2

  • Fixes an invisible “edit” link floating on top of the page / post content when the modal has been opened once.

1.13.1

  • Fixes the format in readme.txt.
  • Adds screenshots and assets to the plugin page.
  • Fixes an overlooked content verification in the ‘the_content’ that generated a warning on 404 pages.
  • Improves code documentation for the wrap_affilizz_webcomponents function.
  • Fixes issues related to the launch on WordPress plugins :
    • Additional table being created ;
    • Errors in saving large data in the database ;
    • Errors in nonces while saving settings pages ;
    • Errors in nonces in the Wizard upon installation ;
    • Errors in update queries due to double escaping of data.
  • Fixes bugs reported by early adopters :
    • Escaping of the publication contents options.
    • Recent publications where no longer displayed at the top of the list.
    • Allow strong and small tags in the wordpress kses allowed tags.
    • Fixes loading of the scripts on the front-end.

1.13.0

  • Adds filters for multiple plugin variables :
    • affilizz_ssr_endpoint_root_url
    • affilizz_rendering_mode
    • affilizz_publication_default_width
    • affilizz_cdn_rendering_script_location
    • affilizz_cdn_cache_time
    • affilizz_cdn_cache_root_path
    • affilizz_cdn_cache_root_url
    • affilizz_publications_database_table
    • affilizz_selective_enqueuing_regex
    • affilizz_publication_content_render
    • affilizz_has_affilizz_content
  • Solves an issue with the publication content search.
  • Re-adds support for PHP7.3.
  • Adds drag and drop features for publication contents.
  • Switches to SEMVER for plugin versioning.
  • Escaping of echoed value and sanitization of stored values has been rethought.
  • The plugin now contains source files to allow for review and extension / fork by users.
  • Asset files have been moved to a “dist” subfolder.
  • Removes obsolete composer dependencies in the plugin.
  • Removes PHPCS annotations.
  • Fixes some PHP comments, for developers.
  • Adds the wp_head hook.
  • Adds nonces to the wizard and settings pages.
  • Explicitely lists the allowed tags in the wp_kses calls.

1.12.0

  • Moves from the Guzzle Client to the native WordPress HTTP API.
  • Resolves a visual issue in the admin tabs.
  • Fixes a wrong version definition in init.php.
  • Resolves a z-index problem when two blocks are consecutive (notified by a user).
  • Updates translation files.
  • Updates the local caching mechanism to use real files and avoid rewriting after report of bugs from a user.
  • Adds option to delete the affilizz table.
  • Moves the creation of the table to the insertion of blocks, thus being less invasive for testers.
  • Allows to load the rendering script selectively.
  • Allows to not load the rendering script at all.
  • Allows to paste affilizz-rendering tags in the classic TinyMCE Editor.

1.11.0

  • Corrects situations made buggy with the wordpress-standardization of the code.
  • Adds a local caching mechanism for webcomponent scripts.
  • Adds support for card format (from Affilizz).
  • Updates translation files.
  • Adds a verification of the need to regenerate tinyMCE previews of the affilizz blocks.

1.10.0

  • Aligns the plugin with the WordPress standards.

1.9.0

  • Fixes an error when inserting publications without publication contents.

1.8.0

  • Fixes an error when using ampersands in the publication name / publication content name ;
  • Changes the location of the front-end rendering scripts.

1.7.0

  • Fixes an issue when inserting multiple consecutive blocks (beta).

1.6.0

  • Allows to include multiple consecutive blocks in both editors ;
  • Introduces the error, warning, info and success messages in the native popin ;
  • Adds the “no caret defined” error in the classic editor ;
  • Resolves the wizard display when the plugin has already been configured.

1.5.0

  • Added an error summary template file and loading of the matching template when errors pop.
  • Added the webcomponent or server-side rendering switch option.

1.4.0

  • Correction of a JSON encoding error ;
  • Added the help URL and call in the wizard.

1.3.0

  • Translations corrections and updates ;
  • The pop-in is now agnostic to the editor type and triggered through a standalone script instead of the React popin component ;
  • Updates on the database schema and JSON escaping method to insert in the database ;
  • Deletin of the default width in the server-side-rendered block calls.

1.2.0

  • Fixes the application icon and an error in the escaping of the rendered data in the database.

1.1.0

  • Hotfix to correct a database table creation issue.

1.0.0

  • Initial release.