vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Template Backup System! (https://vborg.vbsupport.ru/showthread.php?t=33072)

Hooper 12-11-2001 01:59 AM

[QUOTE]Originally posted by Axel Foley
That's what happens when you don't sleep for 24hrs...;)

Sorry Hooper... :rolleyes:

Anyway...I didn't understand the explanation...;)

Admin 12-11-2001 05:06 AM

Obviously Hooper is trying to give me a head ache with his long explanations, so I'll answer. LOL j/k Hooper you're da man! :)

Anyhow, if "Choose templates to import selectively" is set to NO, the script will import all templates that are in the folder.
If "Choose templates to export selectively" is set to NO, it will export ALL your templates, including created template, changed templates and even default templates.

The "Initially check..." selections means what check boxes will be selected by default if you set "Choose templates to xxx selectively" to YES. This is done for ease of use.

EXAMPLE:
Let's say you only want to export ALL created templates and ONE changed template. So you set the "Initially check..." to NO except for the Create Templates controller.
Then when you proceed, only created templates will be checked, and all you'd need to do is check the one modified template you wanna export.

Clear? :)

Hooper 12-11-2001 05:15 AM

:rolleyes:

eva2000 12-20-2001 11:59 PM

just awesome :D

bira 12-21-2001 08:18 AM

wow, how did I miss this one!

Bloody amazing and useful, Thanks FireFly!

bira 12-21-2001 08:40 AM

ok, I just tried it out and I must say I am thoroughly impressed. I even dared and selected ALL and the backup took a few seconds!

One trivial thing (and I mean it when I say it's completely trivial): .htt is actually the best extension (HyperText Template). Especially if you have .html parsed as PHP on your server, in which case it would be more secore. .htt is also a recognized Windows extension, so for all intent and purposes it's just like HTML (eg if you dbl-click on a file it will open in your browser) but, as I said, more secure and designated for exactly what we're using it: as an html template :)

Chen ata gever :D

Admin 12-21-2001 11:57 AM

Thanks George and bira. :)

[QUOTE]Originally posted by bira
Chen ata gever :D

Lucky 01-01-2002 10:34 PM

I see everything in my admin cp and all looks good, until I try to export.
I get hundreds of the different errors.
Here is one of them.

Warning: fopen("./templates/chatloggedin.html","w") - Permission denied in D:\Inetpub\users\mysite\forums\admin\adminfunction s.php on line 158

Any ideas?
TIA

Hooper 01-01-2002 11:33 PM

Folders must be chmodded writable 777 or you'll get a bunch of errors. Either that or a path problem. Check both.

Rick

Lucky 01-02-2002 07:25 AM

I have a folder in the forum/admin called templates.
I have the path to go to templates.
I have contacted the server and he said that chmod777 is linux but has done this for me on nt.
I still have problems, any ideas?


All times are GMT. The time now is 05:35 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.01143 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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