2011-02-02, 10:50 PM
I originally posted this in the themes support area but someone suggested this be posted here.
http://community.mybb.com/thread-87644-p...#pid641006
Please forgive me for a duplicate thread.
For some reason, i'm having an awful hard time importing a new theme into my test board.
I cannot get the thing to accept it's own templates no matter what I do. When It uploads and goes to the theme properties area, it's not showing any choice of templates for the theme to use. It's forcing Default templates on the theme.
What I did:
Export the Default template.
Opened it in a text editor and made my usual changes to theme name, editor name and path for images.
Saved.
Uploaded via ACP - select NO for custom items only
Select YES for import style sheets.
It uploads and goes to the theme properties page and it shows the theme correctly named but it does not give me a choice on what templates it should follow.
Normally it automatically says it's going to follow the theme's templates but this one is forcing Default on me.
I've deleted and tried to install several times now. All the same.
Now, since v. 1.6.1 this has been going on.
I also noticed this bit of code at the top:
The first line, regarding templateset - should I be inserting my own number in there or what? I've never touched this in the past. It's always worked fine.
I've also tried exporting the Default theme differently.
Normally I select NO on the first option (Include customized items only?
If you wish to include items (css and stylesheets) inherited from parent themes select "no", otherwise only customized elements will be exported.)
And YES on the second (Include templates).
I tried hitting NO and NO - yields the same importing results.
Anyone else finding this issue?
I've come to the conclusion it's the software and not me.
How? Why?
First of all, working with the above is a fresh install of v 1.6.1
I took the default theme from one of my own working sites and exported it, edited in my usual way and then imported to the test board. It WORKED FINE!
I dropped all the tables in the test board about half an hour ago.
I took another fresh copy of Mybb and re-installed.
I exported the default theme, edited exactly the same, imported. STILL NOT WORKING.
Whatever is going on, I can't figure out. I'm no coder.
All I know is that I can use an exported and edited theme from any other board I have but this fresh install of Mybb 1.6.1.
http://community.mybb.com/thread-87644-p...#pid641006
Please forgive me for a duplicate thread.
For some reason, i'm having an awful hard time importing a new theme into my test board.
I cannot get the thing to accept it's own templates no matter what I do. When It uploads and goes to the theme properties area, it's not showing any choice of templates for the theme to use. It's forcing Default templates on the theme.
What I did:
Export the Default template.
Opened it in a text editor and made my usual changes to theme name, editor name and path for images.
Saved.
Uploaded via ACP - select NO for custom items only
Select YES for import style sheets.
It uploads and goes to the theme properties page and it shows the theme correctly named but it does not give me a choice on what templates it should follow.
Normally it automatically says it's going to follow the theme's templates but this one is forcing Default on me.
I've deleted and tried to install several times now. All the same.
Now, since v. 1.6.1 this has been going on.
I also noticed this bit of code at the top:
<theme name="Default" version="1601">
<properties>
<templateset><![CDATA[1]]></templateset>
<imgdir><![CDATA[images]]></imgdir>
<logo><![CDATA[images/logo.gif]]></logo>
<tablespace><![CDATA[4]]></tablespace>
<borderwidth><![CDATA[1]]></borderwidth>
<editortheme><![CDATA[default]]></editortheme>
</properties>
The first line, regarding templateset - should I be inserting my own number in there or what? I've never touched this in the past. It's always worked fine.
I've also tried exporting the Default theme differently.
Normally I select NO on the first option (Include customized items only?
If you wish to include items (css and stylesheets) inherited from parent themes select "no", otherwise only customized elements will be exported.)
And YES on the second (Include templates).
I tried hitting NO and NO - yields the same importing results.
Anyone else finding this issue?
I've come to the conclusion it's the software and not me.
How? Why?
First of all, working with the above is a fresh install of v 1.6.1
I took the default theme from one of my own working sites and exported it, edited in my usual way and then imported to the test board. It WORKED FINE!
I dropped all the tables in the test board about half an hour ago.
I took another fresh copy of Mybb and re-installed.
I exported the default theme, edited exactly the same, imported. STILL NOT WORKING.
Whatever is going on, I can't figure out. I'm no coder.
All I know is that I can use an exported and edited theme from any other board I have but this fresh install of Mybb 1.6.1.