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, 42 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 - Disable Themes [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
ricedawg
Nuke Soldier
Nuke Soldier


Joined: Sep 08, 2003
Posts: 29


PostPosted: Mon Sep 08, 2003 4:47 pm Reply with quoteBack to top

I installed Nuke6.8 on my website. By default, it comes with 6 or 7 themes. How do I disable these theme so that all of users uses the same theme. I don't want to just delete the theme file from the website because I might want to change it to a different theme later
Find all posts by ricedawgView user's profileSend private messageVisit poster's website
nukeum66
Lieutenant
Lieutenant


Joined: Jun 27, 2003
Posts: 286

Location: Memphis, TN - No! I haven't seen Elvis

PostPosted: Mon Sep 08, 2003 5:53 pm Reply with quoteBack to top

Hello,
There are a few ways to do this without deleting them the first way would be to create a folder to store them in on your server, but if you want to be able to change them without having to move them back and forth you can edit navbar.php file in /Your_Accout folder on lines 71-77

From this:
Quote:
if ($thmcount > 1) {
$menuimg = menuimg("themes.gif");
echo "<td width=\"10%\"><font class=\"content\">"
."
<a href=\"modules.php?name=Your_Account&amp;op=chgtheme\"><img src=\"$menuimg\" border=\"0\" alt=\""._SELECTTHETHEME."\" title=\""._SELECTTHETHEME."\"></a><br>"
."<a href=\"modules.php?name=Your_Account&amp;op=chgtheme\">"._SELECTTHETHEME."</a>"
."
</form></font></td>";
}


To this:
Quote:
/*
if ($thmcount > 1) {
$menuimg = menuimg("themes.gif");
echo "<td width=\"10%\"><font class=\"content\">"
."
<a href=\"modules.php?name=Your_Account&amp;op=chgtheme\"><img src=\"$menuimg\" border=\"0\" alt=\""._SELECTTHETHEME."\" title=\""._SELECTTHETHEME."\"></a><br>"
."<a href=\"modules.php?name=Your_Account&amp;op=chgtheme\">"._SELECTTHETHEME."</a>"
."
</form></font></td>";
}
*/
Notice the /* at the top of the code & */ at the bottom just add them in and this will NOT remove, but hide the theme link in users Your_ Account & you will still be able to change themes from Admin CP

_________________
"I am, therefore I do!"
Find all posts by nukeum66View user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-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
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.431 Seconds - 275 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::