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)
-   -   Export Templates to Files (by MySQL conditions) (https://vborg.vbsupport.ru/showthread.php?t=52523)

filburt1 05-02-2003 09:00 PM

Export Templates to Files (by MySQL conditions)
 
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_c...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 06:07 PM

nice work ;)

Hobbes 05-03-2003 09:10 PM

nice =)

/me clicks install

hayl 05-03-2003 09:43 PM

nice

Disturbed 05-04-2003 12:05 AM

is that any different than fireflys TBS hack?

Boofo 05-04-2003 01: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 09:35 AM

Precisely. This hack is not for the faint of heart.

Dean C 05-05-2003 02: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 06: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 07:13 AM

Quote:

Today at 03:24 AM Erwin said this in Post #9
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 09:14 AM

THIS IS NOT THE SAME AS FIREFLY'S HACK! Please read the description!

Boofo 05-06-2003 09: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 09:44 AM

It wasn't directed at you. :)

gmarik 05-17-2003 06: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?


All times are GMT. The time now is 04:25 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.01508 seconds
  • Memory Usage 1,735KB
  • 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)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete