PDA

View Full Version : Export Templates to Files (by MySQL conditions)


filburt1
05-02-2003, 10:00 PM
This hack lets you export multiple templates from a given template set to individual text files. I don't know who'll find it useful, but I do.

See http://www.mysql.com/doc/en/String_comparison_functions.html and the LIKE section for how to specify templates.

To install this hack, just upload it to your admin directory and then open it in your browser. Be sure to properly chmod a directory for it to save the files.

Screenshot n/a: you're just prompted for a MySQL LIKE string, a style set, and a path to which to write.

all-the-vb
05-03-2003, 07:07 PM
nice work ;)

Hobbes
05-03-2003, 10:10 PM
nice =)

/me clicks install

hayl
05-03-2003, 10:43 PM
nice

Disturbed
05-04-2003, 01:05 AM
is that any different than fireflys TBS hack?

Boofo
05-04-2003, 02:36 AM
From the looks of this, it is nowhere near like Firefly's hack. This one seems like you have to know how to set up the query. This is not a newbie hack. Firely's does all of this automatically.

filburt1
05-05-2003, 10:35 AM
Precisely. This hack is not for the faint of heart.

Dean C
05-05-2003, 03:05 PM
For the real men 'eh ;)

Looks very good filburt but i'm going to have to increase my knowledge before i use it ;)

- miSt

Erwin
05-06-2003, 07:24 AM
Firefly's TBS hack does the same, and is a great hack, especially for those with multiple templates, or changing styles.

Boofo
05-06-2003, 08:13 AM
Today at 03:24 AM Erwin said this in Post #9 (https://vborg.vbsupport.ru/showthread.php?postid=392107#post392107)
Firefly's TBS hack does the same, and is a great hack, especially for those with multiple templates, or changing styles.

Firefly's hack does the same but it does it without having to know anything about queries or setting them up.

filburt1
05-06-2003, 10:14 AM
THIS IS NOT THE SAME AS FIREFLY'S HACK! Please read the description!

Boofo
05-06-2003, 10:33 AM
This will allow you to export templates like his does, that is what we meant. I'm sure there are other differences. But since I don't know that much about making my own queries, his is simpler. That is all I was saying. Sorry if I offended you in any way.

filburt1
05-06-2003, 10:44 AM
It wasn't directed at you. :)

gmarik
05-17-2003, 07:05 AM
Filburt - it's cool. But could you figure out, how we could use these txt files as template files, not taking them from the DB? Like a flat-file html files system, would not it be nice?