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

XF 1.1 Disable "Home Page" from profile.

Discussion in 'XenForo Questions and Support' started by ix2013, Jul 19, 2013.

  1. ix2013

    ix2013 Member

    How can I disable/remove the website field on profiles and personal details?
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You will need to edit the template.
     
  3. ix2013

    ix2013 Member

  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Template: account_personal_details
    Find:
    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>
    
    Remove it.
     
    Adam Howard and Tracy Perry like this.
  5. Tracy Perry

    Tracy Perry Well-Known Member

    Or comment it out. :p
     
    Jeremy likes this.
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    Psh, who comments. <xen:comment> all the way. :love:

    I personally prefer removing or <xen:comment>'ing because it removes data sent to the end user.
     
  7. ix2013

    ix2013 Member

    This still leaves existing sites people have entered. How can I remove those?
     
  8. Jeremy

    Jeremy XenForo Moderator Staff Member

    Run the following query:
    Code:
    UPDATE`xf_user_profile`SET`homepage`=''
     
    Adam Howard likes this.
  9. Brogan

    Brogan XenForo Moderator Staff Member

    For future information, in 1.2 Batch Update Users can do that from the ACP.
     
    RoldanLT and cmeinck like this.
  10. RoldanLT

    RoldanLT Well-Known Member

    I don't think it's possible.
     
  11. Martok

    Martok Well-Known Member

    Yes it is.

    Screenshot_2014-07-06-12-12-04_20140706121820938.jpg
     
  12. RoldanLT

    RoldanLT Well-Known Member

    How do you search it?
    Just search all user?
    And I got 160K+.
    I thought I can search first those user that have homepage declared.
    Thanks Martok for that :)
     
  13. Martok

    Martok Well-Known Member

    You can't search for declared home pages first. If you're removing all home pages it doesn't matter, just search for all users and remove from all.
     
    RoldanLT likes this.
  14. Chimpie

    Chimpie Well-Known Member

    While we're currently still using 1.3.5, is this still the only way to remove the Home Page field? We seem to have members signing up just to create a link and never show up again. If we can remove this from even being an option I'm hoping that it will discourage these sign ups.
     
  15. Hoffi

    Hoffi Well-Known Member

    In the ACP or direct in the database, or user by user with edit user.
     
  16. FredC

    FredC Well-Known Member

    I can tell you from experience that they just move link locations. First it was the Home Page URL then i removed the option.. So they moved on to the about me tab.. So i removed that option to and now im finding them adding links to the location field and other custom fields...
    unnameddddd.jpg
     
    Last edited: Dec 23, 2014
  17. Chimpie

    Chimpie Well-Known Member

    But that doesn't remove the field.

    Ugh... yeah, that would probably happen with us as well. Thanks for the response.
     
  18. rainmotorsports

    rainmotorsports Well-Known Member

    Because of that I personally would leave the field in. Looking at recent sign ups it makes it easy to spot spammers. Sometimes before they even post.
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    ^ That

    That and the user change log are very useful for spotting spam accounts.
     
  20. FredC

    FredC Well-Known Member

    Yup most my attempts to stop them have thus far only made the task of spotting them more difficult.
     

Share This Page