Welcome Guest!   Please Login or Register
Subscribe Today

You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!

Sponsored Links




Search




Site Navigation

· Home
· About Us
· Advertise With Us
· Club
· CVS
· Downloads
· Feedback
· Forums
· Gallery
· Groups
· Journal
· Private Messages
· Search
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

Survey

I Want This Addon:

SEO
Gaming
Commerce
Database
Security



Results
Polls

Votes 628

Advertisers





Who's Online

There are currently, 21 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Total Hits

We received
5574007
page views since September 2005




DaDaNuke :: View topic - Just a quick pop in and fix
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

Just a quick pop in and fix

 
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke
View previous topic :: View next topic  
Author Message
manik
dadaSupport
dadaSupport


Joined: Oct 26, 2005
Posts: 134
Location: Maryland

PostPosted: Sat Jan 24, 2009 8:07 pm    Post subject: Just a quick pop in and fix Reply with quote

Hey guys, i am tooling with the 8.1 again and i came across a error and thought i might share it here if for no other reason then for it to be in the database huh..

The issue was that when you go into your user account and try to change the theme it would not save. So heres the fix for it.

Code:
To fix the problem with the themesave function that prevents users from changing themes in nuke 8.1 simply change one line of code.

Open modules/Your_Account/index.php

on line 1480 look for
$overwrite_theme != 1 (note this line is longer)

change to
$overwrite_theme != 0

_________________
When you try and fail it hurts but when you try and quit you die.
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
White_Devil
Moderator
Moderator


Joined: Jan 15, 2006
Posts: 62
Location: Iowa

PostPosted: Sun Jun 14, 2009 11:55 am    Post subject: Reply with quote

I havn't messed with nuke 8.1 but seems that that line is spacific. Is it there to make sure that themes are not saved when the admin has user themes change disabled?
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke All times are GMT - 4 Hours
Page 1 of 1

 
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
Powered by phpBB © 2001 phpBB Group Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Theme designed by Western Studios



Terms of Use | Privacy Policy © 1996-2007, DaDaNuke

Listed on FeedBurner

PHP-Nuke Copyright © 2006 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.

Theme Designed by Western Studios