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 01-02-2002 05:12 PM

There is nothing wrong with having the folder in the Admin. Then when you try to backup be sure not to put /admin/templates for the path. Try just /templates. See if that works.

I have 2 backup folders in my admin and it works flawlessly.

Rick

Lucky 01-02-2002 07:33 PM

Well I still can not get this going.

I have a folder in forums called templates.
I also have a folder in forums/admin called templates.

I had the server change to 777 on nt.

I am running 2.2.1

I am lost as to why it will not write to one of those folders.
I have it setup to go to templates in admincp.

Any more ideas as to how to correct the problem I am having?

Lucky 01-02-2002 08:05 PM

Okay,

I got it.

It was the server at fault as the permissions had to be changed.

Great Hack Firefly old buddy old pal!

Hooper 01-02-2002 08:08 PM

You're welcome lucky. Glad it's working for you.

WildWayz 01-07-2002 01:24 PM

Oh my god!

This is fantastic!

Can it be hacked to create a new dir with 777 permissions in a templates folder?

So then we can just specify
templates/newfoldername
and if it doesn't exist and 'templates' is 777, it will create it

Failing that, how about being able to prefix the export like
07012001_filename.html

Nice tho :)

--James

Admin 01-07-2002 02:30 PM

[QUOTE]Originally posted by WildWayz
Can it be hacked to create a new dir with 777 permissions in a templates folder?

So then we can just specify
templates/newfoldername
and if it doesn't exist and 'templates' is 777, it will create it

Failing that, how about being able to prefix the export like
07012001_filename.html

WildWayz 01-07-2002 02:35 PM

oh my!

You are a star :)

--James

Admin 01-07-2002 03:05 PM

BTW this is not tested, which is why I attached it to the last post.
Let me know if it works, will ya? Thanks. :)

inetd 01-07-2002 10:28 PM

Excuse for a silly question but how to use this hack? Admit I has made upgrade vB. How to me to compare former and present templates? Or I have not understood something?

samtha25 01-08-2002 03:42 AM

Am I understanding this correctly? Would this hack let me export templates to individual files, download the files for editing, upload the edited templates to an import directory, and then import the edited templates without having to go through the dreaded copy-paste routine?

If so, I may shoot myself.


All times are GMT. The time now is 09:29 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.01697 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