Profilinizde biyografi yazmanıza olanak sağlar..
Languages'de Profile.turkish.php'de..
Bul:
Öncesine ekle:
Profile.template.php'de..
Bul:
Sonrasına ekle:
Bul:
Sonrasına ekle:
Bir Alan S yapımıdır..
Orjinal Konu
http://www.simplemachines.org/community/index.php?topic=203137.0#quickreply
Languages'de Profile.turkish.php'de..
Bul:
Kod:
?>
Öncesine ekle:
Kod:
$txt['bio'] = 'Biyografi';
Profile.template.php'de..
Bul:
Kod:
// Can they add this member as a buddy?
if (!empty($context['can_have_buddy']) && !$context['user']['is_owner'])
echo '
&nbsp;&nbsp;<a href="', $scripturl, '?action=buddy;u=', $context['member']['id'], ';sesc=', $context['session_id'], '">[', $txt['buddy_' . ($context['member']['is_buddy'] ? 'remove' : 'add')], ']</a>';
echo '
</td>
</tr><tr>
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr><tr>
<td><b>', $txt[231], ': </b></td>
<td>', $context['member']['gender']['name'], '</td>
</tr><tr>
<td><b>', $txt[420], ':</b></td>
<td>', $context['member']['age'] . ($context['member']['today_is_birthday'] ? ' &nbsp; <img src="' . $settings['images_url'] . '/bdaycake.gif" width="40" alt="" />' : ''), '</td>
</tr><tr>
<td><b>', $txt[227], ':</b></td>
<td>', $context['member']['location'], '</td>
</tr><tr>
<td><b>', $txt['local_time'], ':</b></td>
<td>', $context['member']['local_time'], '</td>
</tr><tr>';
if (!empty($modSettings['userLanguage']))
echo '
<td><b>', $txt['smf225'], ':</b></td>
<td>', $context['member']['language'], '</td>
</tr><tr>';
echo '
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
Sonrasına ekle:
Kod:
//Show the box for the biography
echo '
<td><b>Biyografi:</b></td>
<td>', parse_bbc($context['member']['options']['bio']), '</td>
</tr><tr>';
echo '
<td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>';
Bul:
Kod:
// 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>
Sonrasına ekle:
Kod:
; <td colspan="2"><hr size="1" width="100%" class="hrcolor" /></td>
</tr>
<td><b>Biyografi:</b> <div class="smalltext">', $txt['bionotice'], '</div></td> <td><textarea name="default_options[bio]" rows="7" cols="70">', @$context['member']['options']['bio'], '</textarea></td>
Bir Alan S yapımıdır..
Orjinal Konu
http://www.simplemachines.org/community/index.php?topic=203137.0#quickreply