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

XF 1.3 Hiding report button

Discussion in 'Styling and Customization Questions' started by sinful, Jul 28, 2014.

  1. sinful

    sinful Member


    On each post in a thread there is this "Report" button:

    2014-07-28 10.03.38 am.png

    I wish to hide it completely for every post. What is the best way to hide/remove this button?

  2. Amaury

    Amaury Well-Known Member

    Revoke the use of it in the user group permissions.
    sinful likes this.
  3. nttruong

    nttruong Member

    you can add this css to EXTRA.CSS so easy to hide it

    a.OverlayTrigger.item.control.report {
    display: none;
    sinful likes this.
  4. Amaury

    Amaury Well-Known Member

    No need for custom CSS. Just set the report content user group permission to Not Set (No):

    zagorskey, sinful and nttruong like this.
  5. nttruong

    nttruong Member

    if you want hide it from all group, css above is fast way :)
    sinful likes this.
  6. Amaury

    Amaury Well-Known Member

    Not if you have your user group permissions properly set.
    sinful and zagorskey like this.
  7. sinful

    sinful Member

    Thanks for the comments, appreciate it. I think the plus point for adding it under extra.css is pegging this customization to your theme.

    E.g. when u customize another theme, you may forget that you have removed "Report" permission under user permissions.
  8. Brogan

    Brogan XenForo Moderator Staff Member

    Amaury and sinful like this.
  9. squid

    squid New Member

    I would like to hide the button just in private messages. Any idea on that?

Share This Page