How to remove mod from a database?

current version: 1.0.6
released: 11.07.2011

How to remove mod from a database?

Postby Kontroler » Mon Jan 30, 2012 9:43 am

How remove the SQL changes made by the install/index.php file?
Code: Select all
<?php
/**
*
* @package - NV recent topics
* @version $Id: index.php 201 2009-08-03 08:37:12Z nickvergessen $
* @copyright (c) nickvergessen ( http://www.flying-bits.org/ )
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
define('UMIL_AUTO', true);
define('IN_PHPBB', true);
define('IN_INSTALL', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : '../';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);

$user->session_begin();
$auth->acl($user->data);
$user->setup();

if (!file_exists($phpbb_root_path . 'umil/umil_auto.' . $phpEx))
{
   trigger_error('Please download the latest UMIL (Unified MOD Install Library) from: <a href="http://www.phpbb.com/mods/umil/">phpBB.com/mods/umil</a>', E_USER_ERROR);
}

$mod_name = 'RECENT_TOPICS_MOD';

$version_config_name = 'rt_mod_version';
$language_file = 'mods/info_acp_recenttopics';

$versions = array(
   // Version 1.0.0
   '1.0.0'   => array(
      'config_add' => array(
         array('rt_number', 5),
         array('rt_page_number', 0),
         array('rt_anti_topics', 0),
         array('rt_index', 1),
      ),
      'table_column_add' => array(
         array(FORUMS_TABLE, 'forum_recent_topics', array('TINT:1', 1)),
      ),
      'module_add' => array(
         array('acp', 'ACP_CAT_DOT_MODS', 'RECENT_TOPICS_MOD'),

         array('acp', 'RECENT_TOPICS_MOD', array(
               'module_basename'   => 'recenttopics',
               'module_langname'   => 'RT_CONFIG',
               'module_mode'      => 'overview',
               'module_auth'      => 'acl_a_board',
            ),
         ),
      ),
   ),

   // Version 1.0.1
   '1.0.1'   => array(),

   // Version 1.0.2
   '1.0.2'   => array(),

   // Version 1.0.3
   '1.0.3'   => array(),

   // Version 1.0.4
   '1.0.4'   => array(),

   // Version 1.0.5
   '1.0.5'   => array(),
);

// Include the UMIL Auto file and everything else will be handled automatically.
include($phpbb_root_path . 'umil/umil_auto.' . $phpEx);

?>

Write please 'DROP' Run SQL query/queries on database. ;)
Kontroler
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Jan 30, 2012 8:53 am

Re: How to remove mod from a database?

Postby nickvergessen » Wed Feb 15, 2012 5:44 pm

Just upload the install/ and umil/ go to install/ and select the uninstall option
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: How to remove mod from a database?

Postby Kontroler » Fri Feb 17, 2012 12:20 am

It did not help. all the time the message:
"Please delete, move or rename the install directory before using your board. While this directory exists, only the Administration Control Panel (ACP) will be accessible."
From a database mod is not removed.

Please write the manual removal request.
Kontroler
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Jan 30, 2012 8:53 am

Re: How to remove mod from a database?

Postby nickvergessen » Fri Feb 17, 2012 2:11 am

Did you do the above steps? If so, just delete the install/ afterwards nothing from this mod can cause the error
cheers nickvergessen :geek:

Member of phpBB Development-Team
No Support via PM
User avatar
nickvergessen
Administrator
Administrator
 
Posts: 5753
Topics: 218
Images: 139
Joined: Mon Oct 15, 2007 4:15 pm
phpBB.de: nickvergessen
phpBB.com: nickvergessen

Re: How to remove mod from a database?

Postby Kontroler » Thu Mar 01, 2012 9:44 am

nickvergessen wrote:Just upload the install/ and umil/ go to install/ and select the uninstall option

It helped. However, it came to remove, after some manipulation. Thank you.
Kontroler
Posts < 10
Posts < 10
 
Posts: 3
Topics: 1
Joined: Mon Jan 30, 2012 8:53 am


Return to NV recent topics

Who is online

Users browsing this forum: Bing [Bot] and 0 guests