Best Blackhat Forum

Full Version: [GET] AffiliateWP Always Updated
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
There are other plugins available as well

Code:
https://github.com/pippinsplugins/Restrict-Content-Pro
@coachnoe

I don't know what the problem is there. I just did a fresh download > install > activation and everything is working perfectly. There is no prompt for a license code. It works perfectly.

@brandimage Yes, the developer really believes in open source. He hosts all his stuff openly on github.
Hi all,
Does this plugin also support multi-affiliates?
What I mean is create multiple affiliate products with the same landing page.
@getdomaincodes
I think it will work that way but you need to read documentations

@lowno
Thank you, usefull information
Do we have some of the pro-plugins i need PayPal Payouts?
For those of you who get irritated by the "enter your license key to receive updates" message here's how to get rid of it.

Open class-notices.php (\Plugins\AffiliateWP\includes\admin) and comment out/delete the following sections that starts on line 180 and ends on line 184.
Code:
if ( 'expired' === affiliate_wp()->settings->check_license() ) {
            echo '<div class="error info"><p>' . __( 'Your license key for AffiliateWP has expired. Please renew your license to re-enable automatic updates.', 'affiliate-wp' ) . '</p></div>';
        } elseif ( 'valid' !== affiliate_wp()->settings->check_license() ) {
            echo '<div class="notice notice-info"><p>' . sprintf( __( 'Please <a href="%s">enter and activate</a> your license key for AffiliateWP to enable automatic updates.', 'affiliate-wp' ), admin_url( 'admin.php?page=affiliate-wp-settings' ) ) . '</p></div>';
        }
Doing this gets rid of the notification.

Open class-settings.php (\Plugins\AffiliateWP\includes\admin\settings) and comment out/delete the following section that starts on line 299 and ends on line 309.
Code:
'license' => array(
                        'name' => '<strong>' . __( 'License Settings', 'affiliate-wp' ) . '</strong>',
                        'desc' => '',
                        'type' => 'header'
                    ),
                    'license_key' => array(
                        'name' => __( 'License Key', 'affiliate-wp' ),
                        'desc' => sprintf( __( 'Please enter your license key. An active license key is needed for automatic plugin updates and <a href="%s" target="_blank">support</a>.', 'affiliate-wp' ), 'http://affiliatewp.com/support/' ),
                        'type' => 'license',
                        'sanitize_callback' => 'sanitize_text_field'
                    ),
This removes the License settings from the AffiliateWP admin area.


Please note that the line numbers may change in the future updates so always make sure you're commenting out/deleting the correct code and not blindly following the line numbers mentioned above.
Thank you for this! But do you have the latest 1.7.0.14?

+5 Rep!
Awesome man ! 5 rep from me
thank you man !
nice share, thanks.
Pages: 1 2 3 4
Reference URL's