1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

BB Code Manager

Discussion in 'Add-on Releases [Archive]' started by Jeremy, Oct 8, 2010.

Thread Status:
Not open for further replies.
  1. Jeremy

    Jeremy Well-Known Member

    A new updated version has been uploaded to fix my numerous stupid, stupid programming errors! Please redownload and install!

    And now, I'm extremely proud to announce the immediate release of v1.2, the next generation, Xen-Powerful version of BB Code Manager! What does this mean for you? Well, the add-on comes with 5 custom BB Codes by default:
    • Header ([h2][/h2])
    • Float ([float="right/left/middle"][/float])
    • Spoiler ( OR )
    • User (Username OR [user]Username[/user])
    • Flash ([flash="width, height"]movieURL[/flash] OR [flash]movieURL[/flash])
    What's new in v1.2?
    1. Powerful new options that expose all of the options available via PHP (would have required the author to follow my guide, rather than use this).
    2. Support for an arbitrary number of options, with the ability to reuse them through a new "advanced options" set up that will find and replace strings in the following format {1}, {2}, {3}, etc. where each number represents that particular options.
    3. A new, standardized way for those who use PHP callback to use multiple parameters (such as the spoiler and flash BB codes).
    4. An import, export system! Now, its easier than ever to share your creations via an easy to use import and export system that is modeled after the add-on import system, so it should be familiar to all of you. There is a BB Code repository collection started here: http://xenforo.com/community/threads/bb-code-manager-bb-code-xml-repository.8470/
    5. And of course, there is the required bug fixes in each update!
    And of course, you can still do all the same things as v1.1... you can easily add you're own Custom BB Codes via an easy to understand, very XenForo-esqu manager in the ACP (found along with Media BB Code Sites set up & Smilies). This allows you to see your codes, search your codes, enable, disable, add, edit, delete -- all from a powerful set up:

    ACP Home.png

    Add BBCode.png

    Edit BBCode.png
    But, just to be sure that you're users know all about your codes, v1.1 integrates with the BB Code Help page to show any & all active Custom BB Codes.

    And, there are only 2 known problems:
    1. If you attempt to add a new BB Code, and set the tag as one previously added, it will overwrite the previous tag rather than rejecting this. Be very careful when adding tags. This will be fixed in v1.1.1 soon.
    2. There is no editor integration until I solve that one.
    And, as if this simple system was powerful enough, if you have knowledge with PHP you can set a tag to have a PHP Callback (Spoiler, Flash, and User all use this), which allows you access to all of XenForo, and more power things that even I haven't thought of!

    Now, how do we get this installed / updated?

    Installation Instructions
    1. Upload the /KingK/ directory to your /library/ directory if you don't already have a /KingK/ directory. If you do, upload the BbCodeManager directory to your /library/KingK/ directory. (Note: just upload /KingK/, nobody should have it already!)
    2. Install add-on XML which is located within the /KingK/BbCodeManager/ directory.
    3. Edit the template help_bb_codes and add the following right before the final </ul>:
       <xen:include template="help_custom_bbcodes" />
    4. Enjoy!
    Upgrade Instructions
    1. Upload the new files.
    2. Import XML located in the /KingK/BbCodeManager/ directory.
    3. If you modified help_custom_bbcodes, please revert or merge changes.
    4. Enjoy the new features!

    You may not redistribute BBCode Manager or any of my other add-ons without prior permission. This is copyrighted code, and any release not prior authorized will be handled as theft of code.

    Attached Files:

  2. Jeremy

    Jeremy Well-Known Member

    Revision Log
    1. v1.0.0 - October 7th, 2010
      Initial List with the following BBCodes:
      • Spoiler
      • User
      • Flash
    2. v1.1.0 - November 9th, 2010
      The real BB Code Manager
    Fuhrmann, EQnoble, Veer and 1 other person like this.
  3. Martyn

    Martyn Active Member

    Yay thanks KING K
  4. Sir nick

    Sir nick Well-Known Member

    Posted - (marks the thread for me). Gonna maybe use later down the road.
  5. ArnyVee

    ArnyVee Well-Known Member

    Watching this thread and the added BBCode options added ;)

    Definitely will be adding for the spoiler code though, just not sure when.

    Thanks for sharing KK! :D
  6. Jeremy

    Jeremy Well-Known Member

    Martyn is having issues getting the user tag to work properly, I'm looking into it for him, and hopefully, if it is an error with my program, I will update real quick. :/ Let's hope its not that as it works for me.
  7. Jeremy

    Jeremy Well-Known Member

    Updated the package, if you have already installed, just overwrite files.
  8. Martyn

    Martyn Active Member

    all sorted now :)
  9. kde

    kde Member

    I successfully installed BbCodeManager. I can see it at addons list, but i can't use the provided bbcodes. I don't see the buttons (spoiler etc) at the editor.
    Can u tell me why ?
  10. Brogan

    Brogan XenForo Moderator Staff Member

    I expect you need to manually enter the codes as editing the editor is a separate issue.
    Do you want me to edit the title?

    I've never installed an add-on before, what's the procedure?
  11. Martyn

    Martyn Active Member

    upload the files to the correct place, upload the xml file.. via install addon :)
  12. Jeremy

    Jeremy Well-Known Member

    Just upload to your /library/ in install the XML. And nope, it'll be a full blown manager anyways.

    Use them manually, I will have to look into getting them into the editor (I didn't see an easy way).
  13. siros

    siros Member

    well , It took a while to find out where is this single option hiding.:p

    Thank you King K. :)
  14. Jeremy

    Jeremy Well-Known Member

    Once I write the UI for this, it'll all be located in the same place. :)
  15. Adder

    Adder Active Member

    BB code spoiler isn't work well. I post this code
    [spoiler="here title of spoiler"]text spoiler[/spoiler]
    Secondly I press on button "here title of spoiler"
    Thirdly I press on button "Hide"
    And then I see button "Show spoiler", and not the name of the spoiler. Why? Can you fix it?
    CyberAP likes this.
  16. Jeremy

    Jeremy Well-Known Member

    Can you post a screen shot please? I'm not understanding the issue.
  17. Adder

    Adder Active Member

    CyberAP likes this.
  18. CyberAP

    CyberAP Well-Known Member

    Adder likes this.
  19. anotheralias

    anotheralias Well-Known Member

    When trying to extract it in Windows 7, I got the message that.... (ah hell! I've already forgotten it). Something like, "a file is preventing something-something encryption, do you want to ___ anyway." Anybody know what I mean from that vague, unhelplful description?
  20. Jeremy

    Jeremy Well-Known Member

    Ah. So "button" changes to "show spoiler"? Looks like I need a helper function for that.

    I cannot possibly know why that is happening, but it should be fine if you open.
    anotheralias likes this.
Thread Status:
Not open for further replies.

Share This Page