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 09-15-2011, 12:43 PM
mythic mythic is offline
Member
 
Join Date: Sep 2011
Posts: 6
Gender: Female
Credits: 1,188
mythic is on a distinguished road
Default Switching themes... anyone know the variable

Okay, I have been working on getting the template switching mechanism back on track but I don't know what the value is for the mysql statement.

The problem lies within the mysql update code:

Code:
$query = "UPDATE {$prefix}settings SET value='$themeurl' WHERE name='themeurl'";
I know that the correct code for changing it is this:looks like this

Code:
$query = "UPDATE {$prefix}settings SET value='$themeurl' WHERE name='theme'";
(this code changes the mysql value to a blank field)

One can replace '$themurl' <--- the problem I am running into with whatever template name one wants to lock on. Or change it in mysql.

So if anyone can tell me what the variable is that needs to go there. PLEASE HELP FIX THIS.

Thank you all for reading this.

Edit: After a few moments, I realized that I made this sound like it is the only problem, which it may not be. It may very well be the only problem or one of a few that are preventing this from working. Perhaps the variable is never defined.

Last edited by mythic; 09-15-2011 at 12:56 PM.
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
cod(e)ity Themes Tequila Templates and Themes 11 07-05-2013 10:37 AM
variable currency idea schepers12 Suggestions and Feature Requests 5 05-19-2013 11:16 PM
Themes Sophie Questions and Supports 0 10-19-2011 09:07 PM
Some sort of variable? The Codfin Keeper Questions and Supports 9 02-20-2011 11:17 AM
Themes? Aluenda Questions and Supports 9 05-31-2009 01:00 PM


All times are GMT -5. The time now is 09:40 AM.

Currently Active Users: 674 (0 members and 674 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