Theme Debaucle.

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Theme Debaucle.

Post by WakkaWakka » Thu Feb 05, 2009 8:08 pm

This is hard to describe but I'll do my best.

The gradient images on our site keep disappearing. cellpic2.gif cellpic1 cellpic_rtl cellpic3 ....

They are defined in: ACP > Styles > Themes > Edit

By default, the path is apparently wrong. By default the path says: images/cellpic1.gif
I have had to manually change it to the full path: /interact/styles/hlt/theme/images three times now.

Inevitably, a few days later, I see the images are missing again, and I go into: ACP > Styles > Themes > Edit and I see the path is back to (images/cellpic1.gif)

What file am I editing exactly? And why does it keep getting overwritten?

Something is wrong here.
Last edited by WakkaWakka on Thu Feb 05, 2009 10:05 pm, edited 1 time in total.

WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Re: Theme Debaucle.

Post by WakkaWakka » Thu Feb 05, 2009 10:03 pm

I just now found that the font changes I made to the site are also gone.

Pretty much anything I edit in: ACP > Styles > Themes > Edit

Eventually gets overwritten somehow.

Yet I still have no idea what *file* this edit screen is editing, nor why it seems to repeatedly get overwritten.

Help.

kmklr72
Registered User
Posts: 9
Joined: Wed Feb 04, 2009 1:47 am

Re: Theme Debaucle.

Post by kmklr72 » Thu Feb 05, 2009 10:21 pm

If you edit the theme through the ACP, then it get stored in the database from what I remember. The only way to make things permanent is to edit the files themselves with a decent text editor.

User avatar
Lumpy Burgertushie
Registered User
Posts: 1006
Joined: Tue Feb 28, 2006 5:26 pm

Re: Theme Debaucle.

Post by Lumpy Burgertushie » Fri Feb 06, 2009 2:28 am

true, you must use a ftp program to download the relevant files to your computer.

use a decent text editor to edit them. ( notepad++ or crimson editor or editpad lite are just a few ).

make sure whatever you use, saves the files as text using UTF8 and no BOM ( byte order mark ).

then upload them back to where they belong.

then you MUST always clear the cache folder after every edit ( except for the index.htm and .htaccess files ) before you can see the changes.


robert

WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Re: Theme Debaucle.

Post by WakkaWakka » Fri Feb 06, 2009 3:41 am

Yes if we knew the file we would just edit that.

But above I mentioned twice, we don't know what file it is.

What file is this?

ACP > Styles > Themes > Edit

WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Re: Theme Debaucle.

Post by WakkaWakka » Fri Feb 06, 2009 9:35 pm

Anyone?

griffinmt
Registered User
Posts: 10
Joined: Mon Feb 02, 2009 12:26 am

Re: Theme Debaucle.

Post by griffinmt » Fri Feb 06, 2009 10:51 pm

The 'file' you are editting from the ACP is actually a field by the name of 'theme_data' in the table 'xxx_styles_theme'. There is a row for each available theme, so make sure you get the correct row if you are doing this manually.

Near as I can gather, this originally comes from a composite of some of the .css files in the themes folder for the applicable style.

I did it this way: used phpMyAdmin to edit the row, selexted and copied the mediumtext field, pasted to my text editor. Then I made my changes, saved it as a file for future reference, then selected, copied the content and re-pasted into the phpMyAdmin field before saving the row.

So far, it has not reverted back.
Martyn T. Griffin

WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Re: Theme Debaucle.

Post by WakkaWakka » Sat Feb 07, 2009 4:07 pm

Nightmare.

WakkaWakka
Registered User
Posts: 16
Joined: Sun Feb 01, 2009 11:39 pm

Re: Theme Debaucle.

Post by WakkaWakka » Sat Feb 07, 2009 4:12 pm

Exactly *WHAT* causes my changes to get overwritten?

And what kind of absurd set up is it to have an editor in the ACP that routinely gets all its changes erased by some other function?

Why even have it there, if something could possibly overwrite it?

Locked