How do I change the code for the theme for default

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   How do I change the code for the theme for default
SrT_GarGoyle
CZ Newbie
SrT_GarGoyle has been a member for over 19 year's 19 Year Member
usa.gif newyork.gif
Occupation: union Carpenter
Age: 58
Gender: Male
Status: Offline
Joined: Mar 11, 2005
0.00 posts per day
Posts: 16
Points: 862
AIM Address Yahoo Messenger MSN Messenger 
What file do I change, and what do I change it to, so that the other themes are not available? I saw a file change one time that said if you changed it to 1000 themes, or something, it would give the user no option of changing the theme.



Back to top Reply with quote
#2   re: How do I change the code for the theme for default
Dauthus
CZ Addict
 Codezwiz Site Donator
Dauthus has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Age: 61
Gender: Male
Website:
Status: Offline
Joined: Mar 17, 2004
0.06 posts per day
Posts: 426
Points: 15,917
   
If you only want to run one them, delete all the other themes and they won't be able to change themes.

You can also change the following code in the modules/Your_Account/navbar.php file:

if ($thmcount > 1) {
   $menuimg = menuimg("themes.gif");


to

if ($thmcount > 100) {
   $menuimg = menuimg("themes.gif");


The number only has to be one larger than the amount of themes you have in your theme folder.



_________________
[ Register or login to view links on this board.]
Vivere disce, cogita mori
Back to top Reply with quote
#3   re: How do I change the code for the theme for default
webshark
PayPal Donation
CZ Moderator
 Codezwiz Site Donator
webshark has been a member for over 20 year's 20 Year Member
turkey.gif
Age: 56
Gender: Male
Website:
Status: Offline
Joined: Mar 23, 2004
0.08 posts per day
Posts: 643
Points: 57,200
   
before delete any themes plz read here
[ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum