Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
0 registered members (), 93 guests, and 205 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Iann128
Iann128
Austin, AR
Posts: 268
Joined: March 2008
Show All Member Profiles 
Top Posters(30 Days)
Gizmo 27
isaac 21
Ruben 20
Morgan 6
Alento 4
driv 2
Latest Photos
Test
Testing to drag photos
Comfortable Cats
Test
BSA photos
Previous Thread
Next Thread
Print Thread
How do I undo a style change in 7.5.3 #228474
08/19/09 05:37 PM
08/19/09 05:37 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
I was screwing with a style and hosed it up.
So I say to my self I will ftp the backups to the styles folder to restore.
So I uploaded the php file and the css file to the site.. All works okay until I revisit the control panel in the styles section.

Even if I don't make changes and submit. It changes everything to the hosed settings.
And it is broken again
Could it be a browser cache setting?
No I was using FF then switched to IE.

So there must either be another method to restore a style from a backup or another file to upload?


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228476
08/19/09 06:16 PM
08/19/09 06:16 PM
JAISP  Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,333
Pennsylvania
The file aka the css file is time coded and such with the database. If the time code does not match it will mess up your look of your site.

The css file permission needs to be 666 aka -rw-rw-rw- in your styles folder.

The bold part is the time code that needs to match in the styles database:

BeagleWorld_1250470458.css

Now if your permissions are not correct on your styles folder this will not allow your message board to update the file name for your style file it self and cause your template or style to appear really messed up.

It is kind of funny that you should ask this as the person who ripped off my site had a problem with their style stuff as they didn't, I'm guessing, have the permissions set properly. Now them never having any experience with this stuff as I did all the work they hosed their styles and then blamed me for messing up their site, even though I have no FTP, or web access to their site as they .htaccess banned every IP in my net block, LOL.

Re: How do I undo a style change in 7.5.3 [Re: JAISP] #228477
08/19/09 06:30 PM
08/19/09 06:30 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
Well the permissions were correct I was just editing some color changes and it looked bad so I thought I would just upload a backup for styles.
So Like I said. After a file restore it looks fine until I go in the control panel and select update even if I don't change anything and the hosed colors are back. I will give your method a try. I can change the table date to the file date and see.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228478
08/19/09 06:35 PM
08/19/09 06:35 PM
JAISP  Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,333
Pennsylvania
If you have exported your style you may be able to import the style again and then delete the hosed style. This should fix it for you the easy way.

I always export every style I make as soon as I have completed it and it is to my liking.

Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228479
08/19/09 06:38 PM
08/19/09 06:38 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
Nope that did not work either!


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228481
08/19/09 06:45 PM
08/19/09 06:45 PM
JAISP  Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,333
Pennsylvania
Humm, that's really odd.

Re: How do I undo a style change in 7.5.3 [Re: JAISP] #228482
08/19/09 06:46 PM
08/19/09 06:46 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
Originally Posted by JAISP
If you have exported your style you may be able to import the style again and then delete the hosed style. This should fix it for you the easy way.

I always export every style I make as soon as I have completed it and it is to my liking.

Yes I can do that but I would think if I have a backup I should be able to just upload the file and restore it with out doing anything. But something else is going on .
It is the coffee style from UBBskins but I changed a couple of settings over the last year. So I could just re-import the style and start over.
Stupid me thinking just backup the css file would allow me to just upload it back up to the site. But No!
That does not work.
Some other magic is going on with the style. Maybe Rick will chime in.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228483
08/19/09 06:49 PM
08/19/09 06:49 PM
JAISP  Online Tapedshut
Veteran
Joined: Feb 2007
Posts: 1,333
Pennsylvania
Well, I know I have hosed up a few things and recently blew the crap outta my test server requiring me to totally restore it and the test site for my UBB and I have had this problem my self. So...... This is what I have found out.

Your .css file date code needs to match the date code in your ubbt_STYLES database. And you have to have everything lining up with your numbered file for that style.

Three things going on there and it is to complicated for what it really needs to be for sure.

Re: How do I undo a style change in 7.5.3 [Re: JAISP] #228484
08/19/09 06:55 PM
08/19/09 06:55 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
Yea when I get some time I will re-import the style from ubbskins and see if it fixes it. Right now it works so long as I don't touch it in the control panel.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228485
08/19/09 07:35 PM
08/19/09 07:35 PM
R
Ruben  Offline
OP
Joined: Dec 2003
Posts: 5,940
Lutz,FL
Okay deleting and re-importing the style fixed it but I still don't understand why just uploading a back up does not work.
I will play with it this weekend a little more.


Blue Man Group


There is no such thing as stupid questions. Just stupid answers
Re: How do I undo a style change in 7.5.3 [Re: Ruben] #228486
08/20/09 01:04 AM
08/20/09 01:04 AM
Gizmo  Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,983
Portland, OR; USA
Styles are stored in the database, the php file/css file are flat file copies of all parsed information from the database; when there is an update it updates via the database information...

So importing a backup via the cp is the only way to restore.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums. Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Shout Box
Today's Birthdays
No Birthdays
Recent Topics
"UBB 10 years" image/button question
by Morgan. 10/22/18 09:35 AM
image test
by JPG. 10/21/18 10:06 AM
Upgrade from a really really old version
by Alento. 10/18/18 06:16 PM
Subscription Feature
by M4TT. 10/16/18 09:34 PM
PHP 7.2 compatibility
by Pak. 10/16/18 06:00 PM
Forum Statistics
Forums36
Topics35,153
Posts191,544
Members12,110
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.2