You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 165 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Uninstalling Admin Secure? [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
silvrrwulf
Sergeant
Sergeant


Joined: Mar 03, 2003
Posts: 96


PostPosted: Mon Jul 05, 2004 12:49 pm Reply with quoteBack to top

Hi! I was wondering if there was any way to remove Admin secure. I'm running nuke 7.3 and admin secure 1.7. I ask because I'm considering migrating to CPG-Nuke, and the migration script seems to be running into trouble (with an admin table, radminblocker , I believe). I've loved admin secure and have been very happy with it, but have wanted to try out CPG Nuke after hearing so many positive things. Any suggestions on restoring my tables to their orginal condition? I have the "unencypted" numbers from the install saved. Thanks so much for any help!

~Silverwulf

_________________
All things are possible... Except skiiing through a revolving door.
Find all posts by silvrrwulfView user's profileSend private messageSend e-mailVisit poster's website
madman
Support Mod
Support Mod


Joined: Feb 15, 2004
Posts: 806


PostPosted: Mon Jul 05, 2004 3:58 pm Reply with quoteBack to top

Only these nuke files altered for Admin Secure:

admin.php
auth.php
mainfile.php

By restoring these original files (or overwites with similar files from CPGNuke, if any), you are already doing partial uninstall (Admin Secure no longer working, but db tables and files still there).

Next step is removing the db tables used by Admin Secure. If you doubt on this or has no idea to drop the tables using phpMyAdmin, you can upload this script onto your PHP-Nuke root dir, and execute it from browser (be sure /includes/asconfig.php not removed yet):

Code:
<?php
require_once('mainfile.php');
include('includes/asconfig.php');
$error = 0;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbtable)) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig)) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_session_logger")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_ban_system")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_ban_module")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_whois_cache")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_exclude_system")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_benchmark")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_blockinfo")) ? 0 : 1;
$error += ($db->sql_query("DROP TABLE IF EXISTS ".$asec_dbconfig."_user_tracking")) ? 0 : 1;

if ($error) {
  echo "Error while ceaning up db tables";
} else {
  echo "Say bye bye to Admin Secure";
}
?>


Third step, is removing all Admin Secure related files:

/asec.php (or renamed name)
/includes/asconfig.php
/includes/asfunc.php
/includes/aslang.php
/includes/asredir.php (if any)
/includes/asec_lang/*.*
/images/asec_images/*.*

Now, Admin Secure completely removed from your system.

_________________
I'm Image
Find all posts by madmanView user's profileSend private messageVisit poster's websiteYahoo MessengerMSN Messenger
silvrrwulf
Sergeant
Sergeant


Joined: Mar 03, 2003
Posts: 96


PostPosted: Tue Jul 06, 2004 12:36 pm Reply with quoteBack to top

Thank you so much!!!! I really appreciate both your efforts (the excellent product) and your help. Much appreciated Smile!

~SilverWulf

_________________
All things are possible... Except skiiing through a revolving door.
Find all posts by silvrrwulfView user's profileSend private messageSend e-mailVisit poster's website
UndergroundHydroponics
Private
Private


Joined: Oct 27, 2004
Posts: 44


PostPosted: Mon Nov 08, 2004 5:22 am Reply with quoteBack to top

madman wrote:

Next step is removing the db tables used by Admin Secure. If you doubt on this or has no idea to drop the tables using phpMyAdmin, you can upload this script onto your PHP-Nuke root dir, and execute it from browser (be sure /includes/asconfig.php not removed yet):


When you say upload the script, what do you mean.

Do I copy/paste the code and save it as some sort of file (what extension?)

I then upload the file to my phpnuke root.

When you say execute the script, do you mean type it into my browser, i.e. http://www.undergroundhydroponics.com/phpnuke/uploadedscript.?

Thanks

_________________
"Fed Up ........... Skin Up!!"
Underground Hydroponics
Find all posts by UndergroundHydroponicsView user's profileSend private message
UndergroundHydroponics
Private
Private


Joined: Oct 27, 2004
Posts: 44


PostPosted: Mon Nov 08, 2004 5:42 am Reply with quoteBack to top

Don't worry, sorted it.

_________________
"Fed Up ........... Skin Up!!"
Underground Hydroponics
Find all posts by UndergroundHydroponicsView user's profileSend private message
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.422 Seconds - 85 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::