1. I have read the book completly and have completed all code examples and am ready to create my own UI

    According to http://www.wowwiki.com/Removing_Blizzard_default_frames you have to call the Hide() method on the default Blizzard frames to replace them, is this the only option?

    It seems a bit odd to me that you have to Hide() frames before you can replace them.

    I am attempting to replace the Quest log and have copied the following files into a new folder in the Addons directory.

    QuestFrameTemplates.xml

    QuestTimerFrame.xml

    QuestTimerFrame.lua

    QuestFrame.xml

    QuestFrame.lua

    QuestLog.xml

    QuestLog.lua

    When going in game the files load fine but instead of my QuestLogFrame named exactly the same as the Blizzard one the default quest log appears upon pressing L or clicking the button on the main menu.

    I guess you can't replace default frames by copying and pasting them into a new addon folder and this would mean that both frame the Blizzard one and my frame would respond to Quest events instead of just my addon.

    How do I completely disable all Blizzard Addons and stop them from processing events?

    Thanks

     

     

  2. I have read the book completly and have completed all code examples and am ready to create my own UI

    According to http://www.wowwiki.com/Removing_Blizzard_default_frames you have to call the Hide() method on the default Blizzard frames to replace them, is this the only option?

    It seems a bit odd to me that you have to Hide() frames before you can replace them.

    I am attempting to replace the Quest log and have copied the following files into a new folder in the Addons directory.

    QuestFrameTemplates.xml

    QuestTimerFrame.xml

    QuestTimerFrame.lua

    QuestFrame.xml

    QuestFrame.lua

    QuestLog.xml

    QuestLog.lua

    When going in game the files load fine but instead of my QuestLogFrame named exactly the same as the Blizzard one the default quest log appears upon pressing L or clicking the button on the main menu.

    I guess you can't replace default frames by copying and pasting them into a new addon folder and this would mean that both frame the Blizzard one and my frame would respond to Quest events instead of just my addon.

    How do I completely disable all Blizzard Addons and stop them from processing events?

    Thanks

     

     

  3. I have not read the whole book yet. I am about a third through it. But, I think I might be able to give some insight to this.

    When you are going to "replace" a default UI you are not really going to physically replace it. You are just hiding them. So, what you should be doing is naming your QuestLog frame something different from the Blizzard one and rebind the L key to open your frame instead of the Blizzard QuestLog.

    This will also make it really easy to have an option in your configuration to disable your frame if the user wants to, because it is just as simply as rebinding the key back to blizzards frame.

    This would be my best guess on how it is done.

  4. In this case you can look at an addon like QuestGuru that will disable the quest log and the associated subframes.  Alternatively you can look at DoubleWide, which just re-skins the default quest log instead of performing a replacement.

    There is no "easy" way to just replace a frame, and you should not ever try to replace a frame using the exact same name.  Instead you should alter the user interface to open your frame when the quest log is meant to be opened for example.

    You need to know (and understand) what events can cause the original frame to be opened, but you can unregister all events by calling Frame:UnegisterAllEvents().

  5. I have not read the whole book yet. I am about a third through it. But, I think I might be able to give some insight to this.

    When you are going to "replace" a default UI you are not really going to physically replace it. You are just hiding them. So, what you should be doing is naming your QuestLog frame something different from the Blizzard one and rebind the L key to open your frame instead of the Blizzard QuestLog.

    This will also make it really easy to have an option in your configuration to disable your frame if the user wants to, because it is just as simply as rebinding the key back to blizzards frame.

    This would be my best guess on how it is done.

    Completely correct =)

  6. Thanks for the heads up guys, was not sure how this UI replacement worked I thaught if you made a frame the same name it would load it instead of the default one.

    Ok so in a nut shell I must unregister all events for the questframe or any other frame I want to customise hide it and then bind my new frame to the L key.

     

    Great stuff XD

  7. I have not read the whole book yet. I am about a third through it. But, I think I might be able to give some insight to this.

    When you are going to "replace" a default UI you are not really going to physically replace it. You are just hiding them. So, what you should be doing is naming your QuestLog frame something different from the Blizzard one and rebind the L key to open your frame instead of the Blizzard QuestLog.

    This will also make it really easy to have an option in your configuration to disable your frame if the user wants to, because it is just as simply as rebinding the key back to blizzards frame.

    This would be my best guess on how it is done.

     Good thinking Batman