News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

About me

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

Previous topic - Next topic

CLICKBANKS.NET

SMF Version: SMF 1.0.7
Is't possible to add "about me" something like biography about members on "Profile" ?

Prasad007

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.

CLICKBANKS.NET

Yup, it's very important so member could write about their data on the profile :)


is there any code for this?

Skipdawg

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

gamesmad

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

Will
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.

woden

#5
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

Advertisement: