SMF Version: SMF 1.0.7
Is't possible to add "about me" something like biography about members on "Profile" ?
heyya gr8 point brought up! :)
Something like this should be in SMF... its in all other bb's.
And it should be a default SMF feature.
This should be in feature requests.
Yup, it's very important so member could write about their data on the profile :)
is there any code for this?
There is this http://www.simplemachines.org/community/index.php?topic=24728.0
But I've never used it. But you could look to see if it would work for you.
Ive not tried it, but http://mods.simplemachines.org/index.php?mod=319 looks like it might help.
Will
On the default theme Profile.template.php
Look for:
// Some more information.
echo '
</td>
</tr><tr>
<td><b>', $txt[96], ': </b></td>
<td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>
</tr>
and after that add this:
<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr><tr>
<td><b>About Me: </b></td>
<td>', parse_bbc (@$context['member']['options']['about_me']), '</td>
</tr><tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
The look for:
// Website details.
echo '
<tr>
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
</tr>
<tr>
<td width="40%"><b>', $txt[83], ': </b><div class="smalltext">', $txt[598], '</div></td>
<td><input type="text" name="websiteTitle" size="50" value="', $context['member']['website']['title'], '" /></td>
</tr><tr>
<td width="40%"><b>', $txt[84], ': </b><div class="smalltext">', $txt[599], '</div></td>
<td><input type="text" name="websiteUrl" size="50" value="', $context['member']['website']['url'], '" /></td></tr>';
And after that add:
echo '<tr>
<td><b>About Me: </b></td>
<td><textarea name="default_options[about_me]" rows="4" cols="80" class="editor">', @$context['member']['options']['about_me'], '</textarea></td>
</tr>';
It's that easy. Please make backups before you change things. ;D