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.

Syntax Highlighter BBCode

Discussion in 'Add-on Releases [Archive]' started by simunaqv, Nov 23, 2010.

  1. simunaqv

    simunaqv Well-Known Member

    I am releasing an add-on that introduces a new syntax bbcode that makes use of the Geshi library to provide syntax highlighting for many language syntax and markups. The highlighted code also contains hyperlinks for known language keywords that point to the appropriate knowledge base or developer documentation. Following are some screenshots which show the output of the Syntax Highlighter.



    I have added some Geshi themes found here to this add-on. You can choose different themes as shown in the following figure:


    Download (hosted on 4shared.com) . Alternate Download View attachment 6299
    kensi2209, DarkSign, Trekkan and 8 others like this.
  2. compwhizii

    compwhizii Active Member

    Could add this as an attachment here?
    CyberAP likes this.
  3. arabic

    arabic Member

    Uploaded to the attachments :cool:

    Attached Files:

    kensi2209, cornishman and Floris like this.
  4. cobra1162

    cobra1162 Active Member

    THX good addon
  5. ddmmh

    ddmmh Well-Known Member

    Sounds good, any screenshots? thanks
  6. simunaqv

    simunaqv Well-Known Member

    Thanks arabic for uploading the attachment. I had compressed it with WinZip and it was still exceeding the maximum allowed file size.
    ddmmh, screenshots are already present in the first post.
  7. v7web

    v7web Active Member

    I am getting the following error after installing:

    Fatal error: Class 'Nabeel_SyntaxHighlighter_BbCode_Formatter_Base' not found in /home/v7/public_html/library/XenForo/BbCode/Formatter/Base.php on line 1396
  8. v7web

    v7web Active Member

  9. gmaister22

    gmaister22 Active Member

    How you can update GeSHi? u download the new version and replace the files on the addon's dir?


    Does NOT work with RC3
  10. Andy.N

    Andy.N Well-Known Member

    It will break your board. Luckily I was able to remove it from ACP and the forum works again.
  11. simunaqv

    simunaqv Well-Known Member

    I just tested this add-on on my local xenForo 1.0.4 installation and it is working just fine.
  12. Trekkan

    Trekkan Well-Known Member

    Just tried this on 1.1 B2 and get the following error:

    Fatal error: Class 'Nabeel_SyntaxHighlighter_BbCode_Formatter_Base' not found in /home/XXXXXX/public_html/forum/library/XenForo/Application.php(396) : eval()'d code on line 1

    Hopefully you can update it as I'd really like to use it!
  13. Jeremy

    Jeremy Well-Known Member

    Make sure all files are uploaded correctly.
  14. Trekkan

    Trekkan Well-Known Member

    Redownloaded it, reuploaded all of the files, reinstalled the XML and get the same error. The posts are saved, but I get that error.

    One thing I noticed is that the first zip file link is dead and the second one has a rar inside of a zip. Then from there it looks like the library structure might be one level too deep? Dunno, gonna move some files to see, but, no such luck so far.

Share This Page