How do I screen out portions of the User Profile??

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Copeland
    Senior Member
    • May 2000
    • 1354
    • 4.2.5

    How do I screen out portions of the User Profile??

    How do I screen out portions of the User Profile??

    I need to screen out the following:

    ICQ
    AIM
    Yahoo ID
    MSN ID

    Biography
    Interests
    Occupations

    Note: I do not want to delete these items from the member's account, I only want them blind when the member accesses their User CP.

    DAVID COPELAND
    Licensed VB Holder Since 2000
    Celebrating 22 Years with VB
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    You can remove the IM fields from the Edit Profile page by going to your:

    Admin CP -> Styles & Templates -> Style Manager -> « » -> Modify User Option Templates -> modifyprofile

    Remove this code:

    Code:
    <fieldset class="fieldset">
    	<legend>$vbphrase[instant_messaging]</legend>
    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
    	<tr>
    		<td colspan="2">$vbphrase[may_enter_identity_for_im]</td>
    	</tr>
    	<tr>
    		<td>$vbphrase[icq_number]:<br /><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="25" maxlength="30" /></td>
    		<td>$vbphrase[aim_screen_name]:<br /><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="25" maxlength="30" /></td>
    	</tr>
    	<tr>
    		<td>$vbphrase[msn_messenger_handle]:<br /><input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" /></td>
    		<td>$vbphrase[yahoo_messenger_handle]:<br /><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" /></td>
    	</tr>
    	</table>
    </fieldset>
    For the Biography, Interests, and Occupations fields, go to your:

    Admin CP -> User Profile Fields -> User Profile Field Manager -> [Edit]

    Set the Field Editable by User option to No for all 3 fields.

    Comment

    • Boofo
      Senior Member
      • Apr 2002
      • 2033
      • 4.1.x

      #3
      How would you make the biography field a textarea box (more than one line)?
      vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

      vBulletin.org's ol' Moderator

      I have a lifetime terrorist hunting permit - #091101

      chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

      Comment

      • Jake Bunce
        Senior Member
        • Dec 2000
        • 46598
        • 3.6.x

        #4
        Originally posted by Boofo
        How would you make the biography field a textarea box (more than one line)?
        Admin CP -> User Profile Fields -> User Profile Field Manager

        Edit the Biography field and set Profile Field Type to Multiple-Line Text Box.

        Comment

        • Boofo
          Senior Member
          • Apr 2002
          • 2033
          • 4.1.x

          #5
          Thank you, sir.

          Not to go off-topic, but Jake, how are you on the time part of vb?
          vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

          vBulletin.org's ol' Moderator

          I have a lifetime terrorist hunting permit - #091101

          chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

          Comment

          • Jake Bunce
            Senior Member
            • Dec 2000
            • 46598
            • 3.6.x

            #6
            Time part of vB? I'm not sure what you mean.

            Comment

            • Boofo
              Senior Member
              • Apr 2002
              • 2033
              • 4.1.x

              #7
              Originally posted by Jake Bunce
              Time part of vB? I'm not sure what you mean.
              Can I pm you on it?
              vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

              vBulletin.org's ol' Moderator

              I have a lifetime terrorist hunting permit - #091101

              chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                Sure. PM me if you want.

                Comment

                • Boofo
                  Senior Member
                  • Apr 2002
                  • 2033
                  • 4.1.x

                  #9
                  PM on it's way, sir.
                  vBulletin - Sometimes, I'm just like, Wow, and then I'm like, Whoa, and then I'm like, Damn.

                  vBulletin.org's ol' Moderator

                  I have a lifetime terrorist hunting permit - #091101

                  chmod a+x /bin/laden -- Allows anyone the permission to execute /bin/laden

                  Comment

                  • David Copeland
                    Senior Member
                    • May 2000
                    • 1354
                    • 4.2.5

                    #10
                    Originally posted by Jake Bunce
                    You can remove the IM fields from the Edit Profile page by going to your:

                    Admin CP -> Styles & Templates -> Style Manager -> « » -> Modify User Option Templates -> modifyprofile

                    Remove this code:

                    Code:
                    <fieldset class="fieldset">
                    	<legend>$vbphrase[instant_messaging]</legend>
                    	<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0" width="100%">
                    	<tr>
                    		<td colspan="2">$vbphrase[may_enter_identity_for_im]</td>
                    	</tr>
                    	<tr>
                    		<td>$vbphrase[icq_number]:<br /><input type="text" class="bginput" name="icq" value="$bbuserinfo[icq]" size="25" maxlength="30" /></td>
                    		<td>$vbphrase[aim_screen_name]:<br /><input type="text" class="bginput" name="aim" value="$bbuserinfo[aim]" size="25" maxlength="30" /></td>
                    	</tr>
                    	<tr>
                    		<td>$vbphrase[msn_messenger_handle]:<br /><input type="text" class="bginput" name="msn" value="$bbuserinfo[msn]" size="25" maxlength="50" /></td>
                    		<td>$vbphrase[yahoo_messenger_handle]:<br /><input type="text" class="bginput" name="yahoo" value="$bbuserinfo[yahoo]" size="25" maxlength="30" /></td>
                    	</tr>
                    	</table>
                    </fieldset>
                    For the Biography, Interests, and Occupations fields, go to your:

                    Admin CP -> User Profile Fields -> User Profile Field Manager -> [Edit]

                    Set the Field Editable by User option to No for all 3 fields.
                    The above works only for the Edit Profile, which is what a Member sees when accessing their User CP.

                    Now I need the same for the other "profile" that other members click on (usually by clicking on another member's User Name in VB Ver 3) to see another member's profile.

                    DAVID COPELAND
                    Licensed VB Holder Since 2000
                    Celebrating 22 Years with VB

                    Comment

                    • Jake Bunce
                      Senior Member
                      • Dec 2000
                      • 46598
                      • 3.6.x

                      #11
                      Originally posted by David Copeland
                      The above works only for the Edit Profile, which is what a Member sees when accessing their User CP.

                      Now I need the same for the other "profile" that other members click on (usually by clicking on another member's User Name in VB Ver 3) to see another member's profile.
                      Admin CP -> Styles & Templates -> Style Manager -> « » -> Member Info Templates -> MEMBERINFO

                      Remove this code:

                      Code:
                      			<if condition="$show['hasimicons']">
                      			<fieldset class="fieldset">
                      				<legend>$vbphrase[instant_messaging]</legend>
                      				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
                      				<if condition="$userinfo['showicq']">
                      				<tr>
                      					<td>$userinfo[icqicon]</td>
                      					<td><a href="#" onclick="return imwindow('icq', '$userinfo[userid]', 500, 450)">$userinfo[icq]</a></td>
                      				</tr>
                      				</if>
                      				<if condition="$userinfo['showaim']">
                      				<tr>
                      					<td>$userinfo[aimicon]</td>
                      					<td><a href="#" onclick="return imwindow('aim', '$userinfo[userid]', 400, 200)">$userinfo[aim]</a></td>
                      				</tr>
                      				</if>
                      				<if condition="$userinfo['showmsn']">
                      				<tr>
                      					<td>$userinfo[msnicon]</td>
                      					<td><a href="#" onclick="return imwindow('msn', '$userinfo[userid]', 400, 200)">$userinfo[msn]</a></td>
                      				</tr>
                      				</if>
                      				<if condition="$userinfo['showyahoo']">
                      				<tr>
                      					<td>$userinfo[yahooicon]</td>
                      					<td><a href="#" onclick="return imwindow('yahoo', '$userinfo[userid]', 400, 200)">$userinfo[yahoo]</a></td>
                      				</tr>
                      				</if>
                      				</table>
                      			</fieldset>
                      			</if>

                      Comment

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