Clan Adverts

Custom PHPNuke Scripts

 

www.clan-themes.co.uk :: View topic - Allow users to change themes

 Welcome To Clan Themes 

As the board grows please remember the Search Option and we hope you find our community useful.

We also monitor Private Messages to stop members from abusing our sites system.
If you are asking for assistance please provide your site link and nuke version, Thanks.

Allow users to change themes

7 Replies / 585 Views


Post new topic   Reply to topic  

   www.clan-themes.co.uk Forum Index » PhpNuke Theme Questions

View previous topic :: View next topic


tinyhogan1
Reputation: 0.7
Local time: 9:36 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Jan 01, 2008
Last Visit: 16 Jan 2008
Posts: 5
Points: 126 

View user's profileSend private message Reply with quote

trunks
Reputation: 485.3
votes: 1
Local time: 2:36 PM
Location: Over There --->
uk.gif

Status: Offline
0.75 posts per day
Medals: 0

Joined: Sep 25, 2007
Last Visit: 07 Jun 2008
Posts: 213
Points: 2910 

View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

tinyhogan1
Reputation: 0.7
Local time: 9:36 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Jan 01, 2008
Last Visit: 16 Jan 2008
Posts: 5
Points: 126 

Post Re: Allow users to change themes Posted: Thu Jan 03, 2008 3:45 am   

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Clan Roster v1.7 Php Nuke Module · COD 4 (Warrior) Red Style PhpNuke Theme

tinyhogan1 wrote:
I know that under the admin panel, you are able to set the default theme and hit the check box if you want users to be able to change the theme to whatever they want, but for some reason, it's not allowing anyone to do so. I've tried changing the theme to the default and then let members try to switch, but then they can't change from the default. Does anyone know of a bug with PHPNuke 8.1 that causes this problem?


No one is able to change the theme, even from their account. I've also tried a couple of blocks that allow users to change a them that way with no luck.
 

 
View user's profileSend private message Reply with quote

galvlo
Reputation: 463
Local time: 9:36 AM


Status: Offline
0.01 posts per day
Medals: 0

Joined: Sep 11, 2007
Last Visit: 06 Jan 2008
Posts: 2
Points: 23 

Post Allow users to change themes Posted: Sat Jan 05, 2008 3:53 pm   

I am having the same trouble. Themes can't be changed anywhere by anyone including me (the admin). The only way I can do it is manually through the database. I have also recently installed phpnuke 8.1.
 

 
View user's profileSend private message Reply with quote




DoC
Reputation: 161.1
votes: 4
Local time: 3:36 PM
Location: Wiltshire, UK
uk.gif

Status: Offline
0.78 posts per day
Medals: 1 (View more...)
Dedication (Amount: 1)
Very Important Person
Very Important Person
Joined: Feb 07, 2007
Last Visit: 06 Jul 2008
Posts: 401
Points: 1991 

Post Allow users to change themes Posted: Sat Jan 05, 2008 4:12 pm   

Shop Purchases:
Clan Roster v1.7 Php Nuke Module · Clan Roster 2.0

Sounds to me like its an 8.1 problem then, get Ravens Nuke.... It is more stable, secure, user friendly, easier to use, more features (as standard) and IMHO the only Nuke release to go for especially as 2.20 is coming out around the 15th of this month w00t!

DoC
 

Play EVE Online? Go To: www.go-pdi.com & Join The Best Corp In The Universe!  
View user's profileSend private messageSend e-mailVisit poster's websiteMSN Messenger Reply with quote

tinyhogan1
Reputation: 0.7
Local time: 9:36 AM


Status: Offline
0.03 posts per day
Medals: 0

Joined: Jan 01, 2008
Last Visit: 16 Jan 2008
Posts: 5
Points: 126 

Post Re: Allow users to change themes Posted: Sat Jan 05, 2008 8:29 pm   

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Clan Roster v1.7 Php Nuke Module · COD 4 (Warrior) Red Style PhpNuke Theme

I had someone whom codes some PHP modules run through Your Account/index.php run through the coding and he found the problem and fixed it for me.

He gave me these instructions:

open your modules/Your Account/index.php file and do a search and find the phrase function savetheme($user_id, $theme) {

After you find this phrase, look one line below where you should see this:

global $user, $cookie, $userinfo, $user_prefix, $db, $module_name;

Change replace the line with this one below.

global $user, $cookie, $userinfo, $user_prefix, $db, $module_name, $prefix;


Then upload it back to it's proper location and your set.
 

 
View user's profileSend private message Reply with quote

galvlo
Reputation: 463
Local time: 9:36 AM


Status: Offline
0.01 posts per day
Medals: 0

Joined: Sep 11, 2007
Last Visit: 06 Jan 2008
Posts: 2
Points: 23 

View user's profileSend private message Reply with quote

StevieH
Reputation: 517.2
votes: 2
Local time: 2:36 PM

uk.gif

Status: Offline
0.31 posts per day
Medals: 2 (View more...)
Dedication (Amount: 1)
Site Helper
Site Helper
Joined: Mar 19, 2007
Last Visit: 26 Jun 2008
Posts: 146
Points: 3690 

Post Allow users to change themes Posted: Sun Jan 06, 2008 11:15 am   

Shop Purchases:
Battlefield 2 Theme (Aviator V2) · Battlefield 2142 (Aviator v2) · Arnhem Multi Gaming Theme · Call of Duty 4 Ultimate Theme · Multi Gaming (Warrior) Theme · Topsites Manager V1 PhpNuke Module · Clan Roster v1.7 Php Nuke Module · Frontlines Fuel Of War Theme · Anzio Multi Gaming Theme · Anzio Multi Gaming Theme

LoL how can PHPNuke forget such things as that :0

DoC wrote:
especially as 2.20 is coming out around the 15th of this month w00t!

DoC


Ill be honest tho , ive never updated anything in my life :) well not site wise anyway, just wondering what will happen to mods and stuff you have already on site.

Sorry dont answer here ill make a thread ;)
 

 
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote



Post new topic   Reply to topic  
   www.clan-themes.co.uk Forum Index » PhpNuke Theme Questions


 
7 Replies / 585 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
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 can download files in this forum