• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

code

  1. CMTV

    CodeMirror PHP mode is broken in ACP

    Hi! Put the code below in any admin template (for example in addon_list): <xf:codeeditorrow mode="php" data-line-wrapping="true" class="codeEditor--autoSize" /> This code creates code editor row without any errors: But the code is not highlighting and throws an error when hitting "Enter"...
  2. BassMan

    [cXF] Hide Spoiler/Code content 1.1.0

    Description: With this add-on you can hide the content of spoiler [SPOILER] or code [CODE] BBcode with permissions by user group. Features: hide spoiler content and show text (phrased for easy edit and translate) hide code content and show text (phrased for easy edit and translate)...
  3. CMTV

    Additional language for [code=...] bbcode

    Since xenForo 2.0.1 release you can add additional language support on your forum. There was no way to do so before due to this bug. This method of adding additional language was proposed by @Chris D. In this example, I will be adding LaTeX support. 1. Downloading PrismJS components xenForo...
  4. CMTV

    Fixed Additional language for [code=...]

    I tried to follow an algorithm of adding custom language for bbcode proposed by @Chris D . It is not working. I tried to figure what is going wrong and here is what I found. I will use Scala language here as an example. The proposed method is working fine if we set "scala" directly in...
  5. Filippo

    XF 1.5 New members with hard bounced email

    Hello, I tried searching for a while, sorry if this is already stated somewhere. When a new member registers with an invalid email, I can correctly see the the hard bounce in the logs. However, the state of his account is not changed to "Email invalid (bounced)", instead it stays on "Awaiting...
  6. grahamperrin

    Fixed Visible loss of white space from [CODE] code

    Posts such as https://forums.freebsd.org/threads/51009/#post-327495 suffer from this bug. A XenForo site administrator recently sent me a private message emphasising the importance of precision formatting when posting to The FreeBSD forums … and so on. The following examples should make clear...
  7. iseamonet

    XF 1.5 Styling Thread View Information into Buttons

    This is the code I am trying to style <xen:title>{xen:helper threadPrefix, $thread, escaped}{$thread.title}{xen:helper pagenumber, $page}</xen:title> <xen:h1>{xen:helper threadPrefix, $thread}{$thread.title}</xen:h1> <xen:description> {xen:phrase discussion_in_x_started_by_y_date_z...
  8. Dadparvar

    Xen-Pro Services and Offers

    Hi, As you may see in some of my add-ons associated thread, people asked for discounts (mostly because they had plan to purchase add-ons when they were in lower price but because of new features they became higher) And some people had some good suggestions like offering bundle. So, mostly...
  9. BassMan

    [cXF] Transparent Code Background 1.0.0

    Instead of this: ... have this:
  10. Eagle

    Compress HTML Source 1.0.2

    There are many ways to improve page load speed and HTML compression is one of them. This add-on will compress your HTML and removing standard comments, whitespace, including new lines, carriage returns and excess spaces. Don't forget to most importantly by ignoring <pre>, <textarea>, <script>...
  11. BassMan

    Select All Code

    BassMan submitted a new resource: Select All Code - Easily select all code for coping in code box. Read more about this resource...