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

XF 1.3 how to remove Home Page section from xenforo

Discussion in 'XenForo Questions and Support' started by garry420, Mar 13, 2015.

  1. garry420

    garry420 Active Member

    I want to remove Home Page section from my forum. is there a simple way to do it ?

    next question, i haven't upgraded my forum to XenForo 1.4.4 , do i need to pay since my getting updates option have expired but i was eligible to get it since update came on january .

    regards
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    There is no home page in the core software.
    If you want to remove the Home tab from the navigation, empty the Home Page URL field.

    You can download the latest version prior to your support and upgrades expiring.
     
  3. garry420

    garry420 Active Member

    how to do that ? can u tell the steps..
     
  4. Martok

    Martok Well-Known Member

    Use the ACP search to find "home page url".
    Remove any URL in the field and save.
     
  5. garry420

    garry420 Active Member

    mate tried doing that but its not happening :(
     
  6. garry420

    garry420 Active Member

    upload_2015-3-15_20-34-46.png

    I even tried doing this :(
     
  7. Brogan

    Brogan XenForo Moderator Staff Member

    Which "Home Page" section are you referring to exactly?
     
  8. garry420

    garry420 Active Member

    This section
    upload_2015-3-15_22-11-46.png

    Regards
     
  9. FredC

    FredC Well-Known Member

  10. Brogan

    Brogan XenForo Moderator Staff Member

    Edit the member_view template and comment out or delete this block of code:
    Code:
    <xen:if is="{$user.homepage}">
        <dl><dt>{xen:phrase home_page}:</dt>
            <dd><a href="{xen:string censor, $user.homepage, 'x'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd></dl>
    </xen:if>
     
  11. garry420

    garry420 Active Member

    is this right ? if yes i will replace it
    <! <xen:if is="{$user.homepage}">
    <dl><dt>{xen:phrase home_page}:</dt>
    <dd><a href="{xen:string censor, $user.homepage, 'x'}" rel="nofollow" target="_blank" itemprop="url">{xen:string censor, $user.homepage}</a></dd></dl>
    </xen:if>>
     
  12. Brogan

    Brogan XenForo Moderator Staff Member

    You need to use xen:comment but it's probably easier if you just delete it.
     
  13. garry420

    garry420 Active Member

    even the above work isn't effective :(
     
  14. MikeMpls

    MikeMpls Well-Known Member

    It would be better if we could just remove it from the form & keep it from ever being entered in the first place.

    The spam in this field has become a royal pain multiplied by numerous forums.
     
  15. MikeMpls

    MikeMpls Well-Known Member

    But that did get me thinking -- tried commenting out this piece of code in template "member_edit":


    <xen:comment>
    <xen:if is="{$userCanEditProfile} OR {$user.homepage}">
    <dl class="ctrlUnit">
    <dt>{xen:phrase home_page}:</dt>
    <dd><input type="url" name="homepage" value="{$user.homepage}" class="textCtrl" /></dd>
    </dl>
    </xen:if>
    </xen:comment>


    Will see if it puts an end to the home page spam.
     
  16. garry420

    garry420 Active Member

    My upgrades have expired but i did not install upgrade for which i was eligible . can i do it now ?
     
  17. Brogan

    Brogan XenForo Moderator Staff Member

    The latest version you are able to download will be available in your customer area.
     
  18. garry420

    garry420 Active Member

    I tried but what i see is in the download is the set-up of xenforo .. is dat updated version ?

    regards
     
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Unfortunately I have no idea what you are trying to say.

    All the versions available to you can be downloaded from your customer area.
     
  20. MikeMpls

    MikeMpls Well-Known Member

    Editing "member_edit" wasn't sufficient. I received more home-page spam overnight.

    So I searched for & commented out all references to home page, which results in 5 template edits:

    account_personal_details
    news_feed_item_user_homepage
    message_user_info
    member_edit
    member_view​

    That was 9 days ago -- no home-page spam since.

    I'll turn it into an add-on as soon as I have time, need to get one of my lightly-loaded not-really-used forums up to 1.4.6 first (above was done on an
    active forum still on 1.4.0 Beta 2).
     

Share This Page