PDA

View Full Version : Home page URL


MonsterDK
09-11-2010, 06:13 PM
Hi,

Is it possible to remove the Home Page URL field within the profile/totally so members cannot enter this option?

Thanks

provencial
09-12-2010, 01:22 AM
Scroll down in this forum thread (https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url) to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url

MonsterDK
09-12-2010, 01:49 PM
Scroll down in this forum thread (https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url) to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url

Hi,

I'm confused. How will this help me to remove the hompage box that the member enters their own hompage into?

I want to stop the ability for them to do that.

Thanks

ctweb
09-12-2010, 02:13 PM
Hi,

Is it possible to remove the Home Page URL field within the profile/totally so members cannot enter this option?

Thanks

In your modifyprofile template

<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>

Comment out/Remove that code.. And it won't show you that field..

MonsterDK
09-12-2010, 03:32 PM
Scroll down in this forum thread (https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url) to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthread.php?t=231153&highlight=Homepage+url

In your modifyprofile template

<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>

Comment out/Remove that code.. And it won't show you that field..

Thank you,, your a star.

Is there also a way to remove it from the registration screen? so there is no way at all the member can enter the URL to start with?

Thanks again

ctweb
09-12-2010, 04:08 PM
Thank you,, your a star.

Is there also a way to remove it from the registration screen? so there is no way at all the member can enter the URL to start with?

Thanks again


You mean when Facebook Connect is enabled? Because on the normal registration Homepage URL isn't an option..

If you do mean in FB mode, then..

Look for this code in facebook_importregister


<div class="blockrow">
<label for="fb_homepageurl">
<input type="checkbox" name="fboptions[usehomepageurl]" value="1" checked="checked" id="fb_homepageurl" tabindex="1" />
{vb:rawphrase home_page_url}:
</label>
<div class="rightcol">
<input type="text" class="primary textbox" name="homepageurl" id="homepageurl" maxlength="200" tabindex="1" value="{vb:raw profileinfo.homepageurl}" />
</div>
</div>



Cheers..

MonsterDK
09-12-2010, 05:08 PM
Worked a treat. thanks :)

Vegas Dude
10-05-2010, 06:07 PM
I've got V 3.7 and this didn't do the trick, any ideas anyone?

your24hourstore
10-05-2010, 08:02 PM
nothing in this thread can work on 3.7