The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Remove home page url?
Is it possible to remove this option from registration and the control panel?
Many thanks in advance! |
#2
|
|||
|
|||
Yes, via editing templates. Find the bit of code in the templates and just remove them. Optionally, you might want to remove it from the profile view page too? Removing them from templates will cause the page not to generate that field, so they can't see it fill it out, BUT anyone who filled it out already will still have it. You'll either need to manually remove those, hide them from appearing in the profile as I suggested, or run a query.
Is there a field for your homepage in the registration? I couldn't find any (note that I'm using 3.5.8, so the code might be a bit different, but the solution will be the same). I always recommend you to back up your templates before changing them in case anything goes wrong. To remove it from the UserCP, in the "modifyprofile" template, remove this. Code:
<fieldset class="fieldset"> <legend><label for="tb_homepage">$vbphrase[home_page_url]</label></legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%"> <tr> <td>$vbphrase[let_other_visitors_know_url]</td> </tr> <tr> <td>$vbphrase[home_page_url]<br /><input type="text" class="bginput" name="homepage" id="tb_homepage" value="$bbuserinfo[homepage]" size="50" maxlength="200" dir="ltr" /></td> </tr> </table> </fieldset> Code:
<if condition="$show['homepage']"> <tr> <td> $vbphrase[home_page]:<br /> <a href="$userinfo[homepage]" target="_blank" dir="ltr">$userinfo[homepage]</a> </td> </tr> </if> Code:
<if condition="$show['homepage']"> <tr><td class="vbmenu_option"><a href="$post[homepage]"><phrase 1="$post[username]">$vbphrase[visit_xs_homepage]</phrase></a></td></tr> </if> |
#3
|
|||
|
|||
Wow thanks soooo much!
|
#4
|
|||
|
|||
Hello!
Would anyone know where to remove the homepage url in vb 3.7, under the users "Contact Info" tab? The fix provided by kiwi76 worked for the "modifyprofile" template, which worked for any new users, but I couldn't find the code listed for the "MEMBERINFO" template. Thanks for any help, or suggestions. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|