How to disable userprofile "Homepage Link" option?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • joeman
    Member
    • Jul 2010
    • 93
    • 4.0.x

    [Forum] How to disable userprofile "Homepage Link" option?

    I'm noticing that Im getting a ton of spammers registering on my site only so they can post a "homepage link" to their casino or porn site through the user profile homepage link.

    How do we disable this option so registered members cannot post a homepage link?
    www.CamaroNation.com
  • joeman
    Member
    • Jul 2010
    • 93
    • 4.0.x

    #2
    Anyone know what I can do? Thanks
    www.CamaroNation.com

    Comment

    • Trevor Hannant
      vBulletin Support
      • Aug 2002
      • 24358
      • 5.7.X

      #3
      You will need to edit the MEMBERINFO template and set a conditional round the following code to hide it or show it selected usergroups:

      Code:
                              <vb:if condition="$prepared['homepage']">
                                  <li>
                                      <a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
                                  </li>
                              </vb:if>
      For more on the relevant conditionals, please see this guide:

      Vote for:

      - Admin Settable Paid Subscription Reminder Timeframe (vB6)
      - Add Admin ability to auto-subscribe users to specific channel(s) (vB6)

      Comment

      • gears
        Member
        • Dec 2006
        • 53
        • 3.6.x

        #4
        I am having the same problem as the first poster with these casino/DUI lawyer spammers. I and moderators can easily identify and ban these guys, but I would just like to set the banned usergroup to not be able to use the homepage option, just as they are not able to use the signature option. How can I do this please?

        Comment

        • Steve Machol
          Former Customer Support Manager
          • Jul 2000
          • 154488

          #5
          There is no option to do that. This requires modifying the code. We cannot officially support code modifications or forums running modified code, however you can try searching or asking for help with this over at www.vbulletin.org.
          Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
          Change CKEditor Colors to Match Style (for 4.1.4 and above)

          Steve Machol Photography


          Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


          Comment

          • joeman
            Member
            • Jul 2010
            • 93
            • 4.0.x

            #6
            Originally posted by Trevor Hannant
            You will need to edit the MEMBERINFO template and set a conditional round the following code to hide it or show it selected usergroups:

            Code:
                                    <vb:if condition="$prepared['homepage']">
                                        <li>
                                            <a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
                                        </li>
                                    </vb:if>
            For more on the relevant conditionals, please see this guide:

            http://www.vbulletin.org/forum/showthread.php?t=231525
            Thanks for the response Trevor Ill see if I can figure out how the relevant conditional thing works.

            By the way, if in the vbulletin options you set the links to nofollow, does that apply to these homepage links were talking about? In other words does the vbulletin option of no follow apply to ALL links in the website everywhere?

            Thanks
            www.CamaroNation.com

            Comment

            • joeman
              Member
              • Jul 2010
              • 93
              • 4.0.x

              #7
              Originally posted by gears
              I am having the same problem as the first poster with these casino/DUI lawyer spammers. I and moderators can easily identify and ban these guys, but I would just like to set the banned usergroup to not be able to use the homepage option, just as they are not able to use the signature option. How can I do this please?
              Thats exactly the same issue Im having gears is with these casino spammers hitting the site on a daily basis each one creating a link in their user profile homepage...

              BTW why does vbulletin even have an option for a user homepage link? Who even uses that? Also I would think vbulletin would offer a disable button for it just likes theres an option for nofollow, but maybe I just dont understand the reason for it...
              www.CamaroNation.com

              Comment

              • joeman
                Member
                • Jul 2010
                • 93
                • 4.0.x

                #8
                Originally posted by Trevor Hannant
                You will need to edit the MEMBERINFO template and set a conditional round the following code to hide it or show it selected usergroups:

                Code:
                                        <vb:if condition="$prepared['homepage']">
                                            <li>
                                                <a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
                                            </li>
                                        </vb:if>
                For more on the relevant conditionals, please see this guide:

                http://www.vbulletin.org/forum/showthread.php?t=231525

                I went to the link you provided to vbulletin.org and if I were to put in a relevant conditional like this one for example:

                Would I just put this code right in front of the edit the "MEMBERINFO" template code you said I need to change?

                <vb:if condition="can_moderate()">Show this to all moderators</vb:if>
                www.CamaroNation.com

                Comment

                • Fynnon
                  Senior Member
                  • Jul 2008
                  • 123
                  • 3.8.x

                  #9
                  here: Disable Member Homepage Profile Option based on Post Count or Usergroup

                  Anti-Spam Options - Disable Member Homepage Profile Option based on Post Count or Usergroup by BOP5 vBulletin 4.x Add-ons

                  Comment

                  widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                  Working...