Newuser max links sitesetting


(Leo) #1

What is this setting for?

I’ve set it to 0, but a new user can still add urls to a post. like https://www.google.com/

Upone further debugging, it leads me here. cooked_stripped doesn’t return href urls because it is removed for having .onebox class.


(Jeff Atwood) #2

I believe this setting works, because I know @eviltrout set it to zero recently for a customer. Can you confirm Robin?


(Robin Ward) #3

That particular (old) setting is not the greatest, and can essentially be considered deprecated unless you want to depend on its behavior. It only applies to TL0, and as you noticed it does not include oneboxes.

There is another setting that is more powerful and probably does what you want, min trust to post links. It allows you to choose the trust level that the links applies to, and it counts oneboxes as links.


(Jeff Atwood) #4

Should we remove the old setting?


(Christoph) #5

As flawed as it may be, it is not really replaced by min trust to post links, is it? It makes sense to allow TL0 users to post a few links but not too many…


(Robin Ward) #6

Yes. It’s only the “same” when set to 0.


(Joshua Rosenfeld) #7

This topic was automatically closed after 33 hours. New replies are no longer allowed.