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

XF 1.3 Disable spoiler

Discussion in 'XenForo Questions and Support' started by Luis, Feb 9, 2014.

  1. Luis

    Luis Well-Known Member

    How I can disable the spoiler or alternatively use a conditional statement so that only certain usergroups can use it.

    Thanks, Luis.
  2. Dinh Thanh

    Dinh Thanh Well-Known Member


    Some spammer & SEO guys love this feature.
  3. Dinh Thanh

    Dinh Thanh Well-Known Member

    You also use temporary solution:

    Add this line to your extras.css:
    .redactor_dropdown a.spoiler {display:none}

    And go to Censoring: replace spoiler with quote.
    Luis and Alfa1 like this.
  4. Luis

    Luis Well-Known Member

    Thanks @Dinh Thanh this is a simple and temporary solution that will use waiting for the request.
  5. AndyB

    AndyB Well-Known Member

    You can remove it from the editor toolbar using this hack:


    line #351

    							title: this.getText('spoiler'),
    							callback: $.context(this, 'getSpoilerModal'),
    							className: 'icon spoiler'
    You will want to enable debug mode and select "Use uncompressed files from js/xenforo/full/" in the Debug Options page.
    Luis likes this.
  6. Luis

    Luis Well-Known Member

    Gracias @AndyB I will try your solution

Share This Page