Results 1 to 4 of 4

Thread: Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5

    1. Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5 Details »»

      Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5

      Version: 1.7, by (Administrator) BirdOPrey5 is offline
      Developer Last Online: Feb 2017 Show Printable Version Email this Page
      Category: VB 4.x.x
      vB Version: 4.x.x Rating:  (1 votes - 5.00 average) Installs: 3
      Released: 04-10-2012 Last Update: Never Downloads: 34
      Supported Uses Plugins Auto-Templates

      Version 1.7

      The main purpose of this mod is to disable the option that allows members to set a homepage link on their profile page. Many admins feel this is an abused feature by spammers and others who register but do not contribute.

      This mod will allow to to disable the homepage field until the user reaches a minimum number of posts. Or you can simply disable the field for everyone.

      You can specify usergroups (Primary or Secondary) that are immune to the block so you can still allow mods or VIP groups to use the homepage link.

      There is an additional option that will auto-delete the homepage link from the profiles of any user that gets banned permanently.

      Uses auto template edits. In a heavily customized style you may need the manual edit below.

      Working on all 4.x VB versions to date.

      Donations always appreciated.

      Download Now


      Screenshots

      disable_hp_vb4_settings.jpg   ss_disablehomepagevb4-after1.jpg   ss_disablehomepagevb4-after2.jpg   ss_disablehomepagevb4-before.jpg  


      Show Your Support

      • If you like this modification support the author by donating.
      • This modification may not be copied, reproduced or published elsewhere without author's permission.
  1. #2
    Administrator BirdOPrey5's Avatar
    Join Date
    Aug 2011
    Location
    New York
    Posts
    3,055
    Blog Entries
    7
    The manual template edits for those interested are...

    Open modifyprofile template... search for "homepage"

    The code will look something like, but not exactly, this:
    HTML Code:
                <div class="blockrow">
                    <label for="tb_homepage">{vb:rawphrase home_page_url}:</label>
                    <input type="text" class="primary textbox" name="homepage" id="tb_homepage" value="{vb:raw bbuserinfo.homepage}" maxlength="200" dir="ltr" tabindex="1" />
                    <p class="description">
                        {vb:rawphrase let_other_visitors_know_url}
                    </p>
                </div>
    To disable it for everyone change type="text" to type="hidden", change value="{vb:raw bbuserinfo.homepage}" to value="" and change {vb:rawphrase let_other_visitors_know_url} to your own disabled message, like: This option has been disabled.

    To block it until a set number of posts is reached is a little more difficult. Replace the text above with:

    First you need a condition:
    Code:
    <vb:if condition="$vbulletin->userinfo['posts'] < 10"> 
        <div class="blockrow">
                    <label for="tb_homepage">{vb:rawphrase home_page_url}:</label>
                    <input type="hidden" class="primary textbox" name="homepage" id="tb_homepage" value="" maxlength="200" dir="ltr" tabindex="1" />
                    <p class="description">
                        You don't have enough posts to use this option.
                    </p>
                </div>
    <vb:else />
        <div class="blockrow">
                    <label for="tb_homepage">{vb:rawphrase home_page_url}:</label>
                    <input type="text" class="primary textbox" name="homepage" id="tb_homepage" value="{vb:raw bbuserinfo.homepage}" maxlength="200" dir="ltr" tabindex="1" />
                    <p class="description">
                        {vb:rawphrase let_other_visitors_know_url}
                    </p>
                </div>
    </vb:if>
    But remember this won't be your exact code so make sure you keep your customizations, you really just need to alter the code in red.

    Change the number 10 in the if condition to whatever minimum value of posts you want.
    -Joe
    Developer

  2. #3
    Will applying this mod automatically remove access to the home page of existing members? If so, what would be required to make sure it would apply to only new registrations?

    Thanks.

  3. #4
    Administrator BirdOPrey5's Avatar
    Join Date
    Aug 2011
    Location
    New York
    Posts
    3,055
    Blog Entries
    7
    There are 2 plugins that can be disabled to allow users who already have a homepage to keep it-


    • Homepage Kill on Member Dropdown
    • Homepage Kill on Profile
    -Joe
    Developer

Similar Threads

  1. Allow HTML in Posts (per post) by BOP5
    By BirdOPrey5 in forum Allow HTML (Per Post) - $15
    Replies: 3
    Last Post: 05-17-2012, 12:16 PM
  2. Share options on Homepage?
    By Helmut71 in forum Qapla' Help
    Replies: 1
    Last Post: 02-10-2012, 09:50 AM
  3. More share option at calendar events?
    By zeus in forum Qapla' Help
    Replies: 1
    Last Post: 10-13-2011, 02:20 PM
  4. Replies: 1
    Last Post: 10-10-2011, 08:15 PM
  5. Disable quoting of first post.
    By BirdOPrey5 in forum Qapla' Testing
    Replies: 1
    Last Post: 08-29-2011, 12:55 PM

Search Engine Search Tags

vb4 member vbulletin advanced group homepage where home do from how bop5 disablememberhomepage members by post download based permissions edit on profile www.xxdisable.com disable remove page count vb:raw vb user field option profiles

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •