Popular Post Justin™ Posted February 18, 2013 Popular Post Share Posted February 18, 2013 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&section=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&section=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&section=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&section=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. In general, this works for 3.2.x, 3.3.x and 3.4.x. 21 1 Link to comment Share on other sites More sharing options...
Guest Violet Posted February 18, 2013 Share Posted February 18, 2013 Awesome, I was wondering how to remove that annoying crap, lol. Thanks Link to comment Share on other sites More sharing options...
Desire Posted February 19, 2013 Share Posted February 19, 2013 Or, you could just find "Licenced to" in System settings and put your name on the box. Link to comment Share on other sites More sharing options...
Guest iNach0z Posted February 19, 2013 Share Posted February 19, 2013 Im new to IPB, can you please explain more descriptive on how to get to this skin cp? Link to comment Share on other sites More sharing options...
Guest God Posted February 20, 2013 Share Posted February 20, 2013 As am I, where is the skin_cp? Link to comment Share on other sites More sharing options...
Guest iNach0z Posted February 20, 2013 Share Posted February 20, 2013 As am I, where is the skin_cp? Use file zilla lol Link to comment Share on other sites More sharing options...
Guest God Posted February 20, 2013 Share Posted February 20, 2013 Use file zilla lolAh, I thought he meant admin cp, where is the skin_cp.css at? Link to comment Share on other sites More sharing options...
Guest God Posted February 20, 2013 Share Posted February 20, 2013 Nevermind, found it! Link to comment Share on other sites More sharing options...
Guest iNach0z Posted February 20, 2013 Share Posted February 20, 2013 Ah, I thought he meant admin cp, where is the skin_cp.css at?Yeah, I thought the same thing. If you need any help pm me. Link to comment Share on other sites More sharing options...
Guest allanshearer Posted February 23, 2013 Share Posted February 23, 2013 nice tutorial! thanks you. Link to comment Share on other sites More sharing options...
Guest Ivana Posted February 23, 2013 Share Posted February 23, 2013 I cant seem to get this working on my website, it just stays with a red bar at the top Link to comment Share on other sites More sharing options...
Administrator Tony Posted February 23, 2013 Administrator Share Posted February 23, 2013 Justin™, might want to edit the OP just to clarify that users should be doing these edits via an FTP, not the Admin CP. I read this last night at 4am and even confused myself. Thanks for the tutorial! 1 Link to comment Share on other sites More sharing options...
Guest Jerison Posted February 23, 2013 Share Posted February 23, 2013 On 2/23/2013 at 12:27 PM, Davlin said: Justin™, might want to edit the OP just to clarify that users should be doing these edits via an FTP, not the Admin CP. I read this last night at 4am and even confused myself. Thanks for the tutorial! It's quite obvious, if you know what you're doing. Link to comment Share on other sites More sharing options...
Administrator Tony Posted February 23, 2013 Administrator Share Posted February 23, 2013 Not sure I follow...? I'm referencing the location of the file, not whether the tutorial itself is difficult or not. You're simply commenting out two different sections, of course it's easy. When I glanced at the opening line, my initial reaction was to check the ACP. 1 Link to comment Share on other sites More sharing options...
Guest Rogers Posted February 24, 2013 Share Posted February 24, 2013 Thank you! Applied Link to comment Share on other sites More sharing options...
Recommended Posts