Mysidia Adoptables Support Forum

Mysidia Adoptables Support Forum (http://www.mysidiaadoptables.com/forum/index.php)
-   Questions and Supports (http://www.mysidiaadoptables.com/forum/forumdisplay.php?f=18)
-   -   Spookywood Theme (http://www.mysidiaadoptables.com/forum/showthread.php?t=3907)

Nieth 12-09-2012 01:31 PM

Spookywood Theme
 
I'm running MSA v1.3.2, and trying to install the Spookywood Theme, with no luck. Actually, when I go to change the Theme under settings in the AdminCP none of the themes work!

I created a folder in templates and named it 'spookywood' and then uploaded all of the spookywood files for the theme as instructed. When trying to install the theme under 'Theme management' it tells me that I have chosen and action that cannot be completed. The location I typed in for the install was:

templates/spookywood/spookywood.html

It kept giving me the same error.

I searched the forum and found how to manually install the themes using phpmyadmin and tried that as well. It did not work, and as I said, even selecting one of the pre-installed themes does not change the website theme.

I have now erased the row that I made in phpmyadmin for spookywood and deleted the spookywood folder and it's contents from my templates folder to start fresh and hopefully get some guidance. Thank you in advance!

Hall of Famer 12-09-2012 01:35 PM

Well it seems that the theme settings aint functioning as it was supposed to, I apologize for that. You will have to install a theme manually in PHPmyadmin for now, go to table prefix.themes and insert a row with the appropriate theme name/folder pair.

Edit: If you dont mind, post this in the Bug Tracker. I will see if I can come out with a simple fix later tonight or tomorrow.

Clessidra 12-09-2012 01:37 PM

Quote:

Originally Posted by Nieth (Post 25230)
=
I searched the forum and found how to manually install the themes using phpmyadmin and tried that as well. It did not work, and as I said, even selecting one of the pre-installed themes does not change the website theme.

^ :cfrown: He already tried to manually install it.

Hall of Famer 12-09-2012 01:38 PM

Quote:

Originally Posted by Clessidra (Post 25235)
^ :cfrown: He already tried to manually install it.

Well by manually I mean going to phpmyadmin and install it from cpanel, not through ACP.

Nieth 12-09-2012 01:49 PM

I'll try to just add the rows again into PHPmyadmin, it didn't work last time, but I'll give it a shot again and reply back.

I manually added the row in PHPmyAdmin and updated and saved it.

I went back to the ACP and clicked the scroll bar to change the theme, the Theme name appeared in the scroll bar, but when I selected it, it did NOT change the theme of the website.

Is there something that I'm doing wrong?

Edit: Sorry for the double post in here.

Hall of Famer 12-09-2012 02:02 PM

Well maybe you entered the wrong information to the database table?

Clessidra 12-09-2012 02:10 PM

Is that the only possible reason, HoF? :ooo:

Hall of Famer 12-09-2012 02:15 PM

Or he may not have made the style correctly, umm... Wait a sec, you probably have to define the style's template file as template.html rather than spookywood.html.

Nieth 12-09-2012 02:23 PM

I'm not sure if I'm doing something wrong or not but I took screenshots of my current directory and my PHPmyAdmin row creation. Maybe they will help:

Filezilla with file location and contents:

http://i1067.photobucket.com/albums/...hPaw/MSAS1.png

PHPMyAdmin with new row:

http://i1067.photobucket.com/albums/...hPaw/MSAS2.png

Please let me know if you see something wrong! I apologize for needing so much assistance.

Edit: I tried renaming the spookywood.html file as template.html and it still did not work.

Tequila 12-09-2012 03:43 PM

I think I'll be redoing the old Spookywood theme (as I know how to make it work with fewer images now). I can't think of why it wouldn't work now though...

Nieth 12-09-2012 04:01 PM

That'd be much appreciated, I actually was able to make the theme work, but with the new update v1.3.2, the Navbar links are un-editable. So your navbar streches off the screen because there are no dropdown menus like on the Main theme. Also, it's nearly impossible to add things to the sidebar and make them look nice. They have to either be added to the top, above "Name's Links" or to the bottom, under how many people are online and all of that. I was looking forward to using it and editing it to my liking, but there's way too much extra coding that would need to be done to make it look neat an organized. I'm pretty much new to coding in general, so that's out of my league..

I was looking for a base or something that I could use to make a template that I like, but when I tried to use green, I realized quickly that 'green' didn't have it's original Style.css file, since none of the images in the associate file were used.

I want to make a template, but I have nothing to base it off off, and I can't make one from absolute scratch because I'm terrible at coding. I'm in such a paradox. x.x

Hall of Famer 12-09-2012 05:34 PM

Oh my goodness, just found that Spookywood was a theme for Mys v1.1.x. I thought you were making your own theme lol. You shouldnt try to install it, it is not compatible with Mys v1.3.x. You either have to wait for Tequila to redo the theme for Mys v1.3.2, or use your own/default theme.

Nieth 12-09-2012 06:50 PM

Oh, alright. I suppose that means that there aren't any Themes compatible with the new MSA, except for the default ones. If I knew more PHP I'd probably try designing my own layout for it. Maybe I'll mess around with Main and try to figure out all the titles of the areas and figure out what I can/can't change the background/images off. I don't know any php or css, so I'll just mess around.

If someone could provide an elaborate base example, I may be able to start making Themes.

I also think I'm going to post a well-written guide on how to install the MyBB script too, because a lot of people seem to have trouble installing it and linking it to the other database.

powerchaos 12-09-2012 07:54 PM

well
a theme can be easy created

Code:

<head>
<title>:BROWSERTITLE:</title>
<link rel="stylesheet" href="templates/main/media/style-city.css" type="text/css" />
<link rel="stylesheet" href="css/menu.css" type="text/css" />
<!--[if lte IE 6]>
<link rel="stylesheet" media="all" type="text/css" href="media/dropdown_ie.css" />
<![endif]-->

</head>

you see the name :BROWSERTITLE: and a lot of other things int he template

those things are dynamic and taken care of in class/class_page like the following code shows

Code:

private function getbody($template){
    // The temporary way to get AdminCP body, this will be revised in Mys v1.3.3
    $patterns = array("/:INDEX:/", "/:ADOPT:/", "/:LEVEL:/", "/:OWNEDADOPT:/", "/:IMAGE:/", "/:USER:/", "/:USERGROUP:/", "/:ITEM:/", "/:SHOP:/", "/:INVENTORY:/", "/:CONTENT:/", "/:MENU:/", "/:PROMO:/", "/:SETTINGS:/", "/:AD:/");

you see those line of codes , that are the dynamic codes
be sure to keep them in your template to show the things that are needed

at current moment is it not possible to edit everything in the html file , so you need to edit a lot of places to make the template exactly like you want

but atleast you can change now the css and a bit of the look of the template as long you keep the :texthere: items in the template

hopely it helps

Greetings From PowerChaos

Nieth 12-09-2012 10:27 PM

I noticed that there are a lot of different CSS files in the Main Theme folder, is there only one that I need to edit to make the theme look the way I want, or do I have to edit all of them? Thanks for the pointers too!

powerchaos 12-10-2012 03:24 PM

those are used in the tempalte

Code:

href="css/menu.css" type="text/css" />
href="templates/main/media/style-city.css"
href="media/dropdown_ie.css"

depending how you create your template does it deside how mutch css files you include

probaly you like to include the menu.css to get the tabs to show ( if it are the tabs , got no idea :S )

but mainly you only need to include 1 CSS that contains all variables , else the template will not look like you want to have it

if the template does not work like it need to be , then include the other css files also :D

so far i am aware , the theme_city.css is the template css , the other 2 css files are for the tabs

Greetings From PowerChaos

Nieth 12-11-2012 06:29 PM

Thanks for the information powerchaos. Is there a way to edit the css for the things it calls for? Like the :SIDEBAR: and stuff like that? I see that a lot of things are labeled in the css files, but I can't make out what a lot of them mean. x.x


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

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.