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.

The_Wanderer 04-14-2003 10:05 PM

great hack, firefly :)

vB-Host.com 04-19-2003 10:43 PM

I receive no templates to import but if you look at http://www.vb-host.com/forum/admin/templates/ all 60 of the store templates are there and the templates folder is chmod to 777 also.. Ok here is a screenshot to show you my settings and error

gmarik 04-21-2003 03:50 PM

A very useful one.
Thanks, great job!

Mike Gaidin 04-21-2003 04:20 PM

[QUOTE]04-19-03 at 06:43 PM Slapshot Harry said this in Post #172
I receive no templates to import but if you look at http://www.vb-host.com/forum/admin/templates/ all 60 of the store templates are there and the templates folder is chmod to 777 also.. Ok here is a screenshot to show you my settings and error

vB-Host.com 04-21-2003 06:24 PM

[QUOTE]Today at 09:20 AM Mike Gaidin said this in Post #174
It's because your templates are in .txt form while you are trying to import .html

Just change the html in your import settings to txt

Mike Gaidin 04-21-2003 06:45 PM

Glad I could help. :)

pdatoon 04-27-2003 01:42 AM

Hi,

I accidentally import some templates in my default set instead of another one. Do you know how to delete all those imported templates at once? doing [remove] on by one is such a pain :(

Mike Gaidin 04-27-2003 02:33 AM

Quote:

Hi,

I accidentally import some templates in my default set instead of another one. Do you know how to delete all those imported templates at once? doing [remove] on by one is such a pain :(
The only way I know of is to install this hack here by Xenon.

https://vborg.vbsupport.ru/showthrea...threadid=49041

It's not a default vB option.

trafix 04-27-2003 06:27 AM

A hackers delight!

I should have installed this earlier, Its going to save me heaps of time when I go to pack a hack ready to release :)

o0oKARo0o 05-21-2003 02:59 PM

The best Hack I have ever seen, amazing hack really, it?s a must have and I hope it will be in the VB 3.0 cos it?s damn good...
Firefly, you are my idol, thanks mate ;)

Smoothie 05-27-2003 01:02 AM

Mint script!

Ryan McBain 05-27-2003 01:23 AM

I keep getting this error

Warning: dir(./templates/.) [function.dir]: failed to open dir: No such file or directory in /home/ryanmcba/public_html/forums/admin/tbs.php on line 127

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

What am I doing wrong?

Erwin 05-27-2003 01:34 AM

did you make the templates subdirectory in the admin folder, and chmod it 777

Ryan McBain 05-27-2003 01:35 AM

yes, im trying to install lesane's store hack, and i figured this hack would save me some time, but im kinda lost

Smoothie 05-27-2003 02:17 AM

what are you putting as the directory for the templates?

Ryan McBain 05-27-2003 02:19 AM

[QUOTE]Today at 08:17 PM Smoothie said this in Post #185
what are you putting as the directory for the templates?

Smoothie 05-27-2003 03:00 AM

works for me

Erwin 05-27-2003 03:56 AM

Yup, I can see your templates there. Quite insecure actually, you should .htaccess password protect your admin folder.

Ryan McBain 05-27-2003 04:51 AM

Well the only reason i even added this hack was to install the store hack, and i cant get that to work either....go figure

Ryan McBain 05-28-2003 06:15 AM

I keep getting this error when i try to add templates....

Warning: dir(./admin/templates/.) [function.dir]: failed to open dir: No such file or directory in /home/ryanmcba/public_html/forums/admin/tbs.php on line 127

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

Erwin 05-28-2003 06:40 AM

The directory path:

/admin/templates/

is not being found by tbs.php - you need to make sure it's present, and make sure tbs.php points to it properly.

Ryan McBain 05-28-2003 06:42 AM

[QUOTE]Today at 12:40 AM Erwin said this in Post #191
The directory path:

/admin/templates/

is not being found by tbs.php - you need to make sure it's present, and make sure tbs.php points to it properly.

Smoothie 05-28-2003 07:36 AM

Folder of files:
No prefix or suffix slashes! Relative to admin folder. templates!

Ryan McBain 05-28-2003 02:40 PM

cool got it to work thanks

Christine 05-31-2003 08:32 PM

Just upgraded to 2.3.0 and this is still going strong.

Cheers!

ap0c 06-02-2003 12:37 AM

installed and working great..... now to upgrade the portal:(

dantech30 06-04-2003 06:59 PM

I need some help - I havedone everything you said and now when I try to go to my admin panel - I get this error here:

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /var/www/forums/admin/index.php on line 3

Parse error: parse error, unexpected T_STRING in /var/www/forums/admin/index.php on line 3

Can someone please help me?

[Fx]AssAssiN 06-05-2003 04:24 AM

very nice.
Helped a TON with installing the store hack!
Very Nice and Easy

jackyhow 06-09-2003 05:55 AM

i donno y, but it is not working on my site, when i am trying to export templates, it seems like everything is fine. but there is no files created under templates folder.....anyone tell me y plz????

jackyhow 06-11-2003 06:07 AM

no one can answer my quesion??


All times are GMT. The time now is 11:11 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.01354 seconds
  • Memory Usage 1,810KB
  • 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)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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