Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 49
1 members and 48 guests
goe9dkfq42here
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Open topics

Reply
 
LinkBack Thread Tools Display Modes
Deleting nuke themes ??
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 94
Join Date: Jan 2003
Location: Brooklyn
Deleting nuke themes ?? - 08-05-2003, 11:04 AM

I currently have about 6 themes on my site, (nuke 6.0 with bb port) and I want to delete all of them but 1...

My question is what if people have 1 of those themes as thier theme ?? will they get an error ??? will I have to goto phpmyadmin and edit the table to change them to the correct them ??

Or

Will it automatically set them to the default theme.
  Send a message via AIM to Br00klynzzfinest  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
08-05-2003, 02:48 PM

You need to first delete all but your Default themes. The one set in your Nuke Admin/Preferences would be your Default.

once you have ONLY your default theme installed in yoru themes folder, then run this script.

Code:
<?php

######################################################
# After you used this file, you can safely delete it.
######################################################
#            -= WARNING: PLEASE READ =-
#
# NOTE: This file uses config.php to retrieve needed
# variables values. So, to do the upgrade PLEASE copy
# this file in your server root directory and execute
# it from your browser.
######################################################

include("mainfile.php");

####################### BEGIN THE UPDATE #######################################



// clear theme
$db->sql_query("UPDATE ".$prefix."_users SET theme=''");
copy and save that as cleartheme.php and upload it to your MAIN nuke directory. Then point your browser to it. That will clear all the user's selected themes and force them to the default one.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleting files to save server space Lokrin Open topics 1 03-11-2005 11:01 PM
Girly Nuke Themes??? Br00klynzzfinest Purged Topics 1 07-23-2003 02:30 PM
Nuke 6.5: nuke themes and phpbb styles don't sync together webworkz Nuke 6.5 to 6.9 - Themes 3 07-09-2003 05:13 PM
deleting users? Hilary Open topics 0 04-17-2003 02:37 AM
nuke themes ? bill Purged Topics 3 03-04-2003 08:06 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31