Forum Replies Created

Viewing 15 replies - 76 through 90 (of 143 total)
  • Plugin Contributor 10Quality

    (@10quality)

    Could you extend the issue please.

    Make sure you have read the FAQ, since there is a topic there for displaying multiple galleries:
    https://wordpress.org/plugins/simple-post-gallery/#faq

    Plugin Contributor 10Quality

    (@10quality)

    This plugin is fully responsive as well as the pro one.

    The lightbox does work on mobile, as we testes multiple time.

    If you are having issues with it, then it might be possible that the issue relies on a Javascript error, preventing lightbox to popup.

    Review your site by looking the if there are errors reported on the browser console.

    Report us back with any finding. regards

    Plugin Contributor 10Quality

    (@10quality)

    Try disabling the cache:

    Look for file:
    woo-license-key/app/Config/app.php

    And change the enabled setting to false.
    'enabled' => false,

    Plugin Contributor 10Quality

    (@10quality)

    This is a rule set by the hosting there is not much we can do on our end if your hosting is blocking this access.

    You have 2 options:

    1) Disable cache

    Look for file:
    woo-license-key/app/Config/app.php

    And change the enabled setting to false.
    'enabled' => false,

    2) Try to create the needed structure by yourself using and FTP client like FileZila.

    The structure should be:
    [wordpress root]/wpmvc/logs
    [wordpress root]/wpmvc/cache

    Make sure the logs and cache folders have write permissions.

    Regards.

    Plugin Contributor 10Quality

    (@10quality)

    WooCommerce is the one in charge of handling the completed email and its rules.

    As much as we would love to help you, this is an ticket and concern that you should post on the WooCommerce support instead 🙂

    Plugin Contributor 10Quality

    (@10quality)

    The “ctoken” is the “cart token” that can be used to provide renewal and or extension cart url inside your products. We will be adding more documentation for this since this is paid feature. You are welcome to send us an email about this since we can not talk about paid products here (in WordPress.org).

    Currently the activation holds the IP (which is detected in the request), the activation ID (timestamp) and the domain (which is a custom string).

    If you wish to store more information on the activation, you can do this by using hooks. Here is a Github gist you can use as example:
    https://gist.github.com/10quality-info/96f02cb65d2854ce04ed459038822d1b

    We can provide you more hooks for if you wish to make this parameters required during the API call. Also if you wish to append some of this information during the “validate response”. All of these can be customized with available hooks.

    • This reply was modified 7 years, 9 months ago by 10Quality.
    • This reply was modified 7 years, 9 months ago by 10Quality. Reason: Adding additional comments regard the possibility of extending the customization with more existing hooks
    Plugin Contributor 10Quality

    (@10quality)

    The plugin uses WordPress MVC framework which creates the following file structure at the root of your wordpress setup:

    /wpmvc/logs
    /wpmvc/files

    If you wish you can turn of write permissions of the root directory and manually create the /wpmvc folder and give write permissions to that folder instead. That should work to.

    Plugin Contributor 10Quality

    (@10quality)

    Hey, sorry for not responding this previously, we were working the new release and decided to respond you later.

    While the current version of the plugin does not provide this option in form of a wizard or form, you can surely achieve this using hooks.

    First, make sure to add a custom meta field where to store the product prefix, you can use WordPress “Advance Custom Fields” plugin to achieve this without much coding.

    Then implement the following hook.

    
    // Hook called before creating license key
    add_filter( 'woocommerce_license_key_meta_value', function( $license_key, $item, $product ) {
    
        // Get the product prefix, the following example uses ACF code
        $prefix = get_field( 'prefix', $product->get_id() );
    
        // Append prefix to code
        $license_key['code'] = $prefix . $license_key['code'];
    
        // Return data
        return $license_key;
    
    }, 10, 3 );
    
    • This reply was modified 7 years, 9 months ago by 10Quality.
    • This reply was modified 7 years, 9 months ago by 10Quality. Reason: Correction done to code shared
    Plugin Contributor 10Quality

    (@10quality)

    Hi David, thanks for the awesome review.

    Sure, we’ll be glad to help you! In which coding language are you looking to implement the license key validation?

    This can be implemented on any coding language.

    If its PHP, you can use our PHP library (php5 version recommended):
    https://github.com/10quality/license-keys-php-client/tree/php5

    This package provides a complete documentation here: https://github.com/10quality/license-keys-php-client/wiki

    If you are looking to implement this on an existing plugin or theme of yours, then maybe you can do something like this (on functions.php or plugin.php):

    require_once '[path-to-package-folder]/src/LicenseRequest.php';
    require_once '[path-to-package-folder]/src/Client.php';
    require_once '[path-to-package-folder]/src/Api.php';
    
    use LicenseKeys\Utility\Api;
    use LicenseKeys\Utility\Client;
    use LicenseKeys\Utility\LicenseRequest;
    
    define( 'MY_PRODUCT_LICENSE_OPTION', '_my_product_license' );
    
    // Activate product
    function my_product_activate( $license_key ) {
        $response = Api::activate(
            Client::instance(), // Client instance
            function() use( $license_key ) {
                return LicenseRequest::create(
                    'https://your-domain.com/wp-admin/admin-ajax.php', // API's base url
                    'YOUR-STORE', // API's store code
                    'SKU', // Related product SKU
                    $license_key ,
                    LicenseRequest::DAILY_FREQUENCY
                );
            },
            function( $license ) {
               // Here we save the license string into wordpress
               update_option( MY_PRODUCT_LICENSE_OPTION, $license, true );
            }
        );
        return $response->error === false;
    }
    
    // Validate product
    function my_product_is_valid() {
        return = Api::validate(
            Client::instance(), // Client instance
            function() {
                return new LicenseRequest( get_option( MY_PRODUCT_LICENSE_OPTION ) );
            },
            function( $license ) {
               // We update license string
               update_option( MY_PRODUCT_LICENSE_OPTION, $license );
            }
        );
    }
    
    // Deactivate product
    function my_product_deactivate() {
        $response = Api::deactivate(
            Client::instance(), // Client instance
            function() {
                return new LicenseRequest( get_option( MY_PRODUCT_LICENSE_OPTION ) );
            },
            function( $license ) {
               // We clear license string
               if ($license === null)
                   update_option( MY_PRODUCT_LICENSE_OPTION, null );
            }
        );
        return $response->error === false;
    }

    Make sure to any instace of “MY_PRODUCT” with the name of your product (don’t use spaces or any weird character aside from underscore “_” or dashes “-“).

    Once those functions are in place you can use them as follows (anywhere in your project):

    – To activate the product

    
    // To activate the product
    if ( my_product_activate( '[A CLIENT LICENSE KEY]' ) ) {
        // Product has been activated
    } else {
        // Product has not been activated. An error occured
        // You will need more coding knowledge to read the response and display
        // the error properly. But this is much simple
    }
    

    – To hide features in your code

    
    if ( my_product_is_valid() ) {
        // Only activated products can reach this code
    }
    

    – To hide features in a template

    
    <div>
        <?php if ( my_product_is_valid() ) : ?>
            <a>My paid featured link</a>
        <?php endif ?>
    </div>
    

    – To deactivate a product

    
    // To activate the product
    if ( my_product_deactivate() ) {
        // Product has been deactivated
    } else {
        // Product has not been deactivated. An error occured
        // You will need more coding knowledge to read the response and display
        // the error properly. But this is much simple
    }
    

    Hope this helps. If you are not working with PHP, you can use the API using normal HTTP requests. Just let us know what are you using and I can provide you a code snippet, but the logic is the same, you need to understand those 3 states of the license key ACTIVATION, VALIDATION and DEACTIVATION.

    Best regards.

    • This reply was modified 7 years, 9 months ago by 10Quality.
    Forum: Reviews
    In reply to: [Post Gallery] Whew-hoo!!
    Plugin Contributor 10Quality

    (@10quality)

    Glad our plugin fit your expectations and thank you for your review awesome review!

    Plugin Contributor 10Quality

    (@10quality)

    Thank your for your review, you are awesome!

    Hope to continue helping you with any troubles!

    Plugin Contributor 10Quality

    (@10quality)

    You are welcome, to bad we weren’t able to solve the issue on the server, it looked it was related to missing images.

    Any how, here we are for if you need more help, drop us a review when ever you have time 🙂

    Best regards

    Plugin Contributor 10Quality

    (@10quality)

    Ok, so based on this:
    https://stackoverflow.com/questions/42373946/if-image-src-is-unknown-replace-with-missing-png

    It might be related to an image missing on your server. Have you migrated this from another server?

    Try clearing the plugin’s cache by:

    • Using the Cache option on [WP-Dashboard]/Settings/Galleries/Cache
    • Deleting folder [WP root]/wpmvc/cache
    Plugin Contributor 10Quality

    (@10quality)

    Umm, no error related to this plugin…

    What PHP version is your server running?

    Another thing, it could be cache related due to filesystem permissions, so try to disable the plugin’s cache, to do this, head to wp-content/plugins/simple-post-gallery/app/Config/app.phpand then look for:

    
    'cache' => [
        'enabled' => true,
        ...
    ],
    

    replace it with:

    
    
    'cache' => [
        'enabled' => false,
        ...
    ],
    

    This is the file:
    https://plugins.trac.wordpress.org/browser/simple-post-gallery/trunk/app/Config/app.php

    • This reply was modified 7 years, 11 months ago by 10Quality.
    Plugin Contributor 10Quality

    (@10quality)

    Now that is a first, have you made any customizations worth mentioning?

    Otherwise please share with us the following files for review:
    error_log (php’s error log)
    [wp root]/wpmvc/logs/*.log (and any log with any error wirth mentioning.)

    You can share it here or send them to our email, which ever feels you better.

    Thanks for sharing your issue.

    • This reply was modified 7 years, 11 months ago by 10Quality.
Viewing 15 replies - 76 through 90 (of 143 total)