Jump to content

Cum Pot Elimina Mesajul Introducere Licenta In Ipb?


Go to solution Solved by Courage,

Recommended Posts

Posted

Salutare! Cum pot elimina mesajul acela rosu din AdminCP care-mi spune ca nu am introdus licenta aia? :-) consider ca este foarte enervant sa te trezesti cu el acolo cand intri in Admincp ...

  • Moderators
  • Solution
Posted

Hmm, salut.

 

Contectează-te la forum în File Zilla, la fişierele forumului, şi:

 

admin -> skin_cp -> cp_skin_global.php

 

Deschide fişierul, caută (ctrl + f) 

 

 'app=core&module=tools&section=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;             }}

 

 

înlocuieşte cu

 

/*if( !$this->settings['ipb_reg_number'] ){             $this->lang->words['license_missing_info']        = sprintf( $this->lang->words['license_missing_info'], $this->settings['base_url'] .

 

 

Acum salvază fişierul şi înlocuieşte-l cu cel existent.

 

 

 

 

Acum mergi în admin -> applications -> core -> extensions -> dashboardNotifications.php

 

Caută

 

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&amp;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'] .

 

 

 

şi înlocuieşte cu:

 

   /* 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&amp;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'] .

 

 

Tot aşa, salvezi fişierul modificat şi îl înlocuieşti cu cel existent în ftp.

  • Upvote 2

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.