vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Template questions... (https://vborg.vbsupport.ru/showthread.php?t=40078)

FleaBag 06-20-2002 04:47 PM

Template questions...
 
My templates are a little worse for wear following about a years worth of constant editing and potching. I intend to delete them all, and start from the global template once more. Firstly, how do I revert the global template to it's default state - eg no extra or modified templates. Secondly how do I change vBulletin so any new templates use the default template set rather than the global one? Thanks in advance! :D

FleaBag 06-20-2002 04:51 PM

OK scratch the second question, I just found this. If anyone could help with the first question though, I'd appreciate it! :)

Admin 06-20-2002 04:54 PM

You want to delete all customized templates from all styles?

[sql]DELETE FROM template WHERE templatesetid NOT IN (-1, -2);[/sql]
Back your styles up before doing this.

FleaBag 06-20-2002 04:57 PM

Basically, I want the global template to be exactly as it is in a new installation of vBulletin. Will that query do it for me?

Admin 06-20-2002 05:05 PM

Yes, but it will also remove all custom templates you have added.

FleaBag 06-20-2002 05:09 PM

Thanks for the help yet again FireFly! :)

FleaBag 06-20-2002 06:55 PM

It hasn't worked FireFly. My template system is completely screwed up - I don't have ANY templates, styles or replacement sets. Because I don't have a default template to edit, my site is just using the global template set. How do I get my default style set back, i.e. the one that can't be deleted?

Admin 06-20-2002 06:59 PM

Running that query shouldn't have deleted your style, but delete all customized templates.

Anyway, if you want to start fresh (including replacement sets), make sure vbulletin.style is in the /admin folder, and create a new style.

FleaBag 06-20-2002 07:01 PM

I'm not sure what's going on, it wasn't your query that messed it up, it was messed up before. I don't have ANY styles, templates or replacement sets.

FleaBag 06-20-2002 07:13 PM

Why do I have a feeling I've done something I'm going to regret? :( I've tried searching through the tables manually in phpMyAdmin, I didn't see anything that would help at all. :(


All times are GMT. The time now is 10:31 PM.

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.01132 seconds
  • Memory Usage 1,727KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete