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, 75 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - User's custom theme not working in Your Account module only [ ]
 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
thepiston
Sergeant
Sergeant


Joined: Dec 20, 2004
Posts: 93


PostPosted: Mon Oct 03, 2005 5:32 am Reply with quoteBack to top

For come reason my users' custom theme is not working in the "Your Account" module only... works in all others. I just upgraded from 76v2.8 to 76v3.1. Anyone have any ideas?
Find all posts by thepistonView user's profileSend private message
thepiston
Sergeant
Sergeant


Joined: Dec 20, 2004
Posts: 93


PostPosted: Mon Oct 03, 2005 11:34 am Reply with quoteBack to top

anyone know the spot in each index file where it tells that page to use the user's personal theme?
Find all posts by thepistonView user's profileSend private message
disgruntled_user
Nuke Cadet
Nuke Cadet


Joined: Oct 10, 2005
Posts: 1


PostPosted: Sun Oct 09, 2005 8:36 pm Reply with quoteBack to top

Version : patched 3.1

In file: mainfile.php

change:

global $user, $userinfo, $Default_Theme, $name;
if (isset($ThemeSelSave)) return $ThemeSelSave;
if(is_user($user) && ($name != "Your_Account" || $op != "logout")) {

to:

global $user, $userinfo, $Default_Theme, $name, $op;
if(is_user($user) && ($name != "Your_Account" || $op != "logout")) {
if (isset($ThemeSelSave)) return $ThemeSelSave;


I had the same issue on 7.6 patched to 3.1 and this resolved it.

Found this fix in a post by 'Evaders99' at the following link:

http://www.nukefixes.com/ftopic-1779-days0-orderasc-30.html

Probably a good thread to remember incase we need fixes for 3.1
Find all posts by disgruntled_userView user's profileSend private message
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.177 Seconds - 179 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::