NukeXchange Network

          

Nuke Sites Link Directory
Nuke Fixes · NukeForums · NukeZone Hosting · NukeUnited · Nuke Sites · Nuke Skins · NukeLance
Nuke Resources
 :: Home  :: Downloads  :: Your Account  :: Forums  :: Advertise :: 
Login or Register
Main Menu
General
 Main
 AvantGo
 Banner_Clients
 cfaq
 Donations
 Downloads
 Forums
 Members_List
 Private_Messages
 Search
 Stories_Archive
 Submit_News
 Surveys
 Topics
 Web_Links
 Your_Account

Your Account
 Login
 Register
 Lost Pass

Modules
Quick Links
· CMS Focus
· Domain Names
. Game Quest
· Learning Linux
. MateMaker
· NukeFixes
· NukeForums
· NukeLance
· Nuke Sites
· Nuke Skins
· NukeZone Hosting
. SearchDevil
Other Options

Download Resources
· Nuke Downloads
· Add a Link
· New Files
· Top Rated
· Most Popular

Web Site Resources
· Nuke Sites
· Add A Site
· New Sites
· Top Rated
· Most Popular

Support
· NukeZone Hosting
· NukeSkins.com
· NukeForums.com
· phpnuke.org
· NukeFixes.com
Information
NukeForums
·decompressing EN-Book-Nuke.tar.tar
·How to allow spaces/gaps/"-" in allowed usernames
·How to Setup PHPNUKE on win2k
·cannot save changes
·voting?
·Nuke forum picture problem
·How to change smtp port on wampserver and windows
·yet another 301 redirect problem
·Image display? - newbie
·php nuke help

read more...
Top10 Links
· 1: Nuke Forums
· 2: PHPNukeFiles
· 3: NukeSkins
· 4: Nuke Templates
· 5: EcomJunk
· 6: MDesign
· 7: Windows Installation: PHP
· 8: FLASH-FOR-NUKE
· 9: Dezina
· 10: Global Dream News Sharing Portal!
Site Visitors
User Login:

Nickname:
Password:
Security Code: Security Code
Type Security Code Here:

Members List Membership:
Latest: Vanquistador
Today: 1
Yesterday: 1
Overall: 15103

Visitation:
Guests: 515
Members: 0
Total: 515


You are Anonymous user. You can register for free by clicking here
Sponsor Links
Need to find your IP fast?
Need to find your IP fast?

Controlling User Theme Selection
tonyzink writes "Scenario: You've spent a week or two (...or month or two!) installing and configuring PHP-Nuke for a new website, and you've even spent several hours creating a custom site theme and logo. However, your registered users can change site themes from the "Your Account" control panel! How do you prevent them from throwing away your work and selecting one of the default themes... with default logos? There are options...

Option 1: Remove all theme folders and files other than those which you wish to use (located in the "themes" folder). For example, if you've customized the "ExtraLite" theme and want your users to use only this theme, then delete all other theme folders, such as "Kaput", "Slash", and so on. When the user attempts to select another theme, then there will only be the single "ExtraLite" theme available.
There are drawbacks to using this method of theme control. For instance, if you would like to have the use of these additional themes in the future, then you will need to re-upload them to your server. Also, it might seem odd to the user that there appears to be a theme choice, but there is only a singe "choice" available in the list.
Option 2: Remove the "Select Theme" option from the user control panel. This requires a small bit of code modification, but the benefit is that there is no need to remove unwanted themes, and the user has no contradictory situation as described above (please select from our single-theme list). So... how is this accomplished?
There is a file which displays the contents of the user control panel; this file can be easily modified with any plain text editor to remove the "Select Theme" option from the control panel. The file is named "index.php", and is located in the "/modules/Your_Account/" folder. Simply download the file (if you don't already have it on your system locally) and open it with a text editor.
One of the first routines in this file is used to display the navigation icons in the user control panel; this code displays the "Select Theme" icon and link. To remove this option from the user control panel, simply remove the unnecessary code and save.
After the modified code has been saved and uploaded to the original location on the server, the "Select Theme" option should not appear in the user control panel. Website visitors will now have no choice but to enjoy the site theme and logo which you worked so hard on!
A slightly more detailed version of this story is located at www.nukemethods.com."
Nuke Themes
Posted on Tuesday, April 30, 2002 @ 6:36 AM CDT by Tom

Multi-Site Search
Google
Web NukeResources.com
NukeFixes.com NukeSecurity.com
 

Sponsor Links
 

 
Related Links
· More about Nuke Themes
· News by Tom


Most read story about Nuke Themes:
New Flash Theme for PHP-Nuke 5.4

Article Rating
Average Score: 5
Votes: 3


Please take a second and vote for this article:

Excellent
Very Good
Good
Regular
Bad

Options

 Printer Friendly Page Printer Friendly Page

Download the Best Archiver in the World


Best viewed with a Browser
All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2001 - 2007 by NukeResources.com
You can syndicate our news using the file .backend.php or ultramode.txt
PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.20 Seconds

:: Eos phpbb2 style by Cyberalien :: PHP-Nuke theme by www.nukemods.com ::