Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Beta Releases

Reply
 
Thread Tools
Details »»

Version: , by Admin (Coder) Admin is offline
Developer Last Online: Nov 2024 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 11-26-2001 Last Update: Never Installs: 0
Is in Beta Stage  
No support by the author.

I'm releasing this as beta because:
  • This has not been tested enough to prove it's working 100%.
  • Your templates aren't something that can be compromised.

In short, what does this hack do:
  • Can write all your templates into files, with any extension you'd like (.html is my favorite), having each template in its own file.
  • Can read from existing template files and save them back to your forum system.
  • Now with option to selectively choose what templates to import / export!

To install:
  • Download the attached ZIP file, extract it and upload do_template.php to your forum admin folder.
  • Go to the file in your browser.
  • If you are not on a Windows server, make sure PHP has permission to write (CHMOD 0777) in the folder you specify.
  • If the folder doesn't exist, PHP will attempt to create it, but you will need write permissions (CHMOD 0777) in the parent folder of it.

Please test this if you can.
If you're trying this out on your real board, it should be safe, but I highly recommend backing up your styles before using it.

This is the place to make suggestions, I expect some!

Show Your Support

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

Comments
  #22  
Old 12-02-2001, 05:00 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok new file is up, download and upload!
Reply With Quote
  #23  
Old 12-02-2001, 05:51 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I downloaded with Opera and am getting a different file. WinXP IE 6 is screwed on my end.


Ah.... Yes. Much better Chen. I now not only can see what templates are what, they are devided, color coded and EDITABLE?

Wow..... Better than I asked for. I downloaded and verified manually that it was done correctly. I'll work on the import this after noon and post my finds.

Thanks for the update, this is much better.
Reply With Quote
  #24  
Old 12-02-2001, 07:31 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow!! I thought the first version was great. This new version is incredible!! Awesome work, Chen.
Reply With Quote
  #25  
Old 12-03-2001, 11:08 AM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks guys.

I would like a button that will automatically select all custom templates... problem is my Javascript knowledge is very limited so I have no idea where to begin with it.
If anyone can give me a hand it would great.

Maybe add a yes/no button to say "Only export / import custom templates"? Any thoughts?
Reply With Quote
  #26  
Old 12-03-2001, 04:08 PM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[QUOTE]Originally posted by FireFly
Maybe add a yes/no button to say "Only export / import custom templates"? Any thoughts?
Reply With Quote
  #27  
Old 12-03-2001, 05:27 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I agree,

It would be a whole lot nicer and more functional to be able to select by grouping and individual files. In other words, instead of backing up and overwriting ALL templates, it would be super to go in and grab templates by sets with a way to include only desired templates. Ex. Custom Templates, User Templates, or what have you. With individual selection next to desired templates to back up. I'm picturing a radio button selection with the heirachy set as within the control panel for grouping. Super if we could see the edit/expand full template scheme with individual file selection. (radio)

At the present if you modify a few templates, you will be backing up all of the templates including the templates that are not modified. If this could be set up in such a way that templates were able to be selected individually ...( say by having a selection next to it) we wouldn't have to over write templates within the folder nor would we have to download all the non modified templates every time.

Chen how difficult would it be to have a "selectable by group or file" type system with a "select all" funtion?

This would give the user the overall protect your files and backup plan, while allowing for the person modifying specific templates to keep on top of things also.

Yes. We need this. Do you really need javascript for this? Why couldnn't we use the vBulletin file that expands the templates for edit? Iwouldn't mind seeing something like the edit template pages for backup. You could expand the groups and choose the templates you wish. We would however need a "Select All" function as well as a "Clear all selections".

Also, if they are going to tag names with hacks around here I would ask that they find the file attatched to my name and remove it. Whatever the heck Imp is.

Thanks
Reply With Quote
  #28  
Old 12-04-2001, 12:05 PM
Admin's Avatar
Admin Admin is offline
Coder
 
Join Date: Oct 2023
Location: Server
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hooper, I really appreciate all your help and feedback.
Do you happen to have ICQ? If so, please contact me when you can. My number is listed in my profile.

Another change I plan to do is separating the custom templates and original templates in the selecting box.
Also in that area, I would like to group templates by their groups as they are listed in the Admin CP temlpates page.
I'll mess around with the idea a bit later and see what I can come up with.

Hooper I would really like to address all your ideas, but it's a bit hard for me to express what I think in English.
If we can talk in real time (ICQ or IRC) it would be great.
Reply With Quote
  #29  
Old 12-04-2001, 12:25 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OkeyDokey.

142002484

I'm live.
Reply With Quote
  #30  
Old 12-29-2001, 06:17 AM
DelusionalMind's Avatar
DelusionalMind DelusionalMind is offline
 
Join Date: Dec 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[high]* DelusionalMind rushes to install
[/high]

you rule dude!!!
Reply With Quote
  #31  
Old 12-29-2001, 12:55 PM
Hooper's Avatar
Hooper Hooper is offline
 
Join Date: Oct 2001
Location: St. Louis, Mo
Posts: 286
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This has now been released as TBS (template backup system). I would download the hack from that thread. I don't know how updated this thread is.
Reply With Quote
Reply

Thread Tools

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:57 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.14133 seconds
  • Memory Usage 2,300KB
  • Queries Executed 25 (?)
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)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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