Skip to content

Releases: JRG-code/custom-affiliate-system

Version 2.2.2

Choose a tag to compare

@JRG-code JRG-code released this 11 Dec 12:47
35c2b5e

Improved auto-tracking system

Version 2.2.1

Choose a tag to compare

@JRG-code JRG-code released this 02 Dec 13:56
fd64b70

Fixed order tracking

Version 2.2.0

Choose a tag to compare

@JRG-code JRG-code released this 01 Dec 23:55
cf659a0
  • Add function_exists() checks before calling cas_adjust_brightness()
  • Add function_exists() checks before calling cas_get_general_setting()
  • Provide safe fallback colors if functions not available
  • Prevents fatal errors if helpers.php not loaded properly

Version 2.1.8

Choose a tag to compare

@JRG-code JRG-code released this 01 Dec 23:41
94e9217

Fix: Add dashboard color customization (safe version)

Version 2.1.7

Choose a tag to compare

@JRG-code JRG-code released this 01 Dec 23:17
a8d178b

Add comprehensive diagnostics system for affiliate tracking
Make tracking logs conditional on debug mode

Version 2.1.6

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 21:23
5567679
v2.1.6

Update custom-affiliate-system.php

Version 2.1.5

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 18:47
9c2c6e3

Added automatic repair of incomplete settings during plugin updates to prevent "Missing Tier" warnings while preserving user customizations.

Problem:

  • Plugin updates were not checking if settings were complete
  • Users who had customized settings would see "Missing Tier I/II/Ambassador" warnings
  • Settings were sometimes lost or corrupted during updates

Solution:

  • Created cas_repair_incomplete_settings() function that:
    • Performs deep merge of current settings with defaults
    • Preserves all existing custom values
    • Fills in only missing fields
  • Updated activate() to call repair function on every update
  • Existing customizations are now preserved while gaps are filled

This ensures settings are always complete without losing user preferences.

Version 2.1.4

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 17:57
9982f43
v2.1.4

Update version number to 2.1.4

Version 2.1.3

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 17:28
c1f725d
  • Add error_log() calls throughout sync process (always active, not just in debug mode)
  • Log every affiliate being checked and what action is taken
  • Log coupon creation attempts and results in detail
  • Add summary logging at end of sync with counts and details
  • This helps diagnose why sync isn't creating coupons when it should

The logs will appear in PHP error log (e.g., /var/log/apache2/error.log) Look for lines starting with "=== AFFILIATE SYNC" and "create_coupon:"

Version 2.1.2

Choose a tag to compare

@JRG-code JRG-code released this 13 Nov 17:17
3d1b512

Fix sync functionality with cache clearing and trash handling