MySpace & Facebook in Profile

To make the input field display in edit profile page:

Go to your editprofile template.

FIND:

Code:
<legend>$vbphrase[instant_messaging]</legend>

REPLACE WITH:

Code:
<legend>Contact</legend>

FIND:

Code:
<tr>
					<td>$vbphrase[skype_name]<br />
						<img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" />
						<input type="text" class="bginput" name="skype" value="$bbuserinfo[skype]" size="25" maxlength="32" dir="ltr" /></td>
					<td>&nbsp;</td>
				</tr>

ADD UNDER:

Code:
<td>MySpace Friend ID<br>
						<img src="http://www.YOURFORUM.com/forum/images/misc/myspace.gif" alt="" />

                                                <input type="text" class="bginput" 
name="myspace" value="$bbuserinfo[fieldXX]" size="25" maxlength="100" dir="ltr" /></td>

					
</td>


<td>FaceBook UserID<br>
						<img src="http://www.YOURFORUM.com/forum/images/misc/facebook.gif" alt="" />

                                                <input type="text" class="bginput" 
name="myspace" value="$bbuserinfo[fieldXX]" size="25" maxlength="100" dir="ltr" /></td>

					
</td>

Replace the XX's with appropiate field numbers that you created from the above post.
Also replace the YOURFORUM with your forum URL.

All it does is take the field that you enter in the custom fields in put them in the input fields under profile page. In order for it to display the user will have to enter in the custom fields which makes this kind of pointless to begin with. I do not know how to make the input field it's own variable. Maybe someone can figure that out and edit it?
 
Back
Top