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

XF 1.5 Restrict User Home Page Field

TheLaw

Well-known member
#1
I can set custom user fields for permissions across groups. But I can't seem to find how to restrict built in fields like "Home Page" - which is an instant source of spam and one I wish to restrict and/or turn off. It would be nice if this could be done by user group too, but I don't see a specific setting for this and perhaps I missed it. Is there a control for this field?
 

Brogan

XenForo moderator
Staff member
#2
That field can't be controlled in the same way.

You could edit the template and use a user group conditional statement.
 

Mike

XenForo developer
Staff member
#3
There is the "edit profile" permission, which covers this and move, but it may be too wide ranging for your needs.
 

TheLaw

Well-known member
#4
@Mike - Thanks for pointing it out. And you're also exactly right in that it will probably be wide ranging. @Brogan - thanks for the suggestion. While that will technically work, I think I'm going to look into developing an addon this week to manage these fields by permission groups so that I don't have to worry about future user groups (and what could be a growing list of template edits.) Generally I'm locking off fields the other way around for areas which probably no one but an administrator or maybe a mod/supermod may be able to access.
 

TheLaw

Well-known member
#5
Actually there is an even a better solution using the custom fields. Best to exclude them and recreate as desired. Thanks guys.
 

Alfa1

Well-known member
#6
The homepage field is the main giveaway to identify spammers in new registration moderation. Half of the spammers has this filled in.

It would be useful if the default fields could be controlled easier. I will use a template edit like I have been doing on vb.
Replicating default fields has it's downsides.