| Author |
Message |
Mindl3ss
Sergeant


Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
|
Posted:
Sat Jun 28, 2003 6:11 am |
  |
hmmmm sorry but ummm i have a new problem with themes, and this topic/thread was already going on theme so i thought to ask it here. problem is that, i did something like when i click on Module Thal for instance it loads the Thal module with the theme i specified in your ModMod.php file .. i changed the headers a bit to go with them, imean in thal module i let the logo like it is just added a Module description line beneath it. or in my WebMasters module, i added WebMasters beneath my logo.., now the problem is when someone registered/guest changes his/her theme from the default board theme they may also change the themes i used for thal and WebMasters modules, so if it happens then no matter which ever page/module they go they will see the Description line of that theme along with the logo.. so what i want is:
Is it possible to disable the theme select function in Your_Account  |
_________________ Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet. |
|
       |
 |
violator
Nuke Cadet


Joined: Jun 22, 2003
Posts: 3
|
Posted:
Sat Jun 28, 2003 8:55 am |
  |
remove all the other themes exept the one you are using as default |
_________________ <embed src="http://www.clanfst.com/misc/vio/violator3.swf" width="400" height="100"></embed> |
|
   |
 |
chris-au
Elite Nuker


Joined: Jan 31, 2003
Posts: 717
|
Posted:
Sat Jun 28, 2003 1:39 pm |
  |
| Quote: |
Is it possible to disable the theme select function in Your_Account
|
In ModMod.php you could try to change from:
to
| Code: |
if(!IsSet($user))
{
$mod_theme="Milo";
}
|
I did not try but should work I think |
_________________ Chris
|
|
    |
 |
Mindl3ss
Sergeant


Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
|
Posted:
Sun Jun 29, 2003 12:37 am |
  |
hmmmm no u didnt understand what i am saying... my problem is that users can select the themes i donot wish to be selected.. but they are used in the site i mean uh wait
These are three different modules.. And Ofcourse the last one has the site default theme and first two have Module particular default themes defined in their modmod.php.. lets call those theme "module-related themes" for future reference
Now the problem arises when some one select the "Module-related themes" cause those themes had custom headeer for the module they are attached too,
if you have checked the urls i gave on the top, it means that you know what i am talking about, if not then please check the urls again and check the headers this time
so what i want is, that somehow i can block the users access to Theme selection in Your_Account,
violator suggested :
| Quote: |
| remove all the other themes exept the one you are using as default |
is not applicable
and if i work on chris-au's suggestion then i will have to give all the modules (and thats about 31) the three files that is.. modmod.php modblocks.php and modtheme.php or atleast the two of them. is there any simple way sorry :< |
_________________ Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet. |
|
       |
 |
Mindl3ss
Sergeant


Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
|
Posted:
Sun Jun 29, 2003 12:51 am |
  |
yep i got it i just edited the navbar.php file in Your_account and now its a.Ok so now my question Evolves now the question is, some of my users may be using the "module-related themes" and i dont know who will be using which so is there a way to change all the users default theme to the forum default theme.. ?? |
_________________ Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet. |
|
       |
 |
Mighty_Y
Sergeant


Joined: Feb 27, 2003
Posts: 94
|
Posted:
Sun Jun 29, 2003 1:04 am |
  |
Do a search on fixtheme and you will find a script (made by mikem) wich cleares the members selected theme, so they will automatically use the default theme |
|
|
    |
 |
Willy_Wonka
Corporal


Joined: Jun 22, 2003
Posts: 69
Location: The Chocolate Factory
|
Posted:
Sun Jun 29, 2003 1:44 pm |
  |
If you want users NOT to choose themes in their profile do the following:
(By HUMPA, where is he now?)
In modules/Your_Account/navbar.php find:
| Code: |
if ($thmcount > 1) {
$menuimg = menuimg("themes.gif");
|
change to:
| Code: |
if ($thmcount > 1000) {
$menuimg = menuimg("themes.gif");
|
|
Last edited by Willy_Wonka on Sun Jun 29, 2003 9:58 pm; edited 1 time in total |
|
   |
 |
mikem
Theme Guru


Joined: Jan 13, 2003
Posts: 1582
Location: Corn fields of Indiana
|
Posted:
Sun Jun 29, 2003 5:12 pm |
  |
It sounds liek to me that he has some modules that use their own tempaltes/themes.
Kind of like the Coppermine Gallery.
But from what I understand he is saying is that these modules have selections under them to change to a diffferent template?
or maybe I am as confused as he seems to be now...
mikem |
_________________ Getting Started | My Projects |
|
   |
 |
Willy_Wonka
Corporal


Joined: Jun 22, 2003
Posts: 69
Location: The Chocolate Factory
|
Posted:
Sun Jun 29, 2003 9:59 pm |
  |
Sorry. When I replied I forgot the word 'NOT"
Fixed that! |
|
|
   |
 |
Mindl3ss
Sergeant


Joined: May 10, 2003
Posts: 148
Location: Karachi, Pakistan
|
Posted:
Mon Jun 30, 2003 4:45 am |
  |
thanks for all the replies now it is fixed
| Quote: |
| It sounds liek to me that he has some modules that use their own tempaltes/themes |
yes thats exactly what i was trying to say
and i fixed it earlier but because my network was showing me the cache i could not know that but when today my friend told me that now your site looks perfect i cleared my cache+cookies and returned to the site and yes that was working thanks to all of you i dont know what made it work but it doesnt matter  |
_________________ Normal people ... believe that if it ain't broke, don't fix it. Engineers believe that if it ain't broke, it doesn't have enough features yet. |
|
       |
 |
|
|