![]() |
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. |
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 |
bump
|
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 |
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. |
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. |
"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 |
@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.
|
And how would you go about setting permissions on a folder on your local computer? Here's my problem:
Any help would be appreciated. ______________ PS: Amazing hack, Chen! This will be great for keeping all of my styles updated! Thanks! |
For the love that is all holy and godlike.
THANK YOU for this hack. |
great hack, firefly :)
|
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
|
A very useful one.
Thanks, great job! |
[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 |
[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 |
Glad I could help. :)
|
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 :( |
Quote:
https://vborg.vbsupport.ru/showthrea...threadid=49041 It's not a default vB option. |
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 :) |
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 ;) |
Mint script!
|
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? |
did you make the templates subdirectory in the admin folder, and chmod it 777
|
yes, im trying to install lesane's store hack, and i figured this hack would save me some time, but im kinda lost
|
what are you putting as the directory for the templates?
|
[QUOTE]Today at 08:17 PM Smoothie said this in Post #185
what are you putting as the directory for the templates? |
works for me
|
Yup, I can see your templates there. Quite insecure actually, you should .htaccess password protect your admin folder.
|
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
|
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 |
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. |
[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. |
Folder of files:
No prefix or suffix slashes! Relative to admin folder. templates! |
cool got it to work thanks
|
Just upgraded to 2.3.0 and this is still going strong.
Cheers! |
installed and working great..... now to upgrade the portal:(
|
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? |
very nice.
Helped a TON with installing the store hack! Very Nice and Easy |
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????
|
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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|