vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   all variables in template gone...please help (https://vborg.vbsupport.ru/showthread.php?t=189929)

SVTUSA 09-03-2008 02:01 PM

all variables in template gone...please help
 
Very new to this.

I changed out a banner add in the code (header, headinclude and footer that I have done dozens of times.

When I save the change I got a message that the server timed out and the connection was lost.

I went back to the template and ALL of code was gone.

It's like the template was never there, including the code.

Can I recover this?

Lynne 09-03-2008 04:22 PM

You can Revert the template and it should fill the template with all the default vb code.

SVTUSA 09-03-2008 04:51 PM

The default code would not take into account the structure that was put in place for the template...would it?

We added banner area's etc and if I revert would that not be just bringing in the default template?

Last question...how do I "revert"?

mokujin 09-03-2008 06:18 PM

Admincp => Styles => Choose your style has changed, click the template you changed and in the right there is a "REVERT" button.

SEOvB 09-03-2008 06:19 PM

Quote:

Originally Posted by SVTUSA (Post 1613756)
The default code would not take into account the structure that was put in place for the template...would it?

We added banner area's etc and if I revert would that not be just bringing in the default template?

Last question...how do I "revert"?

No but if its all gone any way, there really isnt a way to get any of it back either.

sparklywater 09-03-2008 06:21 PM

Quote:

Originally Posted by SVTUSA (Post 1613756)
The default code would not take into account the structure that was put in place for the template...would it?

We added banner area's etc and if I revert would that not be just bringing in the default template?

Last question...how do I "revert"?


Always back-up your data on a regular basis. I hope you get your code back, but either way let this be a lesson for adopting regular backups of all important files.

Lynne 09-03-2008 07:29 PM

Import the style again by don't overwrite the current style. Then you can copy/paste the templates that you want.


All times are GMT. The time now is 07:20 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.00986 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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