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

XF 1.2 Signature Permissions

Discussion in 'Have You Seen...?' started by Mike, Mar 29, 2013.

  1. Mike

    Mike XenForo Developer Staff Member

    XenForo 1.2 now has a new collection of permissions to control what your users can put in their signatures.

    For performance reasons, these restrictions are only checked when a user tries to change their signature. It will not invalidate existing signatures.

    The easiest thing to do is to simply show the permissions that can be set:


    For user friendliness, if a user tries to use a BB code tag that they don't have permission to use, it will simply be stripped out. For other errors (too many images, too long, etc), the user will receive an error.
    tia, JJJ, Rudy and 126 others like this.
  2. gfc

    gfc Active Member

    Veeeery nice!
  3. Kevin

    Kevin Well-Known Member

    Mike, absolutely great! This will make it very easy to have staged usergroup permissions so that new members are limited in what they can put in their sig until they meet criteria that moves them into a secondary group that allows for greater permissions. (y)
    MichaelDance, Lisa and 0ptima like this.
  4. CyclingTribe

    CyclingTribe Well-Known Member

    Great stuff - thanks. Any thoughts on an optional setting to restrict the dimensions of sig images?
  5. Renegade

    Renegade Well-Known Member

    I have kept signatures turned off by default due to these missing permissions. Good addition.
  6. Mike

    Mike XenForo Developer Staff Member

    It's basically pointless IMO because I'd just use a small image, save the sig, and then change it to another image. That's where uploaded images would be important.
  7. dutchbb

    dutchbb Well-Known Member

    I like that performance has priority, and for me at least it doesn't matter that it's only checked at change.
  8. lazer

    lazer Well-Known Member

    Nice. That should stop those 1 post dirty spammers from posting sig spam :D
  9. CyclingTribe

    CyclingTribe Well-Known Member

    Sorry, I was thinking about uploaded images - obviously we can't control linked images.

    ATM we can set dimension limits for uploaded files in posts, I was wondering if the same could be applied to signature images? Or are all uploads (wherever they are posted) stored / assessed in the same way?
    Fufu likes this.
  10. Ingenious

    Ingenious Well-Known Member

    Good to see this, finally the end of rampant, ridiculously sized signatures ;)
    Lucas likes this.
  11. Sage Knight

    Sage Knight Well-Known Member

    Really handy update, one question though, can we limit the number of links? Or is that tied to the maximum number of lines?
    Corwin likes this.
  12. RobParker

    RobParker Well-Known Member

    It'd still stop most non-technical users though. Our biggest problem is people using massive external animated gifs. Any chance you could add an option to prevent that?
  13. M@rc

    M@rc Well-Known Member

    Can't wait for xF 1.2 :cool:. Cool feature.
  14. mariohn

    mariohn Member

    Could you add an option to have a minimum number of post before being able to have a signature.
  15. CyclingTribe

    CyclingTribe Well-Known Member

    That can already be done with usergroup promotion.

    Lower groups have "Edit signature" set to (no) then promote to a higher group after x no. posts and set it to allow. (y)
    0ptima likes this.
  16. Biker

    Biker Well-Known Member

    Happy days! No more annoying images in sigs!
    DBA likes this.
  17. faeronsayn

    faeronsayn Well-Known Member

    No maximum height feature for signatures?
  18. Mike

    Mike XenForo Developer Staff Member

    Shouldn't be hard to add, though you can limit that that implicitly by number of printable characters.

    I can look into it though I do worry about it potentially being misleading to admins that don't realize that limitation.

    It's not possible to really define a maximum height here as it's down to browser variations, etc. You can do this trivially through a max-height+overflow hidden CSS.
    faeronsayn likes this.
  19. erich37

    erich37 Well-Known Member

    yeah, nice...... but sorry to say: I do not see this feature as an "important priority" in XF-development.
    HWS likes this.
  20. Luxus

    Luxus Well-Known Member

    Excellent. XF is becoming better and better (y)

Share This Page