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)

Axel Foley 01-25-2003 09:02 PM

Kippesp...you're the man...;)

I used your version, and it fixed the problems I had, but I noticed some little glitches on template-colors in the list (they differed from the legenda) and some textual inaccuracies. I also changed the default file extension to .htt (as suggested by Bira long ago). I've attached this final version to this post.

Thank you very much for your help.

Marzas 01-30-2003 05:54 AM

mine doesnt work, it always has this error

Warning: OpenDir: No such file or directory (errno 2) in /home/viraxco/public_html/admin/tbs.php on line 128

Fatal error: Call to a member function on a non-object in /home/viraxco/public_html/admin/tbs.php on line 129

what the hell is that? lol

Marzas 02-02-2003 06:57 AM

bump

Marzas 02-02-2003 07:14 AM

spoke too soon, i fixed it, it was supposed to be in a folder called templates, well anyway i did it and click import, click expand, nothing there?
how come, all the files are uplaoded
please i need this quick
cheerz

marzas

kippesp 02-02-2003 06:26 PM

The script must be located in the admin directory (i.e. the same spot as config.php and all the other admin files). There must be a directory for the script to read/write files from/to named 'templates' (or whatever is entered in the form). On a Unix file system server, that directory must have writable permission by the webserver (a chmod 777 does the trick).

So basic file structure is this:
forums/admin/config.php
forums/admin/tbs.php
forums/admin/templates/[templates stored here]

And I know this is a rather long thread. But when the original author does not support his/her hack, you really should read the entire thread (a good idea anyway). This has been posted before and discussed as well.

Darkwaltz4 02-07-2003 01:37 AM

wow. very, very much wow. im amazed, --this is exactly what i am looking for..

story time:

having 5 different styles (soon to be 6) i got into the habit of not updating the styles that were no longer new....so consequently, there were always a slew of styles that were not as good....when it came time to update all of them, downloading and uploading full styles led to problems....so...i turned to here, and look what i found....amazing...excellent--very wow, thats all i can say. thanks firefly a definate "install" for this.

phd 02-11-2003 06:19 PM

"Make sure the folder you are saving templates into is CHMODed 0777, or PHP will not be able to create files in it. Also, the folder is a relative path to the admin folder, not the forums folder!"

can I create my own? CHMODed 0777

scsa20 02-13-2003 06:01 AM

@phd - wha?? if you mean making your own folder, that's what you so'pose to do, go into the admin folder (/forumroot/admin/) and make a new folder called templates (even tho you could name it something else if you please, but nameing it templates is more easyer) and then CHMOD it 777... doing that is easy, just right click on it and choosed either (depends on what FTP program your using) CHMOD or Properties or if your FTP program has a command line, type in SITE CHMOD templates 0777 (I think that's the code, it's been awhile) and that'll make the folder writeable, meaning that a script can write in that folder.

dstruct2k 03-08-2003 04:01 PM

And how would you go about setting permissions on a folder on your local computer? Here's my problem:
  • I am running Windows XP Pro
  • I am my own webhost, through Apache HTTPD Server
  • I have absolutely no clue how to do a CHMOD on a local directory
  • Most of my scripts work anyways, even without doing a CHMOD.
Could someone explain to me what the CHMOD is supposed to do in the first place? Or how I could do it?

Any help would be appreciated.

______________

PS: Amazing hack, Chen! This will be great for keeping all of my styles updated! Thanks!

LilDragonWings 04-14-2003 08:19 PM

For the love that is all holy and godlike.

THANK YOU for this hack.


All times are GMT. The time now is 04:09 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.01259 seconds
  • Memory Usage 1,734KB
  • 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