Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2011, 05:20 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,334
AlexC is an unknown quantity at this point
Default Let Guests Change Theme

I have it set up so my guests can edit the theme - but the minute they move from the "you have successfully changed the theme" page, it goes back to the default page.

I have been told that the key to making that work is to add another table to my phpadmin thing.

However, nobody has told me what, where or how. Can someone please explain in idiot langauge how to do this? I can use phpadmin, and I know how to add stuff, but I need to be told in babysteps what to add.
Reply With Quote
  #2  
Old 06-23-2011, 06:19 PM
maximillion maximillion is offline
Member
 
Join Date: Jun 2011
Location: Rhode Island
Posts: 67
Gender: Male
Credits: 8,171
maximillion is on a distinguished road
Default

one way of doing it is.. in the db add "Theme".. and set it to 0 - now when the user clicks the theme they want, have the link they clicked set the "Theme" in the db to 1 (or to whatever, based on how many themes you offer to the user) 0 is the default theme.. you'll need if statements that checks the "Theme" on every page so it knows which theme to show.

another way of doing is by setting up a cron job...

so, there's 2 ways of doing it.. hope that helps :)

Last edited by maximillion; 06-23-2011 at 06:21 PM.
Reply With Quote
  #3  
Old 06-23-2011, 06:23 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,334
AlexC is an unknown quantity at this point
Default

... okay, the first one sounds nice, but I don't really understand how to do it.

I am an idiot, please bear with me. D: I have learning disabilities, it makes it really hard to understand when people are vague about stuff.
Reply With Quote
  #4  
Old 06-23-2011, 06:28 PM
maximillion maximillion is offline
Member
 
Join Date: Jun 2011
Location: Rhode Island
Posts: 67
Gender: Male
Credits: 8,171
maximillion is on a distinguished road
Default

i'm not a php coder.. i like to design, so i don't think i can be of much more use with this.. i was merely suggesting a couple of ways of going about it to give you some ideas.

Last edited by maximillion; 06-23-2011 at 06:32 PM.
Reply With Quote
  #5  
Old 06-23-2011, 06:33 PM
AlexC's Avatar
AlexC AlexC is offline
Moderator
 
Join Date: Dec 2009
Location: Canada
Posts: 753
Gender: Unknown/Other
Credits: 66,334
AlexC is an unknown quantity at this point
Default

alright, thanks then.
Reply With Quote
  #6  
Old 06-23-2011, 06:44 PM
maximillion maximillion is offline
Member
 
Join Date: Jun 2011
Location: Rhode Island
Posts: 67
Gender: Male
Credits: 8,171
maximillion is on a distinguished road
Default

actually, come to think of it.. theme should already be in the db... it's just a matter of setting it to whatever one the user selects..

try looking at how they change themes they already offer..
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove 'Change Theme' link voni Questions and Supports 3 05-13-2014 01:27 PM
Allow guests to view SilverDragonTears Questions and Supports 7 12-08-2012 07:41 PM
HELP! default theme won't change mythic Templates and Themes 3 10-05-2011 08:24 PM
my theme no change :( kratosvr Questions and Supports 2 08-04-2011 12:24 PM
let guests change theme? AlexC Questions and Supports 6 05-04-2011 08:04 AM


All times are GMT -5. The time now is 10:18 AM.

Currently Active Users: 353 (0 members and 353 guests)
Threads: 4,080, Posts: 32,024, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636