View Single Post
  #3  
Old 03-21-2008, 09:58 PM
dancue dancue is offline
 
Join Date: Feb 2008
Posts: 569
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just feel that there's got to be an easier process.

I'd like to be able to have a mod that does it all for me. This mod could give me options like:
  • Style to be edited. (hit cntrl+a to select all)
  • Template to be edited:
  • Find: (input field) (example below)
    Find:
    Code:
    <input type="hidden" name="s" value="$session[sessionhash]" />
  • Dropdown box with 3 options: (replace with, add above, and below). (Example Below)
    Add Below:
    Code:
    <if condition="$vboptions['invites_enabled'] AND $verify_invite">
    	<input type="hidden" name="invite" value="$verify_invite[invitehash]" />
    </if>

It's especially difficult for those who have custom designs. I upgraded from 3.6.8 to 3.7 with many different styles. This resulted in 200+ templates that I had to look at template history for.

And being that I have a custom style, if I do take the time to compare and edit each template NOW, I would have to do it all over again once the style gets upgraded to 3.7 (which they will not do until the gold release.)...this time re-installing mods that require template edits.

The ideal process would be the below:
  • Upgrade to 3.7.
  • Revert ALL templates.
  • Upgrade style.
  • Add template edits for mods.

That would be the easiest process, for those with custom designs, not the template history. My suggestion above with the mod that gives you the options to find, replace, add above, below, etc. would make the process go by even quicker.

Also, imagine this same mod keeps track of these changes, allowing you to name each (preferably with the name of the mod) and save to the database. When it's time to upgrade again, you could simply go through the list, check off what mods you decide to continue using, and then download an xml file that will do the edits for you automatically so that you do not have to do it all over again.

There are endless possibilities with this mod. The most popular mods that require template edits could come default with the mod.

What do you think?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01302 seconds
  • Memory Usage 1,767KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • 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
  • showpost_complete