The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
||||
|
||||
Quote:
Quote:
Quote:
|
#22
|
||||
|
||||
Install vbulletin on your local drive:
https://vborg.vbsupport.ru/showthread.php?t=39482 Import the .sql file (also explained in above thread), then go to the admin and export the template table (see screenshot). Also, wich 'templatesetid' has your templates? (check the content of the table 'template'). And what's the content of the table ' templateset'? |
#23
|
||||
|
||||
Quote:
Quote:
Quote:
title = Default importtemplatesetid = 0 |
#24
|
||||
|
||||
Quote:
|
#25
|
||||
|
||||
It worked! My site's back up and running!
I just need to modify a few templates I'd changed since last week's backup, but it's online again with all content intact! Thanks very much to all who helped me out! Your suggestions and advice were invaluable. |
#26
|
||||
|
||||
Okay, a tad early on the celebrations there. Whilst the majority of the site appears to be working, some templates are still not loading.
For example, I've had Chen's "Change style of first post" hack installed for ages, and it was working fine until now. Take a look at this thread: http://www.comixfan.com/xfan/forums/...threadid=22721 It's meant to be using the postbit_first template but it's not. Heck, it's not even showing the first post at all! But on threads in forums which I didn't set for the change first post, all is mostly fine, eg: http://www.comixfan.com/xfan/forums/...threadid=22637 Several other modified templates aren't showing either, such as forumhome, getinfo, etc. Any ideas as to how I can fix that? |
#27
|
||||
|
||||
Okay, just a quick update. Any existing templates that I've modified aren't being displayed. The master is being displayed instead.
Any new templates that I've added aren't being displayed either, unless I set their templatesetid to -1, the master set. If I do that, then the new templates are displayed. Also odd is that some templates from hacks that were installed with templatesetid -1, such as the Warning Systems Hack and vBHome, have now reverted back to templatesetid 1. What could be causing these things to happen? |
#28
|
||||
|
||||
Hacks are reverted from default to custom when you upgrade vB. Just run the installation php files for the hack to put them back to default.
|
#29
|
||||
|
||||
This wasn't an upgrade, though, this was a straight import of the templates table from my back-up into my current DB.
I hadn't added any new hacks since the database was backed up last week, so all templates added by hacks are still in the templates table. What I meant, was, that after I imported the backed-up templates table, templates started disappearing after that. As I was going through the templates, I noticed some of the Warning Systems hack and Store hack templates were missing, even though they were there when I imported the backed-up templates table! Also, what about any existing templates that I've modified not being displayed? As I mentioned before, any new templates that I've added aren't being displayed either, unless I set their templatesetid to -1, the master set. If I do that, then the new templates are displayed. |
#30
|
||||
|
||||
Huh, well there you go... I just tried importing the settings, template, and templateset tables again, but was frustrated because only the master templateset was being displayed, none of my modifications.
So I checked in the styles section, and the master templateset was coming up for header, footer etc. I went to my SQL table, looked in the style table, and noticed that the templateset there wasn't 1, so I changed it and voila, things look back to normal! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|