XF 1.2 Signature Permissions

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:

ss-2013-03-29_16-31-02.png


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.
 

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)
 

CTXMedia

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

Renegade

Well-known member
I have kept signatures turned off by default due to these missing permissions. Good addition.
 

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.
 

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.
 

CTXMedia

Formerly CyclingTribe
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?
 

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?
 

RobParker

Well-known 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.
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?
 

CTXMedia

Formerly CyclingTribe
Could you add an option to have a minimum number of post before being able to have a signature.
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)
 

Mike

XenForo developer
Staff member
Really handy update, one question though, can we limit the number of links? Or is that tied to the maximum number of lines?
Shouldn't be hard to add, though you can limit that that implicitly by number of printable characters.

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?
I can look into it though I do worry about it potentially being misleading to admins that don't realize that limitation.

No maximum height feature for signatures?
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.
 

erich37

Well-known member
yeah, nice...... but sorry to say: I do not see this feature as an "important priority" in XF-development.
:confused:
 
Reactions: HWS
Top