PDA

View Full Version : Accidently imported new skin over my default!



RobFerrari
Sat 15th Aug '09, 2:12pm
I was installing some new skins and accidently installed over my default. For the life of me I can't figure out how to change the default back to normal without losing all my added templates and customizations. Seems like I could just do what I did adding the new style with the default upload/install/vbulletin-style.xml. Haven't got anything to work so far.

thanks!
rob

Steve Machol
Sat 15th Aug '09, 2:15pm
Create a new style and choose no parent style. This will be identical to the default vB style and templates, assuming you have not modified vbulletin-style.xml.

RobFerrari
Sat 15th Aug '09, 2:21pm
Create a new style and choose no parent style. This will be identical to the default vB style and templates, assuming you have not modified vbulletin-style.xml.

that doesn't bring in any of my new templates or modifications, just a from scratch template.

my new templates and modifications are still available with the default, it is just messed up because it also has the new style on it.

Steve Machol
Sat 15th Aug '09, 2:24pm
The only way to do that is if you made a copy of that style before you overwrote it.

RobFerrari
Sat 15th Aug '09, 2:29pm
The only way to do that is if you made a copy of that style before you overwrote it.

OK, it is just beyond me you can load multiple new styles in, but not the default? How does the default behave differently than the optional styles?

Steve Machol
Sat 15th Aug '09, 2:32pm
The 'default' you are talking about is a modified style otherwise my instructions would have worked. The only way to regain that style is if you have downloaded a backup of it before you overwrote it. Without a backup there is no way to regain that style. Sorry if that wasn't clear.

RobFerrari
Sat 15th Aug '09, 2:35pm
The 'default' you art talking about is a modified style otherwise my instructions would have worked. The only way to regain that style is if you have downloaded a backup of it before you overwrote it. Without a backup there is no way to regain that style. Sorry if that wasn't clear.

thank you, so if I go get the ./install/vbulletin-style.xml from server backup I will be OK?

I just went and checked, that file hasn't been updated since I upgraded to 8.4 4 days ago.

Steve Machol
Sat 15th Aug '09, 2:39pm
No. The custom styles are not stored in that file. They are stored in the style and template tables of the database.

RobFerrari
Sat 15th Aug '09, 2:44pm
No. The custom styles are not stored in that file. They are stored in the style and template tables of the database.

I back up my databases, can you tell me what I need to load from the backups?

or are you saying the only thing I could have done is a manual download of the style before I changed it?

so now just take that new style from scratch and copy my changes over from the current "default", then delete the old styles (including old default) out?

Steve Machol
Sat 15th Aug '09, 2:57pm
I don't know if this will work because the data in tales is shared among many tables but the key ones to restore would be the style and template tables. Doing this may create other errors though.

Note: You can download styles here:

Admin CP -> Styles & Templates -> Download / Upload Styles

RobFerrari
Sat 15th Aug '09, 3:13pm
I've decided to rebuild from scratch since my 3.8.4 upgrade was since the last db backup. thanks for the help Steve, now time to start the fun.