Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Template Importer Details »»
Template Importer
Version: 1.00, by Xenon Xenon is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-07-2002 Last Update: Never Installs: 22
 
No support by the author.

Version: 1.0

This miniaddon i've coded last night, for another hack i'm currently working on, but then i thought it might be usefull for quite more users so i release it seperatly.

What it does?
It's a small script you have to run from your Admin-CP. You can enter a filename of a *.tpl-file (Template file formate by me ) and it'll add the Template to the global template set.
As you can see this can be very usefull if you have a lot of template sets and want to add a new hack which comes a long with much templates....

If the template already exists, it'll ask you if the new one should overwrite the old.

Because the Addon adds templates to the global set, you have to rerun it with every template file again after you've done an upgrade.

Personally i made it just for installing new templates that comes within a new hack, it has nothing to do with a backupsystem. If you want to export templates and import them again later you should use this hack by FireFly.

I don't think i would add something to the hack, but feel free to make suggestions

Zipfile contains:
tplimporter.php - the script (upload it to your admin folder)
tplimporter.txt - installation textfile and *.tpl file description
test.tpl - a *.tpl file so you can see how they should look

Enjoy

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 08-09-2002, 12:07 AM
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Location: CA University
Posts: 1,696
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where is everyone today? Xenon makes a hack hours ago, and nobody has replied yet? What is the world coming to!?!?!? =falls over=

Anyway, this hack looks really neat Xenon, although I don't think I'll ever be using anytime soon. *clicks install anyway*
Reply With Quote
  #3  
Old 08-09-2002, 06:12 AM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack ^^ but I'm not installing it lol.
Reply With Quote
  #4  
Old 08-09-2002, 06:19 AM
Neo's Avatar
Neo Neo is offline
 
Join Date: Oct 2001
Location: Anywhere
Posts: 1,817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

LOL guess not many people see a need for it.. if I used templates (coder joke) I would more so already have this installed.
Reply With Quote
  #5  
Old 08-09-2002, 03:08 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey i know this i doable by just set debugmode to on and add templates manually to the global set, but there are always some ppl out there who don't want to change the debug value
Reply With Quote
  #6  
Old 04-25-2003, 07:43 AM
solent solent is offline
 
Join Date: May 2002
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

me clicks install. some good hacks have a lot of templates to add and this hack will simply make your life easier on installing the hacks.

cool Xenon thanks
Reply With Quote
  #7  
Old 04-25-2003, 09:13 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just remove the code from the index.php the stefan

- miSt
Reply With Quote
  #8  
Old 04-25-2003, 11:21 AM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

erm, i have absolutley no idea what you want to say?

as this is the second post of you like that today, i have to ask:
Are you drunk dean?
Reply With Quote
  #9  
Old 04-25-2003, 12:30 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No i have a piece of metal in my mouth which is hurting greatly lol

You could change this code in admin/index.php:

PHP Code:
if ($debug==1) {
        
makenavoption("Download Set","template.php?action=downloadset","<br>");
        
makenavoption("Upload Set","template.php?action=uploadset","<br>");
        
makenavoption("Do <img> Tags","template.php?action=imgtags");



- miSt
Reply With Quote
  #10  
Old 04-26-2003, 04:00 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it's not the same

i know that section, because it's the functionality which gave me the idea ^^

debug mode is always enabled on my testboard
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:56 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08008 seconds
  • Memory Usage 2,297KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete