vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Home page URL (https://vborg.vbsupport.ru/showthread.php?t=250327)

MonsterDK 09-11-2010 05:13 PM

Home page URL
 
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 12:22 AM

Scroll down in this forum thread to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthrea...t=Homepage+url

MonsterDK 09-12-2010 12:49 PM

Quote:

Originally Posted by provencial (Post 2096949)
Scroll down in this forum thread to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthrea...t=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 01:13 PM

Quote:

Originally Posted by MonsterDK (Post 2096831)
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

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>

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

MonsterDK 09-12-2010 02:32 PM

Quote:

Originally Posted by provencial (Post 2096949)
Scroll down in this forum thread to where member Videx explains how to use a url in the method to change header link.


https://vborg.vbsupport.ru/showthrea...t=Homepage+url

Quote:

Originally Posted by ctweb (Post 2097117)
In your modifyprofile template

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>

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 03:08 PM

Quote:

Originally Posted by MonsterDK (Post 2097163)
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

Code:

<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 04:08 PM

Worked a treat. thanks :)

Vegas Dude 10-05-2010 05:07 PM

I've got V 3.7 and this didn't do the trick, any ideas anyone?

your24hourstore 10-05-2010 07:02 PM

nothing in this thread can work on 3.7


All times are GMT. The time now is 11:32 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02387 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete