Announcement

Collapse
No announcement yet.

How to make template edits more manageable for upgrades

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to make template edits more manageable for upgrades

    Every time I up grade vB I have to revert a bunch of templates to get my forum back to how it was. It's nothing too hard, like some extra buttons here and there, this, and that, but I was wondering if there were any methods to make this easier.

    Could I make my own plug in that would put the code where I want it, or is there something else I don't know about?
    "Oh, so they have internet on computers now!" --Homer.


  • #2
    If your adding custom code, wrap this arround your code so you know what changes you have made.

    <!-- custom code start -->
    CODE HERE
    <!-- / custom code end -->

    Then all you have to do to find all code changes you made later, is use the template search engine and enter "custom code start" etc to find them all

    Comment


    • #3
      Originally posted by MRGTB View Post
      If your adding custom code, wrap this arround your code so you know what changes you have made.

      <!-- custom code start -->
      CODE HERE
      <!-- / custom code end -->

      Then all you have to do to find all code changes you made later, is use the template search engine and enter "custom code start" etc to find them all
      Thanks for the good tip!

      I've noticed a few products and plugins over at vb.org that you can use the admin cp to turn them off and on, and they make the necessary template changes. Is there a way that I can make my own product to make some simple code additions in common locations?

      Where can I find some documentation on how to create a plugin/product?
      "Oh, so they have internet on computers now!" --Homer.

      Comment


      • #4
        Here is the online documentation for the Plugin system:

        http://www.vbulletin.com/docs/html/plugin_system

        Here is some information regarding vB Plugins at vBulletin.org:

        [How to] Write Plug-ins/Hooks

        [How-to] Hooks and Plugins
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #5
          Take a look at the Template Modification System (TMS) plug-in on vb.org.

          Comment

          Loading...
          Working...
          X