Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > PHP-Nuke 6.5 to 6.9 > Nuke 6.5 to 6.9 - General

Reply
 
LinkBack Thread Tools Display Modes
Can the Theme selection be disabled for users?
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Location: Tulsa, OK
Can the Theme selection be disabled for users? - 06-25-2003, 11:47 AM

I have alot of themes installed on my site that I'm just testing out, and I want to keep the users from selecting them. How can I make them use the default theme only? or even remove the 'Themes' button in the 'Your account' area?

Thanks!
 Send a message via ICQ to greaz Send a message via Yahoo to greaz Send a message via AIM to greaz Send a message via MSN to greaz  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 957
Join Date: Nov 2002
Location: Belgium
06-25-2003, 11:50 AM

For disabling you can install the NSN Your Account Tweak from http://www.nukescripts.net

To remove the button, open modules/Your_Account/navbar.php and remove the appropiate code for the button


Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 5
Join Date: May 2003
Location: Tulsa, OK
06-25-2003, 12:24 PM

Thanks! modified the code...works great..
 Send a message via ICQ to greaz Send a message via Yahoo to greaz Send a message via AIM to greaz Send a message via MSN to greaz  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 43
Join Date: Aug 2004
08-22-2004, 03:46 AM

what appropriate code do u have to remove?
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#5 (permalink))
Moderator
 
dar63's Avatar
 
Status: Offline
Posts: 473
Join Date: Oct 2002
Location: UK
08-22-2004, 07:13 AM

Code:
if ($thmcount > 1) {
	$menuimg = menuimg("themes.gif");
	echo "<td width=\"10%\"><font class=\"content\">"
	    ."<center><a href=\"modules.php?name=Your_Account&amp;op=chgtheme\"><img src=\"$menuimg\" border=\"0\" alt=\""._SELECTTHETHEME."\" title=\""._SELECTTHETHEME."\"></a>
"
	    ."<a href=\"modules.php?name=Your_Account&amp;op=chgtheme\">"._SELECTTHETHEME."</a>"
	    ."</center></form></font></td>";
    }
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 43
Join Date: Aug 2004
08-22-2004, 05:50 PM

thank you
   
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
allowing Users to change theme Krutch Nuke 7.x - General 4 10-27-2004 01:50 PM
make users theme Default.. dfm123 Nuke 6.5 to 6.9 - Modules 1 06-02-2003 05:04 PM
login from phpbb2 to be disabled or to point other place Kelu Purged Topics 8 05-12-2003 01:24 AM
Half-Life Natural Selection Clan-Site nopeace4u Showoff 1 02-23-2003 10:49 AM
how disable theme selection by user neo_sable Purged Topics 3 02-13-2003 03:38 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