10-09-2017, 08:09 AM
Pages: 1 2
10-09-2017, 11:46 PM
Thank for the latest version.
10-10-2017, 07:20 AM
Great share, but what's the catch?!
10-10-2017, 11:29 AM
10-10-2017, 01:08 PM
good jobs @stephfd21. Thanks for share.
10-10-2017, 01:27 PM
it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d
for what?
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d
for what?
10-10-2017, 04:05 PM
(10-10-2017 01:27 PM)greghani Wrote: [ -> ]it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d
for what?
With clean version, you can use that info to activate and install plugin and demo.
But, i think this will got block soon!
PS: Thanks OP for great share!
10-10-2017, 04:10 PM
amazing.... thanks advance dude... ++Reps Added
10-10-2017, 04:57 PM
(10-10-2017 07:20 AM)ilikeseggs Wrote: [ -> ]Great share, but what's the catch?!
the catch is that I don't know how long the code will last until it gets blocked from too many users. When that happens, I'll post a new code
(10-10-2017 01:27 PM)greghani Wrote: [ -> ]it is nulled version from jojotheme
why you write ???
Username: crazydiamondtech
Code: 64223067-55ca-4dc8-8cad-1339dc70440d
for what?
You can't install the demo content without a username and purchase code
10-10-2017, 08:10 PM
NULL IT BY YOURSELF
After altering the code activate theme with any key (for example 'abc123'). Installation of plug-ins will become available after activation.
FILE rehub/admin/rehub.php
THIS CODE
function rehub_update_registration() {
global $wp_version;
$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';
if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {
$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;
$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);
$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );
if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}
if ( ! empty( $response ) ) {
if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}
}
} else {
echo 'Error';
}
} else {
echo 'Empty';
}
die();
}
REPLACE WITH THIS
function rehub_update_registration() {
global $wp_version;
$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';
if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {
$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;
$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);
$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );
if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}
$tf_username = 'ganjaparker';
$response['buyer'] = 'ganjaparker';
$response['supported_until'] = '01.01.2020';
unset( $response['error'] );
if ( ! empty( $response ) ) {
if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}
}
} else {
echo 'Error';
}
} else {
echo 'Empty';
}
die();
}
After altering the code activate theme with any key (for example 'abc123'). Installation of plug-ins will become available after activation.
FILE rehub/admin/rehub.php
THIS CODE
function rehub_update_registration() {
global $wp_version;
$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';
if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {
$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;
$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);
$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );
if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}
if ( ! empty( $response ) ) {
if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}
}
} else {
echo 'Error';
}
} else {
echo 'Empty';
}
die();
}
REPLACE WITH THIS
function rehub_update_registration() {
global $wp_version;
$rehub_options = get_option( 'Rehub_Key' );
$data = $_POST;
$tf_username = isset( $data['tf_username'] ) ? $data['tf_username'] : '';
$tf_purchase_code = isset( $data['tf_purchase_code'] ) ? $data['tf_purchase_code'] : '';
if ( '' !== $tf_username and& '' !== $tf_purchase_code ) {
$rehub_options['tf_username'] = $tf_username;
$tf_purchase_code = strtolower(preg_replace('#([a-z0-9]{8})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{4})-?([a-z0-9]{12})#','$1-$2-$3-$4-$5',$tf_purchase_code));
$rehub_options['tf_purchase_code'] = $tf_purchase_code;
$prepare_request = array(
'user-agent' => 'WordPress/'. $wp_version .'; '. home_url(),
'sslverify' => false,
'timeout' => 10,
'headers' => array(
'Authorization' => 'Bearer saqMlpb8QSyFGYNjNxgmWzdwqkTUMbFl',
)
);
$raw_response = wp_remote_get( 'https://api.envato.com/v3/market/author/sale?code=' . $tf_purchase_code, $prepare_request );
if ( ! is_wp_error( $raw_response ) ) {
$response = wp_remote_retrieve_body( $raw_response );
$response = json_decode( $response, true );
}
$tf_username = 'ganjaparker';
$response['buyer'] = 'ganjaparker';
$response['supported_until'] = '01.01.2020';
unset( $response['error'] );
if ( ! empty( $response ) ) {
if ( ( isset( $response['error'] ) ) || ( isset( $response['buyer'] ) and& empty( $response['buyer'] ) ) ) {
echo 'Error';
} elseif ( isset( $response['buyer'] ) and& ! empty( $response['buyer'] ) ) {
if ($response['buyer'] == $tf_username) {
if (!empty ($response['supported_until'])) {
$rehub_options['tf_support_date'] = $response['supported_until'];
}
$result = update_option( 'Rehub_Key', $rehub_options );
echo 'Updated';
}
else {
echo 'Errorbuyer';
}
}
} else {
echo 'Error';
}
} else {
echo 'Empty';
}
die();
}
Pages: 1 2