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
Thanks
Thanks well done
thanks for sharing
thanks, reppedd as usual, like for everybody here.
Very clever, the best most useful share i got from now: always up to date and lasting.
very useful.
Thank you for sharing this info, Max Reps added.
Thanks +Reps Added
TO all on the updated version:
I found out that the activation
went away doing the following:

Open class-settings.php (\Plugins\AffiliateWP\includes\admin\settings) and comment out/delete the following section that starts on line 381 and ends on line 391.
code:
PHP 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' ), 'https://affiliatewp.com/support/' ),
                        
'type' => 'license',
                        
'sanitize_callback' => 'sanitize_text_field'
                    
), 
This removes the License settings from the AffiliateWP admin area.

NOTE: I did NOT have to delete from the class-notices.php (\Plugins\AffiliateWP\includes\admin) file...whaen I did site error??? Anyways try this if NOT go back to post Post: #16

now I need to get the restrict-content-pro-master
notice out...let you know when I get it done...

peace
OK OK that's do this thing:

IM NO CODER SO bare with me.

Anyways, that said for those of you who get irritated by the "enter your license key to receive updates" for the restrict-content-pro-master plugin notice message here's how I got rid of it:

Open class-settings.php (\Plugins\restrict-content-pro-master\includes\admin\settings) to the admin-notices.php file and comment out/delete the following section that starts on line 23 and ends on line 27.
code:
PHP Code:
if ( 'expired' === rcp_check_license() ) {
        echo 
'<div class="error info"><p>' __'Your license key for Restrict Content Pro has expired. Please renew your license to re-enable automatic updates.''rcp' ) . '</p></div>';
    } elseif ( 
'valid' !== rcp_check_license() ) {
        echo 
'<div class="notice notice-info"><p>' sprintf__'Please <a href="%s">enter and activate</a> your license key for Restrict Content Pro to enable automatic updates.''rcp' ), admin_url'admin.php?page=rcp-settings' ) ) . '</p></div>';
    } 
And BOOM BABY this removed the License settings from the restrict-content-pro-master admin area.

peace.
(06-29-2016 09:18 PM)Sovereignty Wrote: [ -> ]OK OK that's do this thing:

IM NO CODER SO bare with me.

Anyways, that said for those of you who get irritated by the "enter your license key to receive updates" for the restrict-content-pro-master plugin notice message here's how I got rid of it:

Open class-settings.php (\Plugins\restrict-content-pro-master\includes\admin\settings) to the admin-notices.php file and comment out/delete the following section that starts on line 23 and ends on line 27.
code:
PHP Code:
if ( 'expired' === rcp_check_license() ) {
        echo 
'<div class="error info"><p>' __'Your license key for Restrict Content Pro has expired. Please renew your license to re-enable automatic updates.''rcp' ) . '</p></div>';
    } elseif ( 
'valid' !== rcp_check_license() ) {
        echo 
'<div class="notice notice-info"><p>' sprintf__'Please <a href="%s">enter and activate</a> your license key for Restrict Content Pro to enable automatic updates.''rcp' ), admin_url'admin.php?page=rcp-settings' ) ) . '</p></div>';
    } 
And BOOM BABY this removed the License settings from the restrict-content-pro-master admin area.

peace.

Many thanks and rep+
Hope it works well!
(01-10-2015 01:52 PM)lowno Wrote: [ -> ]This plugin is hosted github and is 100% FREE. Most people don't know that. When you buy it from the developer, you are buying support.

So here is how to get it for free, straight from the developer:

1. Download it from Github. Go to the link below and you will see a download button on the middle right of the page. It will say Download ZIP

Code:
https://github.com/affiliatewp/AffiliateWP


2. Install the downloaded file as normal in wordpress.

There you have it, always updates, malware free. Straight from the developer.

Enjoy

Thank you for sharing. Appreciated. Repped.
Pages: 1 2 3 4
Reference URL's