vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How to restore a style without the style files? (https://vborg.vbsupport.ru/showthread.php?t=316074)

John Diver 12-17-2014 11:36 AM

How to restore a style without the style files?
 
Hey,

I have a site db and a domain from a site I was running for years, unfortunately it was hacked and the only way I can restore the design is through archive.org - It has all images available.

Normally I would get a new design but it cost me a lot ( Really can't remember but it was $750 - $1000 ) - I don't want to lose the design.

Is there an easy way to get the same design back on the site?
It is vb 3.7 or 3.8.

I have business cards, stationary etc with the same design so I would like the site to be the same.

Thanks :)

Lynne 12-17-2014 04:36 PM

The only way to do it is to download all the image files from archive.org and also the .css from there and then add it back via the Style Manager area.

John Diver 12-17-2014 06:31 PM

Hey Lynne,

Thanks for the reply :)

I have got the images but I don't see a CSS file through using WinHTTrack - I also downloaded Cygwin to try using wget but that isn't working for some reason, going to see if I can get it working.

Is there any other option?

Thanks again

HM666 12-17-2014 10:52 PM

If you have the database you can import your database into your server. If you know what vB version you were using then you can go to members.vbulletin.com and download that version for a test/dev forum, install it using that database you uploaded and have your images in place and it should pretty much show everything you need. Then you can export the xml file for the style if you need to.

Max Taxable 12-17-2014 10:57 PM

Use webpagetest dot org on the archive link, to get all the images and files.

ozzy47 12-17-2014 11:27 PM

Yeah it is not going to be a simple task unless you have a backup somewhere.

John Diver 12-17-2014 11:44 PM

Quote:

If you have the database you can import your database into your server. If you know what vB version you were using then you can go to members.vbulletin.com and download that version for a test/dev forum, install it using that database you uploaded and have your images in place and it should pretty much show everything you need. Then you can export the xml file for the style if you need to.
Just tried the database and it is corrupt, only copy I have. :( 9 Year old database :(

Quote:

Use webpagetest dot org on the archive link, to get all the images and files.
Where is that please?
I tried the address but it doesnt work.

Even if I got the design it is something to work with.. Losing such an old site is so bad :(

HM666 12-18-2014 12:36 AM

Quote:

Originally Posted by John Diver (Post 2527804)
Just tried the database and it is corrupt, only copy I have. :( 9 Year old database :(



Where is that please?
I tried the address but it doesnt work.

Even if I got the design it is something to work with.. Losing such an old site is so bad :(

This link works for me try it: http://www.webpagetest.org/

Max Taxable 12-18-2014 02:02 AM

Quote:

This link works for me try it: http://www.webpagetest.org/
And when you get there put the URL in of the archive dot org page you're using, then under the resulting chart click on "view all images."

Then after you download all the images, on the chart will be all the links to the CSS files and such, you can click on those and save the scripts too.

Lynne 12-18-2014 02:50 AM

Quote:

Originally Posted by John Diver (Post 2527738)
Hey Lynne,

Thanks for the reply :)

I have got the images but I don't see a CSS file through using WinHTTrack - I also downloaded Cygwin to try using wget but that isn't working for some reason, going to see if I can get it working.

Is there any other option?

Thanks again

I actually did this for my site, so I know it can be done. But, I was able to download the .css file and then be able to tell what to enter into the Style Manager > Main CSS page. Or, it could be that the CSS wasn't stored in the file system and I was able to read it directly from the page source. You may want to check that.

HM666 12-18-2014 03:21 AM

But if he did not set it to send the CSS to the filesystem that will not help unless there is a way to actually get the information from the database itself. If its stored in the database then you might be able to open up the database fie and find info about the style & css settings. And of course like Lynne said you can see the CSS in the page source, but that will only work if you had the site up and running.

Lynne 12-18-2014 04:05 PM

He's getting the information from archive.org. They have cached copies of pages stored and he is grabbing the images from there. So, he may be able to get the CSS from the page source there also.

Max Taxable 12-18-2014 04:40 PM

Quote:

Originally Posted by Lynne (Post 2527943)
He's getting the information from archive.org. They have cached copies of pages stored and he is grabbing the images from there. So, he may be able to get the CSS from the page source there also.

That's exactly right. Done it many times using the webpagetest tool.

HM666 12-18-2014 05:33 PM

Ah ok I was not aware that you could even do that. I never have really used that site before, looks like a pretty neat useful tool. :)

John Diver 12-18-2014 10:35 PM

I'm trying to do this but I don't see where on webpagetest I can get the CSS.

For example this is one archive page - https://web.archive.org/web/20090309....deuceace.com/

Old page but its better than nothing :)

Lynne 12-18-2014 11:24 PM

Just View Page Source and grab all the CSS listed under this code:

HTML Code:

<style type="text/css" id="vbulletin_css">
/**
* vBulletin 3.7.1 CSS
* Style: 'DeuceAce V.2.0'; Style ID: 3
*/
body
{
        background: #FFA700;
        color: #3A0000;
        font: 10pt verdana, geneva, lucida, 'lucida grande', arial, helvetica, sans-serif;
        margin: 0px 0px 0px 0px;
        padding: 0px;
}

Then go to your Main CSS page and fill it in as best as possible using the CSS you see there.

Max Taxable 12-18-2014 11:46 PM

Put that URL in at webpagetest and run the test.

You'll get a results page like this.

Click on "waterfall view" and every line is a link to the file in question, for copying.

Underneath that result, there's a "view all images" link where you can now copy all images.

John Diver 01-08-2015 08:06 PM

Hey,

Thanks for the replies, been working on the database and finally got everything working.

I have all the images showing up now through the waterfall view - They are also in the directory that I need - I seem to have most files apart from the da_imgs - Is there any quick way to save the images rather than saving each individually?

Thanks very much again :)

TheLastSuperman 01-08-2015 11:12 PM

Quote:

Originally Posted by John Diver (Post 2531333)
Is there any quick way to save the images rather than saving each individually?

I know for some browsers plugins can do that, in firefox there's a few that allow you to download all images on a page (if thumbnails then they will be the thumb size image unless they linked to original and its a thumb using width/height css).

https://addons.mozilla.org/en-US/fir...n/downthemall/

John Diver 01-14-2015 02:27 PM

Thanks for the link, tried that a few times but its not working - Its not taking any images from the page..

Maybe archive has it set so images cant be downloaded through Download Them All or WinHTTrack?

I have the full site up now but just don't have any of the images...

It would take a very long time to download each individual image but maybe its my only option

John Diver 01-18-2015 09:57 PM

Just bumping this, really want to get this working.

Thanks :)

Digital Jedi 01-19-2015 11:31 AM

Any reason he couldn't just save the page as a Webpage, Complete?

John Diver 01-20-2015 05:00 PM

Did that Digital Jedi :)

Still working on it because images are in different folders but when saving a page everything is saved in one folder.

Taking a while, but it works :)


All times are GMT. The time now is 11:44 AM.

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

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04189 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete