Jump to content

Welcome to DevFuse Forums

Sign In  Log in with Facebook

Create Account
Welcome to DevFuse Forums, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of DevFuse Forums by signing in or creating an account.
  • Start new topics and reply to others
  • Subscribe to topics and forums to get email updates
  • Get your own profile page and make new friends
  • Send personal messages to other members.
Guest Message by DevFuse

(View All Products)Featured Products

  • Donations

    Help fund your forum with donations, setup goals and track member donations. Offer rewards for members donating.
  • Timeslips

    Have your members submit their race times and share with others.
  • Videos

    Allows your members to submit their own videos for community viewing. Support is included for all the major video sites.
  • Forms

    Build your own forms for your members without coding experience. Support included for pm, email and topics.
  • Collections

    Build a community database of items for your members. Full features custom fields included.


[IPS] (Wolf) Export Hook With Version Numbers

This topic has been archived. This means that you cannot reply to this topic.
No replies to this topic

#1 News Bot

News Bot

    Dedicated Member

  • Members
  • PipPipPipPipPip
  • 1,909 posts
  • IP.Board Version:N/A

Posted 28 August 2012 - 03:52 PM

Recommended for anyone who develops or exports hooks on a regular basis!

Very very simple. When exporting a hook, it will change the default name (which is just the hook's key with '.xml' added to it) to a name that includes the version number(s) in it.

Using this hook as an example, it changes this:wolf_exportHookWithVersionNumbers.xmlto this:wolf_exportHookWithVersionNumbers 33000 (v3.3 Alpha).xml
Tested on IPB 3.3.4. May work for 3.0.x to 3.2.x but is untested. (If you use a version prior to 3.3.0, please leave feedback with your version of IPB and whether or not this hook worked for you.)

This hook may not be redistributed, shared, copied, or duplicated in any way without my approval.

View Resource