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

XF 1.2 Home Page

Craig

Active member
#1
Good day to you all.

I am curious if there is a way to prevent new members from using the Home Page section on their profiles?

Thanks in advance.
 

Lisa

Well-known member
#7
That'll stop you being able to edit anything in the profile though. If you want to allow profile editing but remove the homepage from all members, then you can edit the account_personal_details template and remove:-

Code:
<dl class="ctrlUnit">
            <dt><label for="ctrl_homepage">{xen:phrase home_page}:</label></dt>
            <dd><input type="url" name="homepage" value="{$visitor.homepage}" id="ctrl_homepage" class="textCtrl" /></dd>
</dl>
Or use a conditional around it to show only to specific groups.
 

Craig

Active member
#8
That'll stop you being able to edit anything in the profile though. If you want to allow profile editing but remove the homepage from all members, then you can edit the account_personal_details template and remove:-

Code:
<dl class="ctrlUnit">
            <dt><label for="ctrl_homepage">{xen:phrase home_page}:</label></dt>
            <dd><input type="url" name="homepage" value="{$visitor.homepage}" id="ctrl_homepage" class="textCtrl" /></dd>
</dl>
Or use a conditional around it to show only to specific groups.
Thank you so very much for your help. Unfortunately I do not know how to code so I wouldn't be able to make a "Conditional" though I would sure like to