qrt1977 15 Posted March 15, 2020 Share Posted March 15, 2020 How to remove the "License Key Invalid" messages from the dashboard ? Yes I'm using the nulled version Link to comment Share on other sites More sharing options...
S!r.ReaDy 120 Posted March 15, 2020 Share Posted March 15, 2020 Add in custom.css #acpNewVersion, #elLicenseKey { display: none; } Link to comment Share on other sites More sharing options...
qrt1977 15 Posted March 29, 2020 Author Share Posted March 29, 2020 unfortunately it didn't work Link to comment Share on other sites More sharing options...
Pleasuree 0 Posted March 30, 2020 Share Posted March 30, 2020 Edit your theme and remove the following from globalTemplate {template="updateWarning" app="core" group="global" params=""} {template="lkeyWarning" app="core" group="global" location="global" params=""} Link to comment Share on other sites More sharing options...
RitoshiX 4 Posted March 30, 2020 Share Posted March 30, 2020 (edited) did you try this method? before you proceed make sure you already backup your files Go to admin -> skin_cp -> cp_skin_global.php and find: if( !$this->settings['ipb_reg_number'] ) { $this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools§ion=licensekey' ); $extra_class = 'force_license'; $license_html = <<<HTML <div id='license_notice_force'> <h4>{$this->lang->words['license_missing_header']}</h4> <p>{$this->lang->words['license_missing_info']}</p> </div> HTML; } else { $licenseData = $this->cache->getCache( 'licenseData' ); if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) ) { $extra_class = 'expired_license'; $license_html = <<<HTML <div id='license_notice_expired'> <div class='right'><a id='license-close' href='#'>Close</a></div> <h4>{$this->lang->words['license_expired_header']}</h4> <p>{$this->lang->words['license_expired_info']}</p> </div> HTML; } } and replace it with this: /* if( !$this->settings['ipb_reg_number'] ) { $this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools§ion=licensekey' ); $extra_class = 'force_license'; $license_html = <<<HTML <div id='license_notice_force'> <h4>{$this->lang->words['license_missing_header']}</h4> <p>{$this->lang->words['license_missing_info']}</p> </div> HTML; } else { $licenseData = $this->cache->getCache( 'licenseData' ); if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) ) { $extra_class = 'expired_license'; $license_html = <<<HTML <div id='license_notice_expired'> <div class='right'><a id='license-close' href='#'>Close</a></div> <h4>{$this->lang->words['license_expired_header']}</h4> <p>{$this->lang->words['license_expired_info']}</p> </div> HTML; } } */ Save and go to admin -> applications -> core -> extensions -> dashboardNotifications.php and find: if( ! $this->settings['ipb_reg_number'] ) { $entries[] = array( $this->lang->words['lc_title_nokey'], sprintf( $this->lang->words['lc_msg_nokey'], "{$this->settings['base_url']}module=tools§ion=licensekey" ) ); } else { /* Is the Spam Service Working? if ( $this->settings['spam_service_enabled'] ) { $GOT_SPAM_ERROR = false; /* Are we entitled to it? $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] != 'Ok' ) { $disableLink = $this->settings['base_url'] . "app=core&module=settings§ion=settings&do=findsetting&key=spamservice"; if ( is_numeric( $data['_expires'] ) && time() > $data['_expires'] ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_expired'], $disableLink ) ); } else { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_unavailable'], $disableLink ) ); } $GOT_SPAM_ERROR = true; break; } } } if ( ! $GOT_SPAM_ERROR ) { /* Get last 5 logs, and if all 5 are errors, show message $_errors = 0; $_entries = 0; $_lastError = ''; $this->DB->build( array( 'select' => 'log_code, log_msg', 'from' => 'spam_service_log', 'order' => 'id DESC', 'limit' => 5 ) ); $this->DB->execute(); while( $_r = $this->DB->fetch() ) { $_entries++; if( $_r['log_code'] === '0' ) { $_errors++; if( !$_lastError ) { $_lastError = $_r['log_msg']; } } } if( $_entries > 0 && $_errors == $_entries ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_error_msg'], $_lastError ) ); } } } /* If it's disabled, are we entitiled to it? else { $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] == 'Ok' ) { $entries[] = array( $this->lang->words['spam_service_disabled'], $this->lang->words['spam_service_disabled_msg'] ); break; } } } } } and replace with this: /* if( ! $this->settings['ipb_reg_number'] ) { $entries[] = array( $this->lang->words['lc_title_nokey'], sprintf( $this->lang->words['lc_msg_nokey'], "{$this->settings['base_url']}module=tools§ion=licensekey" ) ); } else { /* Is the Spam Service Working? if ( $this->settings['spam_service_enabled'] ) { $GOT_SPAM_ERROR = false; /* Are we entitled to it? $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] != 'Ok' ) { $disableLink = $this->settings['base_url'] . "app=core&module=settings§ion=settings&do=findsetting&key=spamservice"; if ( is_numeric( $data['_expires'] ) && time() > $data['_expires'] ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_expired'], $disableLink ) ); } else { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_unavailable'], $disableLink ) ); } $GOT_SPAM_ERROR = true; break; } } } if ( ! $GOT_SPAM_ERROR ) { /* Get last 5 logs, and if all 5 are errors, show message $_errors = 0; $_entries = 0; $_lastError = ''; $this->DB->build( array( 'select' => 'log_code, log_msg', 'from' => 'spam_service_log', 'order' => 'id DESC', 'limit' => 5 ) ); $this->DB->execute(); while( $_r = $this->DB->fetch() ) { $_entries++; if( $_r['log_code'] === '0' ) { $_errors++; if( !$_lastError ) { $_lastError = $_r['log_msg']; } } } if( $_entries > 0 && $_errors == $_entries ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_error_msg'], $_lastError ) ); } } } /* If it's disabled, are we entitiled to it? else { $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] == 'Ok' ) { $entries[] = array( $this->lang->words['spam_service_disabled'], $this->lang->words['spam_service_disabled_msg'] ); break; } } } } } */ Save and you're done. Edited March 30, 2020 by RitoshiX Link to comment Share on other sites More sharing options...
mr-pimpen 387 Posted March 30, 2020 Share Posted March 30, 2020 19 minutes ago, RitoshiX said: did you try this method? before you proceed make sure you already backup your files Go to admin -> skin_cp -> cp_skin_global.php and find: if( !$this->settings['ipb_reg_number'] ) { $this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools§ion=licensekey' ); $extra_class = 'force_license'; $license_html = <<<HTML <div id='license_notice_force'> <h4>{$this->lang->words['license_missing_header']}</h4> <p>{$this->lang->words['license_missing_info']}</p> </div> HTML; } else { $licenseData = $this->cache->getCache( 'licenseData' ); if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) ) { $extra_class = 'expired_license'; $license_html = <<<HTML <div id='license_notice_expired'> <div class='right'><a id='license-close' href='#'>Close</a></div> <h4>{$this->lang->words['license_expired_header']}</h4> <p>{$this->lang->words['license_expired_info']}</p> </div> HTML; } } and replace it with this: /* if( !$this->settings['ipb_reg_number'] ) { $this->lang->words['license_missing_info'] = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] . 'app=core&module=tools§ion=licensekey' ); $extra_class = 'force_license'; $license_html = <<<HTML <div id='license_notice_force'> <h4>{$this->lang->words['license_missing_header']}</h4> <p>{$this->lang->words['license_missing_info']}</p> </div> HTML; } else { $licenseData = $this->cache->getCache( 'licenseData' ); if( ( !$licenseData OR !$licenseData['key']['_expires'] OR $licenseData['key']['_expires'] < IPS_UNIX_TIME_NOW and $licenseData['key']['_expires'] != -1 ) AND !IPSCookie::get( 'ignore-license-notice' ) ) { $extra_class = 'expired_license'; $license_html = <<<HTML <div id='license_notice_expired'> <div class='right'><a id='license-close' href='#'>Close</a></div> <h4>{$this->lang->words['license_expired_header']}</h4> <p>{$this->lang->words['license_expired_info']}</p> </div> HTML; } } */ Save and go to admin -> applications -> core -> extensions -> dashboardNotifications.php and find: if( ! $this->settings['ipb_reg_number'] ) { $entries[] = array( $this->lang->words['lc_title_nokey'], sprintf( $this->lang->words['lc_msg_nokey'], "{$this->settings['base_url']}module=tools§ion=licensekey" ) ); } else { /* Is the Spam Service Working? if ( $this->settings['spam_service_enabled'] ) { $GOT_SPAM_ERROR = false; /* Are we entitled to it? $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] != 'Ok' ) { $disableLink = $this->settings['base_url'] . "app=core&module=settings§ion=settings&do=findsetting&key=spamservice"; if ( is_numeric( $data['_expires'] ) && time() > $data['_expires'] ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_expired'], $disableLink ) ); } else { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_unavailable'], $disableLink ) ); } $GOT_SPAM_ERROR = true; break; } } } if ( ! $GOT_SPAM_ERROR ) { /* Get last 5 logs, and if all 5 are errors, show message $_errors = 0; $_entries = 0; $_lastError = ''; $this->DB->build( array( 'select' => 'log_code, log_msg', 'from' => 'spam_service_log', 'order' => 'id DESC', 'limit' => 5 ) ); $this->DB->execute(); while( $_r = $this->DB->fetch() ) { $_entries++; if( $_r['log_code'] === '0' ) { $_errors++; if( !$_lastError ) { $_lastError = $_r['log_msg']; } } } if( $_entries > 0 && $_errors == $_entries ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_error_msg'], $_lastError ) ); } } } /* If it's disabled, are we entitiled to it? else { $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] == 'Ok' ) { $entries[] = array( $this->lang->words['spam_service_disabled'], $this->lang->words['spam_service_disabled_msg'] ); break; } } } } } and replace with this: /* if( ! $this->settings['ipb_reg_number'] ) { $entries[] = array( $this->lang->words['lc_title_nokey'], sprintf( $this->lang->words['lc_msg_nokey'], "{$this->settings['base_url']}module=tools§ion=licensekey" ) ); } else { /* Is the Spam Service Working? if ( $this->settings['spam_service_enabled'] ) { $GOT_SPAM_ERROR = false; /* Are we entitled to it? $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] != 'Ok' ) { $disableLink = $this->settings['base_url'] . "app=core&module=settings§ion=settings&do=findsetting&key=spamservice"; if ( is_numeric( $data['_expires'] ) && time() > $data['_expires'] ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_expired'], $disableLink ) ); } else { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_unavailable'], $disableLink ) ); } $GOT_SPAM_ERROR = true; break; } } } if ( ! $GOT_SPAM_ERROR ) { /* Get last 5 logs, and if all 5 are errors, show message $_errors = 0; $_entries = 0; $_lastError = ''; $this->DB->build( array( 'select' => 'log_code, log_msg', 'from' => 'spam_service_log', 'order' => 'id DESC', 'limit' => 5 ) ); $this->DB->execute(); while( $_r = $this->DB->fetch() ) { $_entries++; if( $_r['log_code'] === '0' ) { $_errors++; if( !$_lastError ) { $_lastError = $_r['log_msg']; } } } if( $_entries > 0 && $_errors == $_entries ) { $entries[] = array( $this->lang->words['spam_service_error'], sprintf( $this->lang->words['spam_service_error_msg'], $_lastError ) ); } } } /* If it's disabled, are we entitiled to it? else { $licenseData = $this->cache->getCache( 'licenseData' ); if ( is_array( $licenseData['ipbMain'] ) && count( $licenseData['ipbMain'] ) ) { foreach ( $licenseData['ipbMain'] as $data ) { if ( $data['name'] == 'Spam Monitoring Service' && $data['status'] == 'Ok' ) { $entries[] = array( $this->lang->words['spam_service_disabled'], $this->lang->words['spam_service_disabled_msg'] ); break; } } } } } */ Save and you're done. thats a little to much info and if it would be 100% so i would let him do it at his own risk #acpNewVersion { display: none; } when I load your site, I was like a vampire, slept for thousands of years and just now is my first glimpse of light haha. Link to comment Share on other sites More sharing options...
Recommended Posts