there were alot of other bugs in this too
and it wasnt very well explained
the td clas row1 and row2 needed to be modified to keep in theme with the rest of the page
the registration form didnt have any input boxes just teh {user_msn} etc so users couldnt enter their info
also in the db definitions file some 1 and 0 were in wrong place causing users who edit profile to need to enter all instant messenger ids even if they dont have any or it wouldnt save the other fields info to database
i have modified all this and it looks something like the following
find in member_profle.html (in your template folder)
<tr>
<td class="row2"><b>{lang_icq}</b></td>
<td class="row2">{if user_icq}<a href="http://wwp.icq.com/scripts/search.dll?to={user_icq}">{user_icq}</a> (<b>{user_icq_status}</b>){endif user_icq}</td>
</tr>
and add the following
below it
{if user_msn}<tr>
<td class="row2"><b>{lang_user_msn}</b></td>
<td class="row2"><A HREF="http://checker.tdknights.com:1337/message/msn/{user_msn}">{user_msn}
<IMG SRC="http://checker.tdknights.com:1337/msn/{user_msn}"
align="absmiddle" border="0" ALT="MSN Online Status Indicator"
onerror="this.onerror=null;this.src='http://tdknights.com/checker/msnunknown.gif';"></A></td>
</tr>{endif user_msn}
{if user_yim}<tr>
<td class="row2"><b>{lang_user_yim}</b></td>
<td class="row2"><a href="http://profiles.yahoo.com/{user_yim}" target="_blank">{user_yim}</a> <a href="ymsgr:sendIM?{user_yim}">
<img border=0 src="http://opi.yahoo.com/online?u={user_yim}&m=g&t=2"></a></td>
</tr>{endif user_yim}
{if user_aim}<tr>
<td class="row2"><b>{lang_user_aim}</b></td>
<td class="row2"><A HREF="aim:goim?screenname={user_aim}">{user_aim}
<IMG SRC="http://checker.tdknights.com:1337/aim/{user_aim}"
align="absmiddle" border="0" ALT="AIM Online Status Indicator"
onerror="this.onerror=null;this.src='http://tdknights.com/checker/aimunknown.gif';"></A></td>
</tr>{endif user_aim}
<tr>
<td class="row2" valign="top"><b>{lang_user_description}</b></td>
<td class="row2">{user_description}</td>
</tr>
find this in the member_editprofile.html page (also in ur templates folder)
<tr>
<td class="row2"><b>{lang_icq}</b></td>
<td class="row2"><input type="text" name="user_icq" size="30" value="{user_icq}" class="input" /></td>
</tr>
and place this under the
above code
<tr>
<td class="row1"><b>{lang_user_msn}</b></td>
<td class="row1"><input type="text" name="user_msn" size="30" value="{user_msn}" class="input" /></td>
</tr>
<tr>
<td class="row2"><b>{lang_user_yim}</b></td>
<td class="row2"><input type="text" name="user_yim" size="30" value="{user_yim}" class="input" /></td>
</tr>
<tr>
<td class="row1"><b>{lang_user_aim}</b></td>
<td class="row1"><input type="text" name="user_aim" size="30" value="{user_aim}" class="input" /></td>
</tr>
<tr>
<td class="row2" valign="top"><b>{lang_user_description}</b></td>
<td class="row2"><textarea name="user_description" cols="40" rows="6" class="input">{user_description}</textarea></td>
</tr>
then find in the register_form.html
<tr>
<td class="row1"><b>{lang_email}</b></td>
<td class="row1"><input type="text" name="user_email" size="60" class="input" value="{user_email}" /></td>
</tr>
and add the following
below it
<tr>
<td class="row2"><b>{lang_user_msn}</b></td>
<td class="row2"><input type="text" name="user_msn" size="60" class="input" value="{user_msn}" /> </td>
</tr>
<tr>
<td class="row1"><b>{lang_user_yim}</b></td>
<td class="row1"><input type="text" name="user_yim" size="50" class="input" value="{user_msn}" /> </td>
</tr>
<tr>
<td class="row1"><b>{lang_user_aim}</b></td>
<td class="row1"><input type="text" name="user_aim" size="50" class="input" value="{user_msn}" /> </td>
</tr>
<tr>
<td class="row2"><b>{lang_user_description}</b></td>
<td class="row2"><textarea name="user_description" class="input" cols="40" rows="6">{user_description}</textarea> </td>
</tr>
ok now go to your languages folder and open main.php
add this at the bottom above the ?>
//Yahoo msn and user info mod
$lang['user_msn'] = "MSN:";
$lang['user_yim'] = "YIM:";
$lang['user_aim'] = "AIM:";
$lang['user_description'] = "Bio:";
//Yahoo msn and user info mod end
and finally open db_field_definitions.php in the includes folder
and at the bottom add the following above the ?>
//Yahoo msn and user info mod
$additional_user_fields['user_description'] = array($lang['user_description'], "text", 1);
$additional_user_fields['user_msn'] = array($lang['user_msn'], "text", 0);
$additional_user_fields['user_yim'] = array($lang['user_yim'], "text", 0);
$additional_user_fields['user_aim'] = array($lang['user_aim'], "text", 0);
//Yahoo msn and user info mod end
now your done editing, all you need to do is open your database and go to the users table and add the following rows
user_description
user_msn
user_yim
user_aim
user_description
each should be set to varchar and 255 and thats it
upload all the files you edited, test and your done
NOW SOMETHING EXTRA JUST ADDED
if you are wanting these valuse to also show next to comments users make modify the following
open the file details.php in the main fodler and find the following
$comment_user_icq_button = "";
and add this
below it
//Show messenger details in comments
$comment_user_yim = $user_row[$i]['user_yim'];
$comment_user_msn = $user_row[$i]['user_msn'];
$comment_user_aim = $user_row[$i]['user_aim'];
//Show messenger details in comments end
then open comment_bit.html in your templates folder and find
{comment_user_homepage_button}
{comment_user_icq_button}
then add the following code
below it
{if comment_user_yim}
<a href="ymsgr:sendIM?{comment_user_yim}" target="_blank"><img src="{template_url}/images/yim.gif" width="15" height="9" border="0" alt="{comment_user_yim}" /></a>{endif comment_user_yim}
{if comment_user_msn}<A HREF="http://checker.tdknights.com:1337/message/msn/{comment_user_msn}"><img src="{template_url}/images/msn.gif" width="16" height="16" border="0" alt="{comment_user_msn}" /></a>{endif comment_user_msn}
{if comment_user_aim}<A HREF="aim:goim?screenname={comment_user_aim}"><img src="{template_url}/images/aim.gif" width="18" height="18" border="0" alt="{comment_user_aim}" /></a>{endif comment_user_yim}
now go to your templates folder and open the images folder put in the three files enclosed with this poste (zip file enclosed contains 3 images)
upload them to your host and your done
any help email me and ill be glad to help
You can see all of the mods i have in action on my gallery at
http://www.AlgonacPartyCentral.com go to the gallery link and enjoy