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, 63 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 - Some Theme Related Questions [ ]
 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
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sat Jun 28, 2003 6:11 am Reply with quoteBack to top

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 Smile.. 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 Very Happy

_________________
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.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
violator
Nuke Cadet
Nuke Cadet


Joined: Jun 22, 2003
Posts: 3


PostPosted: Sat Jun 28, 2003 8:55 am Reply with quoteBack to top

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>
Find all posts by violatorView user's profileSend private message
chris-au
Elite Nuker
Elite Nuker


Joined: Jan 31, 2003
Posts: 717


PostPosted: Sat Jun 28, 2003 1:39 pm Reply with quoteBack to top

Quote:

Is it possible to disable the theme select function in Your_Account


In ModMod.php you could try to change from:
Code:

$mod_theme="Milo";


to
Code:

if(!IsSet($user))
{
$mod_theme="Milo";
}


I did not try but should work I think

_________________
Chris
Find all posts by chris-auView user's profileSend private messageVisit poster's website
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sun Jun 29, 2003 12:37 am Reply with quoteBack to top

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
Quote:
http://thalassemia.com.pk/nuke/modules.php?name=thal
http://thalassemia.com.pk/nuke/modules.php?name=WebMasters
http://thalassemia.com.pk/nuke/


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 Wink

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 Very Happy 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.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Sun Jun 29, 2003 12:51 am Reply with quoteBack to top

yep i got it Smile i just edited the navbar.php file in Your_account Very Happy and now its a.Ok so now my question Evolves Razz 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.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
Mighty_Y
Sergeant
Sergeant


Joined: Feb 27, 2003
Posts: 94


PostPosted: Sun Jun 29, 2003 1:04 am Reply with quoteBack to top

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
Find all posts by Mighty_YView user's profileSend private messageVisit poster's website
Willy_Wonka
Corporal
Corporal


Joined: Jun 22, 2003
Posts: 69

Location: The Chocolate Factory

PostPosted: Sun Jun 29, 2003 1:44 pm Reply with quoteBack to top

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
Find all posts by Willy_WonkaView user's profileSend private message
mikem
Theme Guru
Theme Guru


Joined: Jan 13, 2003
Posts: 1582

Location: Corn fields of Indiana

PostPosted: Sun Jun 29, 2003 5:12 pm Reply with quoteBack to top

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... Rolling Eyes

mikem

_________________
Getting Started | My Projects
Find all posts by mikemView user's profileSend private message
Willy_Wonka
Corporal
Corporal


Joined: Jun 22, 2003
Posts: 69

Location: The Chocolate Factory

PostPosted: Sun Jun 29, 2003 9:59 pm Reply with quoteBack to top

Sorry. When I replied I forgot the word 'NOT"

Fixed that!
Find all posts by Willy_WonkaView user's profileSend private message
Mindl3ss
Sergeant
Sergeant


Joined: May 10, 2003
Posts: 148

Location: Karachi, Pakistan

PostPosted: Mon Jun 30, 2003 4:45 am Reply with quoteBack to top

Smile 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 Smile
and i fixed it earlier but because my network was showing me the cache i could not know that Embarassed 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 Smile i dont know what made it work but it doesnt matter Smile

_________________
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.
Find all posts by Mindl3ssView user's profileSend private messageSend e-mailVisit poster's websiteYahoo MessengerMSN Messenger
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.228 Seconds - 422 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::