buka dan edit:
/admin/applications/core/extensions/dashboardNotifications.php
cari:
if( ! $this->settings['ipb_reg_number'] )
Lalu hapus:
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 { /* Get the file managemnet class */ $classToLoad = IPSLib::loadLibrary( IPS_KERNEL_PATH . 'classFileManagement.php', 'classFileManagement' ); $query = new $classToLoad(); $query->use_sockets = 1; /* Query the api */ $response = $query->getFileContents( "http://licsrv.invisionpower.com/license_check/index.php?api=checkService&service=ipb&key={$this->settings['ipb_reg_number']}&url={$this->settings['board_url']}" ); /* Get License Data */ $response = json_decode( $response, true ); if( $response['result'] != 'ok' ) { if( $this->lang->words[ 'lc_title_' . $response['error'] ] && $this->lang->words[ 'lc_msg_' . $response['error'] ] ) { $entries[] = array( $this->lang->words[ 'lc_title_' . $response['error'] ], sprintf( $this->lang->words[ 'lc_msg_' . $response['error'] ], $this->settings['board_url'] ) ); } else { $entries[] = array( $this->lang->words['ipboardlicenseerror'], $response['error'] ? $response['error'] : sprintf( $this->lang->words['licensenocomm'], $this->settings['base_url'] . "app=core&module=diagnostics§ion=diagnostics&do=connections" ) ); } } }
Lalu Save
Baca Juga Artikel Menarik Lainnya :



0 komentar:
Post a Comment