||ŞaMaTa|| Admin
Mesaj Sayısı : 315 Yaş : 32 Nerden : rize HobiLEr : Tiyatro İsminiz : Şakir Takımım : 3 Rep : 146 Kayıt tarihi : 17/12/08
| Konu: Google Tema Profil Alanı C.tesi Ekim 24, 2009 3:28 pm | |
| görünümstyle.css aç bu kodu en alta ekle - Kod:
-
.profil { padding-top: 3px; padding-right: 0px; padding-bottom: 3px; padding-left: 3px; margin: 3px 0px 3px 3px; background-color: #efefef; border-top: 1px solid #d2d2d1 ; border-right: 1px solid #d2d2d1 ; border-left: 3px solid #d2d2d1 ; border-bottom: 1px solid #d2d2d1; } display.templateyi açın // Show information about the poster of this message. dan başlayıp // Done with the information about the poster... on to the post itself. kısmına kadar olan yeri silip yerine bunu ekleyin - Kod:
-
// smftr google tema profil alani baslangici // Show information about the poster of this message. echo ' <table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;"> <tr> <td class="windowbg" valign="top" width="16%" rowspan="2" style="overflow: hidden;"> <div class="profil" align="center"> <a href="', $message['member']['href'], '"><b>', $message['member']['link'], '</b></a></div>
<div class="smalltext">';
// Show the member's custom title, if they have one. if (isset($message['member']['title']) && $message['member']['title'] != '') echo ' <div class="profil" align="center">', $message['member']['title'], '</div>';
// Show the member's primary group (like 'Administrator') if they have one. if (isset($message['member']['group']) && $message['member']['group'] != '') echo ' <div class="profil" align="center">', $message['member']['group'], '</div>';
// Don't show these things for guests. if (!$message['member']['is_guest']) { // Show the post group if and only if they have no other group or the option is on, and they are in a post group. if ((empty($settings['hide_post_group']) || $message['member']['group'] == '') && $message['member']['post_group'] != '') echo ' <div class="profil" align="center">', $message['member']['post_group'], '</div>'; echo ' <div class="profil" align="center">', $message['member']['group_stars'], '</div>';
// Show avatars, images, etc.? if (!empty($settings['show_user_images']) && empty($options['show_no_avatars'])) if (empty($message['member']['avatar']['image'])) echo '<div class="profil" align="center"><div style="overflow: auto; width: 100%;"><img src="' . $settings['images_url'] . '/autoavatar.jpg" alt="Avatar Yok" title="Avatar Yok" border="0" /></div></div>'; else echo '<div class="profil" align="center"><div style="overflow: auto; width: 100%;">', $message['member']['avatar']['image'],'</div></div>';
// üye nosunu göster echo ' <div class="profil" align="left"><b>', $txt['user_no'], '</b> ', $message['member']['id'], '</div> '; // Show the member's gender icon? if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '') echo ' <div class="profil" align="left"><b>', $txt[231], ':</b> ', $message['member']['gender']['image'], '</div>'; // Show how many posts they have made. echo ' <div class="profil" align="left"><b>', $txt[26], ':</b> ', $message['member']['posts'], '</div>'; // Show the member's location if (!empty($message['member']['location'])) echo ' <div class="profil" align="left"><b>', $txt['nerden'], '</b> ', $message['member']['location'], '</div> '; // Is karma display enabled? Total or +/-? if ($modSettings['karmaMode'] == '1') echo ' <div class="profil" align="left"> ', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</div>'; elseif ($modSettings['karmaMode'] == '2') echo ' <div class="profil" align="left"> ', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</div>';
// Is this user allowed to modify this member's karma? if ($message['member']['karma']['allow']) echo ' <div class="profil" align="center"><a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaApplaudLabel'], '</a> <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';sesc=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a></div>';
// Show their personal text? if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '') echo ' <div class="profil" align="center">', $message['member']['blurb'], '</div>';
// This shows the popular messaging icons. echo '<div class="profil" align="center"> ', $message['member']['icq']['link'], ' ', $message['member']['msn']['link'], ' ', $message['member']['aim']['link'], ' ', $message['member']['yim']['link'], '<br />';
// Show the profile, website, email address, and personal message buttons. if ($settings['show_profile_buttons']) { // Don't show the profile button if you're not allowed to view the profile. if ($message['member']['can_view_profile']) echo ' <a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt[27] . '" title="' . $txt[27] . '" border="0" />' : $txt[27]), '</a>';
// Don't show an icon if they haven't specified a website. if ($message['member']['website']['url'] != '') echo ' <a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $txt[515] . '" border="0" />' : $txt[515]), '</a>';
// Don't show the email address if they want it hidden. if (empty($message['member']['hide_email'])) echo ' <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a>';
// Since we know this person isn't a guest, you *can* message them. if ($context['can_send_pm']) echo ' <a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['label'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . $message['member']['online']['label'] . '" border="0" />' : $message['member']['online']['label'], '</a><br />'; } } echo'</div><div class="profil" align="center">'; // Show online and offline buttons? by rallyproco if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest']) echo ' ', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" border="0" style="margin-top: 2px;" />' : $message['member']['online']['text'], $context['can_send_pm'] ? '</a>' : '', $settings['use_image_buttons'] ? '<span class="smalltext"></span>' : '', '';
// Show the report. by rallyproco if ($context['can_report_moderator']) echo ' <a href="', $scripturl, '?action=reporttm;topic=', $context['current_topic'], '.', $message['counter'], ';msg=', $message['id'], '"><img src="' ,$settings['images_url'], '/report.gif" alt="' . $txt['rtm1'] . '" /></a>';
// Otherwise, show the guest's email. elseif (empty($message['member']['hide_email'])) echo ' <br /> <br /> <a href="mailto:', $message['member']['email'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt[69] . '" title="' . $txt[69] . '" border="0" />' : $txt[69]), '</a></div>'; // smftr google tema profil alanı sonu Sources/Load.php açın Şunu bulun: - Kod:
-
'link' => '<a href="' . $scripturl . '?action=profile;u=' . $profile['ID_MEMBER'] . '" title="' . $txt[92] . ' ' . $profile['realName'] . '">' . (!empty($modSettings['MemberColorLink']) ? ( !empty($profile['member_group_color']) || !empty($profile['post_group_color']) ? '<font color="'. ( !empty($profile['member_group_color']) ? $profile['member_group_color'] : $profile['post_group_color'] ) .'">' : '' ) : '' ) . $profile['realName'] . (!empty($modSettings['MemberColorLink']) && (!empty($profile['member_group_color']) || !empty($profile['post_group_color'])) ? '</font>' : '' ).'</a>', Hemen altına şunu ekleyin - Kod:
-
'renk' => (!empty($modSettings['MemberColorLink']) ? ( !empty($profile['member_group_color']) || !empty($profile['post_group_color']) ? '<font color="'. ( !empty($profile['member_group_color']) ? $profile['member_group_color'] : $profile['post_group_color'] ) .'">' : '' ) : '' ) . $profile['realName'] . (!empty($modSettings['MemberColorLink']) && (!empty($profile['member_group_color']) || !empty($profile['post_group_color'])) ? '</font>' : '' ).'', bunlar haricinde sitenizde başka bi mod ekliyse takımım durumum gibi aşağıdaki mantık gibi yapıcaksınız - Kod:
-
// Profil Altı Kayan Yazı By M.Uzun if (empty($message['member']['blurb'])) { $message['member']['blurb']='<font color="#FFFF00">C</font><font color="#FF6600">a</font><font color="#FF0000">Z</font><font color="#FF00FF">F</font><font color="#9900FF">o</font><font color="#0000FF">R</font><font color="#00CCFF">u</font><font color="#00FFCC">M</font><font color="#00FF00">:</font><font color="#66FF33">)</font>'; } echo ' <hr><marquee><b>', $message['member']['blurb'], '</b></marquee><hr>'; buradaki - Kod:
-
echo ' <hr><marquee><b>', $message['member']['blurb'], '</b></marquee><hr>'; bunu böyle yapacaksın ama sadece mantığını söylüyorum diğerlerini de buna bakarak yapabilirsin - Kod:
-
echo '<div class="profil" align="center"> <hr><marquee><b>', $message['member']['blurb'], '</b></marquee><hr></div>'; böyle olacak yani echo' dan sonra ekliycen ve en son '; den öncede ekliycn bu kadar sourcedaki değişikliği yapmanıza rağmen üye adı gözükmüyorsa yukarda display.templateye eklediğiniz koddaki bu kısmı - Kod:
-
<a href="', $message['member']['href'], '"><b>', $message['member']['renk'], '</b></a> - Kod:
-
<b>', $message['member']['link'], '</b> | |
|