Plugin Directory

Changeset 3018869


Ignore:
Timestamp:
01/08/2024 04:22:26 PM (2 years ago)
Author:
arstudios
Message:

Release 1.7.5.

Location:
constellation-client-portal
Files:
131 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • constellation-client-portal/trunk/README.txt

    r3004306 r3018869  
    22Author: ARS
    33Contributors: arstudios
    4 Tags: client portal, customer portal, business portal, client management, private files, private pages, private posts, invoice clients, invoicing, business managemenet
     4Tags: client portal, private files, private pages, private posts, customer portal, business portal, invoicing, business managemenet, client management
    55Requires at least: 5.0.0
    66Tested up to: 6.4
    7 Stable tag: 1.7.4
     7Stable tag: 1.7.5
    88Requires PHP: 7.4
    99License: GPLv3 or later
     
    8282= Unpaid Invoice List =
    8383
    84 **[accp_clientinvoices invoice_status="unpaid"]**
     84`[accp_clientinvoices invoice_status="unpaid"]`
    8585
    8686= Paid Invoice List =
    8787
    88 **[accp_clientinvoices invoice_status="paid"]**
     88`[accp_clientinvoices invoice_status="paid"]`
    8989
    9090= Invoice Shortcode Parameters =
     
    107107= Document/File List =
    108108
    109 **[accp_clientfiles]**
     109`[accp_clientfiles]`
    110110
    111111= File Shortcode Parameters =
     
    200200
    201201== Changelog ==
     202= 1.7.5 (Pro) - 2024-1-8 =
     203* Feature: Added functionality that allows a pay-all total to be displayed in invoice lists on the front-end.
     204* Feature: Added functionality that allows itemized product lines to be displayed in invoice items on the front-end.
     205* Feature: Added functionality that allows invoice item totals to be displayed on the front-end.
     206* Update: Updated the CSV export functionality to include new assigned_product_qty and product_title_override columns and values.
     207* Update: Updated the CSV import functionality to include functionality for importing data to the new product quantity and title override invoice fields.
     208* Feature: Added new functionality that allows a product quantity to be specified in invoices.
     209* Feature: Added functionality to allow file and invoice post statuses to be displayed in front-end lists.
     210
     211= 1.7.5 (Core) - 2024-1-8 =
     212* Update: Wrapped shortcode examples in the readme file with backticks to prevent smart quotes from causing errors when cutting/pasting into WP.
    202213
    203214= 1.7.4 (Pro) - 2023-12-1 =
     
    240251* Feature: Created functionality that allows front-end lists to be displayed in a grid layout.
    241252* Feature: Created functionality that allows for styling of front-end file and invoice lists.
    242 * Update: Create new theme settings page that allows for list shortcode theme settings to be saved and retrieved.
     253* Update: Created new theme settings page that allows for list shortcode theme settings to be saved and retrieved.
    243254* Update: Added functionality to dynamically add the pro list shortcode CSS to the page to allow for list UI styles to be updated in the shortcode settings.
    244255
  • constellation-client-portal/trunk/ars-constellation-client-portal.php

    r3004306 r3018869  
    55 * Plugin URI:        https://adrianrodriguezstudios.com/constellation-client-portal/
    66 * Description:       Create private pages for each of your clients, post private files, and protect your client files from unauthorized users and search engines.  <strong>Important:</strong> All Site-level File Protection features will cease to function if the plugin is disabled or uninstalled.
    7  * Version:           1.7.4
     7 * Version:           1.7.5
    88 * Author:            ARS
    99 * Author URI:        https://adrianrodriguezstudios.com
     
    5555     */
    5656    define('ACCP_PLUGIN_NAME', 'ARS_CONSTELLATION_CLIENT_PORTAL');
    57     define('ACCP_PLUGIN_VERSION', '1.7.4'); // Change the version in the header as well.
     57    define('ACCP_PLUGIN_VERSION', '1.7.5'); // Change the version in the header as well.
    5858    define( ACCP_PLUGIN_NAME, ACCP_PLUGIN_VERSION );
    5959    define('ACCP_PLUGIN_FILE_NAME', __FILE__);
  • constellation-client-portal/trunk/public/css/ars-constellation-client-portal-list-shortcode-styles.css

    r2987566 r3018869  
    3333.accp-due-date{
    3434    font-size: 12px;
     35}
     36.accp-post-status{
     37    font-size: 12px;   
     38}
     39.accp-list-item-meta .accp-post-meta-item:not(:last-child):after{
     40    content:'|';
     41    margin-left: 5px;
     42    margin-right: 5px;
     43}
     44.accp-list-item-meta .accp-due-date.accp-post-meta-item::after{
     45    content: none;
    3546}
    3647.accp_documents_filelist .accp-file-list-item-title a{
  • constellation-client-portal/trunk/public/shortcodes/class-ars-constellation-client-portal-list-shortcodes.php

    r3004306 r3018869  
    275275         */
    276276        $due_date = $this->get_due_date_var($atts);
     277
     278        /**
     279         * Get the display post status var.
     280         */
     281        $post_status = $this->get_post_status_var($atts);       
    277282
    278283        /**
     
    344349            'link_title' => $link_title,
    345350            'due_date' => $due_date,
     351            'post_status' => $post_status,
    346352            'past_due_notice' => $past_due_notice,
    347353            'allowed_html' => $allowed_html,
     
    11311137
    11321138        return $due_date;
     1139
     1140    }
     1141
     1142
     1143    /**
     1144     * Set up $post_status shortcode var.
     1145     *
     1146     * @param array $atts - array of atts passed in via the shortcode.
     1147     * @return string|bool $post_status - The post_status value or false.
     1148     */
     1149    function get_post_status_var($atts){
     1150
     1151        $is_pro = $this->utilities->is_pro_plugin($this->plugin_name);
     1152
     1153        if( !$is_pro || false === $is_pro )
     1154            return false;
     1155
     1156        $default_post_status_val = false;
     1157        $post_status = $default_post_status_val;
     1158
     1159        if( true === $is_pro ){           
     1160
     1161            $post_status = filter_var( apply_filters('accp_update_post_status_shortcode_var', $default_post_status_val, $atts), FILTER_SANITIZE_STRING);           
     1162
     1163        }
     1164
     1165        return $post_status;
    11331166
    11341167    }
     
    14141447     *  'link_title' => $link_title,
    14151448     *  'due_date' => $due_date,
     1449     *  'post_status' => $post_status,
    14161450     *  'past_due_notice' => $past_due_notice,
    14171451     *  'allowed_html' => $allowed_html,
Note: See TracChangeset for help on using the changeset viewer.