• Welcome to Simple Machines Community Forum. Please login or sign up.
September 28, 2021, 10:34:07 PM


Join the Facebook Fan Page.

About me

Started by CLICKBANKS.NET, May 15, 2006, 01:01:05 PM

Previous topic - Next topic


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.
Skipdawg's Community

Powered by SMF 1.1.3


Ive not tried it, but http://mods.simplemachines.org/index.php?mod=319 looks like it might help.

1 on 1 SMF Help - Want 1 on 1 SMF Help? Post in Help Wanted or drop me a message!

Go Charter! - Please consider becoming a charter member to support SMF development.

Please do not PM me with general questions, posting in the appropriate board will ensure everyone benefits from the advice given.


May 15, 2006, 06:26:00 PM #5 Last Edit: May 15, 2006, 06:28:04 PM by woden
On the default theme Profile.template.php

Look for:

// Some more information.
echo '
<td><b>', $txt[96], ': </b></td>
<td><a href="', $context['member']['website']['url'], '" target="_blank">', $context['member']['website']['title'], '</a></td>

and after that add this:

<tr><td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
<td><b>About Me: </b></td>
<td>', parse_bbc (@$context['member']['options']['about_me']), '</td>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>

The look for:

// Website details.
echo '
<td colspan="2"><hr width="100%" size="1" class="hrcolor" /></td>
<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>
<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>

It's that easy. Please make backups before you change things. ;D