Smf güzel bir profil alanı

Başlatan snrj, 27 Haz 2014 16:22

« önceki - sonraki »

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

snrj

27 Haz 2014 16:22 Son düzenlenme: 27 Ağu 2014 19:10 Smfci

Anlatım default temaya göredir
display.template.php de bul
Kod [Seç]
// Show information about the poster of this message.
 echo '
 <div class="poster">
 <h4>';

 // Show online and offline buttons?
 if (!empty($modSettings['onlineEnable']) && !$message['member']['is_guest'])
 echo '
 ', $context['can_send_pm'] ? '<a href="' . $message['member']['online']['href'] . '" title="' . $message['member']['online']['label'] . '">' : '', '<img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />', $context['can_send_pm'] ? '</a>' : '';

 // Show a link to the member's profile.
 echo '
 ', $message['member']['link'], '
 </h4>
 <ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

 // Show the member's custom title, if they have one.
 if (!empty($message['member']['title']))
 echo '
 <li class="title">', $message['member']['title'], '</li>';

 // Show the member's primary group (like 'Administrator') if they have one.
 if (!empty($message['member']['group']))
 echo '
 <li class="membergroup">', $message['member']['group'], '</li>';

 // 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 '
 <li class="postgroup">', $message['member']['post_group'], '</li>';
 echo '
 <li class="stars">', $message['member']['group_stars'], '</li>';

 // Show avatars, images, etc.?
 if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
 echo '
 <li class="avatar">
 <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
 ', $message['member']['avatar']['image'], '
 </a>
 </li>';

 // Show how many posts they have made.
 if (!isset($context['disabled_fields']['posts']))
 echo '
 <li class="postcount">', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';

 // Is karma display enabled?  Total or +/-?
 if ($modSettings['karmaMode'] == '1')
 echo '
 <li class="karma">', $modSettings['karmaLabel'], ' ', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</li>';
 elseif ($modSettings['karmaMode'] == '2')
 echo '
 <li class="karma">', $modSettings['karmaLabel'], ' +', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</li>';

 // Is this user allowed to modify this member's karma?
 if ($message['member']['karma']['allow'])
 echo '
 <li class="karma_allow">
 <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $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'], ';', $context['session_var'], '=', $context['session_id'], '">', $modSettings['karmaSmiteLabel'], '</a>
 </li>';

 // Show the member's gender icon?
 if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
 echo '
 <li class="gender">', $txt['gender'], ': ', $message['member']['gender']['image'], '</li>';

 // Show their personal text?
 if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
 echo '
 <li class="blurb">', $message['member']['blurb'], '</li>';

 // Any custom fields to show as icons?
 if (!empty($message['member']['custom_fields']))
 {
 $shown = false;
 foreach ($message['member']['custom_fields'] as $custom)
 {
 if ($custom['placement'] != 1 || empty($custom['value']))
 continue;
 if (empty($shown))
 {
 $shown = true;
 echo '
 <li class="im_icons">
 <ul>';
 }
 echo '
 <li>', $custom['value'], '</li>';
 }
 if ($shown)
 echo '
 </ul>
 </li>';
 }

 // This shows the popular messaging icons.
 if ($message['member']['has_messenger'] && $message['member']['can_view_profile'])
 echo '
 <li class="im_icons">
 <ul>
 ', !empty($message['member']['icq']['link']) ? '<li>' . $message['member']['icq']['link'] . '</li>' : '', '
 ', !empty($message['member']['msn']['link']) ? '<li>' . $message['member']['msn']['link'] . '</li>' : '', '
 ', !empty($message['member']['aim']['link']) ? '<li>' . $message['member']['aim']['link'] . '</li>' : '', '
 ', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '
 </ul>
 </li>';

 // Show the profile, website, email address, and personal message buttons.
 if ($settings['show_profile_buttons'])
 {
 echo '
 <li class="profile">
 <ul>';
 // Don't show the profile button if you're not allowed to view the profile.
 if ($message['member']['can_view_profile'])
 echo '
 <li><a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt['view_profile'] . '" title="' . $txt['view_profile'] . '" />' : $txt['view_profile']), '</a></li>';

 // Don't show an icon if they haven't specified a website.
 if ($message['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
 echo '
 <li><a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $message['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';

 // Don't show the email address if they want it hidden.
 if (in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
 echo '
 <li><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';

 // Since we know this person isn't a guest, you *can* message them.
 if ($context['can_send_pm'])
 echo '
 <li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';

 echo '
 </ul>
 </li>';
 }

 // Any custom fields for standard placement?
 if (!empty($message['member']['custom_fields']))
 {
 foreach ($message['member']['custom_fields'] as $custom)
 if (empty($custom['placement']) || empty($custom['value']))
 echo '
 <li class="custom">', $custom['title'], ': ', $custom['value'], '</li>';
 }

 // Are we showing the warning status?
 if ($message['member']['can_see_warning'])
 echo '
 <li class="warning">', $context['can_issue_warning'] ? '<a href="' . $scripturl . '?action=profile;area=issuewarning;u=' . $message['member']['id'] . '">' : '', '<img src="', $settings['images_url'], '/warning_', $message['member']['warning_status'], '.gif" alt="', $txt['user_warn_' . $message['member']['warning_status']], '" />', $context['can_issue_warning'] ? '</a>' : '', '<span class="warn_', $message['member']['warning_status'], '">', $txt['warn_' . $message['member']['warning_status']], '</span></li>';
 }
 // Otherwise, show the guest's email.
 elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
 echo '
 <li class="email"><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';

 // Done with the information about the poster... on to the post itself.
 echo '
 </ul>
 </div>
değiştir
Kod [Seç]
// Show information about the poster of this message.
 echo '
 <div class="poster">
 <h4>
 ', $message['member']['link'], '
 </h4>
 <ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

// Show the member's primary group (like 'Administrator') if they have one.
 if (!empty($message['member']['group']))
 echo '
 <li class="membergroup">', $message['member']['group'], '<hr class="kmdivisor" /></li>';

 // 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 '
 <li class="membergroup">', $message['member']['post_group'], '<hr class="kmdivisor" /></li>';

 // Don't show these things for guests.
 if (!$message['member']['is_guest'])
 {

 // Show avatars, images, etc.?
 if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
 echo '
 <li class="avatar">
 <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
 ', $message['member']['avatar']['image'], '
 </a>
 <hr class="kmdivisor" /></li>';
 else {
 echo '
 <li class="avatar">
 <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
 <img src="', $settings['images_url'], '/theme/noavatar.png" alt="" />
 </a>
 <hr class="kmdivisor" /></li>';
 }
 
 // Send PM Easy way
 if ($context['can_send_pm'])
 echo '
 <li class="send_pm" style="float: left;"><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '"><span class="send_mp_new">Send Pm</span></a></li>';
 
 // Show online and offline buttons?
 if ($message['member']['online']['is_online']) {
 echo '
 <li class="status"><span class="online" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #6DA26B;"> ' . $message['member']['online']['text'] . '</span></li>';
 }
 else {
 echo '
 <li class="status"><span class="offline" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #AEAEAF;"> ' . $message['member']['online']['text'] . '</span></li>';
 }

 //Show the stars!
 echo '
 <li class="stars">', $message['member']['group_stars'], '</li>';
 
 // Show the member's custom title, if they have one.
 if (!empty($message['member']['title']))
 echo '
 <li class="title">', $message['member']['title'], '</li>';
 
 echo '
 <li class="postcount"><hr class="kmdivisor" />
 <div class="cr_post">';

 // Show how many posts they have made.
 if (!isset($context['disabled_fields']['posts']))
 echo '
 <img style="margin: 3px 0 0 1px" src="', $settings['images_url'], '/id/postscount.png" alt="" /><span style="text-align:right; margin: 12px 6px 0 0; float: right;">', $message['member']['posts'], '</span><br />';
 
 echo '
 </div>
 </li>';
          // Is this user allowed to modify this member's karma?
 if ($modSettings['karmaMode'] == '1' || ($modSettings['karmaMode'] == '2')) {
 echo '
 <li class="karma_allow"><span class="kmtitle">', $modSettings['karmaLabel'], '</span><img class="kmimages" src="', $settings['images_url'], '/id/star.png" alt="" /><hr class="kmdivisor2" />';
 
 // Is karma display enabled?  Total or +/-?
 if ($modSettings['karmaMode'] == '1')
 echo '
 <span class="karma_n">', $message['member']['karma']['good'] - $message['member']['karma']['bad'], '</span>';
 elseif ($modSettings['karmaMode'] == '2')
 echo '
 <span class="karma_n">+', $message['member']['karma']['good'], '/-', $message['member']['karma']['bad'], '</span>';
 
 if ($message['member']['karma']['allow'])
 echo '
 <a href="', $scripturl, '?action=modifykarma;sa=applaud;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.' . $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/up.png" alt="', $modSettings['karmaApplaudLabel'], '" /></a>
 <a href="', $scripturl, '?action=modifykarma;sa=smite;uid=', $message['member']['id'], ';topic=', $context['current_topic'], '.', $context['start'], ';m=', $message['id'], ';', $context['session_var'], '=', $context['session_id'], '"><img src="', $settings['images_url'], '/id/down.png" alt="', $modSettings['karmaSmiteLabel'], '" /></a>';
 
 echo '
 </li>';
 }
 // Show the member's gender icon?
 if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
 echo '
 <li class="gender"><span class="kmtitle">', $txt['gender'], '</span><div class="kmimages">', $message['member']['gender']['image'], '</div><hr class="kmdivisor2" />
 ', $message['member']['gender']['name'], '
 </li>';

 // Show their personal text?
 if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
 echo '
 <li class="blurb"><span class="kmtitle">', $txt['personal_text'], '</span><img class="kmimages" src="', $settings['images_url'], '/id/personal_text.png" alt="" /><hr class="kmdivisor2" />', $message['member']['blurb'], '</li>';

 // Any custom fields to show as icons?
 if (!empty($message['member']['custom_fields']))
 {
 $shown = false;
 foreach ($message['member']['custom_fields'] as $custom)
 {
 if ($custom['placement'] != 1 || empty($custom['value']))
 continue;
 if (empty($shown))
 {
 $shown = true;
 echo '
 <li class="im_icons">
 <ul>';
 }
 echo '
 <li>', $custom['value'], '</li>';
 }
 if ($shown)
 echo '
 </ul>
 </li>';
 }

 // This shows the popular messaging icons.
 if ($message['member']['has_messenger'] && $message['member']['can_view_profile'])
 echo '
 <li class="im_icons">
 <ul>
 ', !empty($message['member']['icq']['link']) ? '<li>' . $message['member']['icq']['link'] . '</li>' : '', '
 ', !empty($message['member']['msn']['link']) ? '<li>' . $message['member']['msn']['link'] . '</li>' : '', '
 ', !empty($message['member']['aim']['link']) ? '<li>' . $message['member']['aim']['link'] . '</li>' : '', '
 ', !empty($message['member']['yim']['link']) ? '<li>' . $message['member']['yim']['link'] . '</li>' : '', '
 </ul>
 </li>';

 // Show the profile, website, email address, and personal message buttons.
 if ($settings['show_profile_buttons'])
 {
 echo '
 <li class="profile">
 <ul>';
 // Don't show the profile button if you're not allowed to view the profile.
 if ($message['member']['can_view_profile'])
 echo '
 <li><a href="', $message['member']['href'], '">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/icons/profile_sm.gif" alt="' . $txt['view_profile'] . '" title="' . $txt['view_profile'] . '" />' : $txt['view_profile']), '</a></li>';

 // Don't show an icon if they haven't specified a website.
 if ($message['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
 echo '
 <li><a href="', $message['member']['website']['url'], '" title="' . $message['member']['website']['title'] . '" target="_blank" class="new_win">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/www_sm.gif" alt="' . $message['member']['website']['title'] . '" />' : $txt['www']), '</a></li>';

 // Don't show the email address if they want it hidden.
 if (in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
 echo '
 <li><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';

 // Since we know this person isn't a guest, you *can* message them.
 if ($context['can_send_pm'])
 echo '
 <li><a href="', $scripturl, '?action=pm;sa=send;u=', $message['member']['id'], '" title="', $message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline'], '">', $settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/im_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '.gif" alt="' . ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']) . '" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a></li>';

 echo '
 </ul>
 </li>';
 }

 // Any custom fields for standard placement?
 if (!empty($message['member']['custom_fields']))
 {
 foreach ($message['member']['custom_fields'] as $custom)
 if (empty($custom['placement']) || empty($custom['value']))
 echo '
 <li class="custom">', $custom['title'], ': ', $custom['value'], '</li>';
 }

 // Are we showing the warning status?
 if ($message['member']['can_see_warning'])
 echo '
 <li class="warning"><span class="kmtitle">', $txt['mc_warnings'], '</span>', $context['can_issue_warning'] ? '<a href="' . $scripturl . '?action=profile;area=issuewarning;u=' . $message['member']['id'] . '">' : '', '<img class="kmimages" src="', $settings['images_url'], '/warning_', $message['member']['warning_status'], '.gif" alt="', $txt['user_warn_' . $message['member']['warning_status']], '" />', $context['can_issue_warning'] ? '</a>' : '', '<hr class="kmdivisor2" />
 
 <span class="warn_', $message['member']['warning_status'], '">', $txt['warn_' . $message['member']['warning_status']], '</span></li>';
 }
 // Otherwise, show the guest's email.
 elseif (!empty($message['member']['email']) && in_array($message['member']['show_email'], array('yes', 'yes_permission_override', 'no_through_forum')))
 echo '
 <li class="email"><a href="', $scripturl, '?action=emailuser;sa=email;msg=', $message['id'], '" rel="nofollow">', ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/email_sm.gif" alt="' . $txt['email'] . '" title="' . $txt['email'] . '" />' : $txt['email']), '</a></li>';

 // Done with the information about the poster... on to the post itself.
 echo '
 </ul>
 </div>


index.css de bul
Kod [Seç]
/* poster details and list of items */
.poster h4, .poster ul
{
 padding: 0;
 margin: 0 1em 0 1.5em;
}
.poster h4
{
 margin: 0.2em 0 0.4em 1.1em;
 font-size: 120%;
}
.poster h4, .poster h4 a
{
 color: #c06002;
}
.poster ul ul
{
 margin: 0.3em 1em 0 0;
 padding: 0;
}
.poster ul ul li
{
 display: inline;
}
.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
 margin-top: 0.5em;
}
.poster li.avatar
{
 overflow: hidden;
}
.poster li.warning
{
 line-height: 1.2em;
 padding-top: 1em;
}
.poster li.warning a img
{
 vertical-align: bottom;
 padding: 0 0.2em;
}
.messageicon
{
 float: left;
 margin: 0 0.5em 0 0;
}
.messageicon img
{
 padding: 6px 3px;
}
.keyinfo
{
 float: left;
 width: 50%;
}

değiştir
Kod [Seç]
.poster h4, .poster ul
{
 padding: 0;
 margin: 0 1em 0 1.5em;
}
.poster ul
{
 text-shadow: 0 1px 0 #fff;
}
.poster h4
{
 margin: 0.2em 0 0 1.1em;
 font-size: 120%;
}
.poster h4, .poster h4 a
{
 color: #c06002;
}
.poster ul ul
{
 background: #CBD1D3;
    border: 1px solid #edf5f8;
    border-radius: 5px 5px 5px 5px;
    margin: 0.3em 0 0.3em 0;
    padding: 4px 0 0;
    text-align: center;
}
.poster ul ul li
{
 display: inline;
}
.poster li.title
{
 text-align: center;
 margin: 5px 0 -7px 0;
}
.poster li.stars, .poster li.avatar, .poster li.blurb, li.postcount, li.im_icons ul
{
 margin-top: 0.5em;
}
.poster li.stars
{
 text-align: center;
 background: rgb(224,224,224); /* Old browsers */

 background: -moz-linear-gradient(top, rgba(224,224,224,1) 0%, rgba(239,239,239,1) 100%); /* FF3.6+ */
 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,224,224,1)), color-stop(100%,rgba(239,239,239,1))); /* Chrome,Safari4+ */
 background: -webkit-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* Chrome10+,Safari5.1+ */
 background: -o-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* Opera 11.10+ */
 background: -ms-linear-gradient(top, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* IE10+ */
 background: linear-gradient(to bottom, rgba(224,224,224,1) 0%,rgba(239,239,239,1) 100%); /* W3C */
 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e0e0e0', endColorstr='#efefef',GradientType=0 ); /* IE6-8 */
 border-radius: 6px;
 border: 1px solid #D0D7DB;
 padding: 7px 0;
}
.poster li.blurb
{
 text-align: center;
}
.poster li.karma_allow
{
 text-align: center;
}
.poster li.avatar
{
 text-align: center;
}
.poster li.gender
{
 text-align: center;
}
.poster li.status
{
 font-weight: bold;
 text-align: right;
}
.cr_post
{
 background: #cdd7da;
 border-bottom: 3px dashed #acb7b9;
 border-top: 3px dashed #acb7b9;
 margin-top: 5px;
}
.poster li.membergroup
{
 color: #686868;
}
.poster li.avatar
{
 overflow: hidden;
}
.poster li.send_pm
{
 margin: 0 0 0 0;
}
.send_mp_new {
    transition: background 0.5s ease 0s;
    background-color: #D3D6D9;
    border-radius: 2px 2px 2px 2px;
    color: #eee;
    float: left;
    font-size: 8px;
    font-weight: bold;
    margin-top: 2px;
    padding: 0 5px;
    text-shadow: 0 1px 0 #9A9797;
    text-transform: uppercase;
}
.send_mp_new:hover {
    background: none repeat scroll 0 0 gray;
}

.poster li.postcount
{
 color: #575757;
    font-size: 14pt;
    font-weight: bold;
    margin-top: 13px;
    text-shadow: 0 1px 0 white;
}
.poster li.warning
{
 text-align: center;
}
.messageicon
{
 float: left;
 margin: 0 0.5em 0 0;
}
.messageicon img
{
 padding: 6px 3px;
}
.kmdivisor
{
 border-bottom: 1px solid #FBFCFD;
    border-top: 1px solid #C4C9CD;
    color: #C4C9CD;
    margin: 0;
}
.kmdivisor2
{
 border-bottom: 1px solid #FBFCFD;
    border-top: 1px solid #C4C9CD;
    color: #C4C9CD;
 margin-top: 16px;
 margin-bottom: 11px;
 margin-left: 20px;
}
.karma_n
{
 font-size: 27px;
 text-shadow: 0 1px 0 #fff;
}
.kmimages, .kmimages a
{
 float: left;
    margin-bottom: -9px;
 margin-top: -10px;
}
.kmtitle
{
 float: right;
 margin-top: -8px;
 margin-left: 5px;
}
.messageicon
{
 float: left;
 margin: 0 0.5em 0 0;
}
.messageicon img
{
 padding: 6px 3px;
}
.keyinfo
{
 float: left;
 width: 50%;
}

ekteki zipli dosya içindeki klasörleri temanızın images klasörüne atın

Ali1980

Allah razi Ola hocam elinize saglik bede sorun bu mod kurulu ama sonardan yaptigim ruh hali ve üye istatigi tablo icinde degil nasil alabilirim onalri hepsi ayni sekilde olmasi icin acaba ?

snrj

li taglarının içine almanız yeterli örnek vereyim ruh halim için
display.template de bul
Kod [Seç]
<b>Ruh Halim:</b>
  <img src="', $settings['default_images_url'], '/teknoromi/', $message['member']['options']['teknoromi'], '.gif" /> ';


değiştir
Kod [Seç]
<li><b>Ruh Halim:</b>
  <img src="', $settings['default_images_url'], '/teknoromi/', $message['member']['options']['teknoromi'], '.gif" /> </li>';

Ali1980

hocam birde siz bakin yapamadim atiflik kötü itibar vs onalri icine almak istiyom hepsi ayni olsun bir zahmet

snrj

bide şu şekilde deneyin
<ul><li> yapmak gerekiyormuş


Ali1980

Allah razi ola eline saglik hocam olmus

Ali1980

ÇEVRIMIÇI cevrim disi yazilarini resimli olsa bozulurmu hocam olursa nasil yapcaz insAllah Allah razi ola

snrj

evet mümkün ama fazla büyük resim kullanırsanız kayma yapar
display.template de bul
Kod [Seç]
// Show online and offline buttons?
if ($message['member']['online']['is_online']) {
echo '
<li class="status"><span class="online" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #6DA26B;"> ' . $message['member']['online']['text'] . '</span></li>';
}
else {
echo '
<li class="status"><span class="offline" style="text-transform: uppercase; font-size: 8px; text-shadow: 0 1px 0 #fff; color: #AEAEAF;"> ' . $message['member']['online']['text'] . '</span></li>';
}


değiştir
Kod [Seç]
// Show online and offline buttons?
if ($message['member']['online']['is_online']) {
echo '
<li class="status"><img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />
</li>';
}
else {
echo '
<li class="status"><img src="', $message['member']['online']['image_href'], '" alt="', $message['member']['online']['text'], '" />
</li>';
}

Nofear

Hocam ilk değiştirilecek dosya hangisi anlayamadım, nereden nereye kadar değiştirilecek?
index.css bul denilen satırı bulup en alta kadar silip yeni kodlarımı yapıştıraacağım, bu profil benim temaya uyumda sıkıntı çıkarır mı?
Teşekkürler.

snrj

kusura bakma display.template yazmayı unutmuşum evet index.css o kodları değiştirmelisiniz eğer bulamazsanız değiştir dediğimiz css kodlarını index.css de en alta ekleyin sorun çıkartmaması lazım ama çıkartırsa burdan yazın yardımcı olmaya çalışırız

Nofear

Hocam konu içindeki türkçe karakterler sapıttı acil bakabilir misin?

Teşekkürler.

snrj

05 Ağu 2014 22:07 #11 Son düzenlenme: 05 Ağu 2014 22:20 Smfci
şimdi localde denedim herhangi kodlamada bir sorun yok yaptığınız değişikleri geri alın temanızda kodlama farklı olabilir ona göre kodları düzeltmeniz gerekir

Nofear

Hocam  kod olayından anlamıyorum, dosyaların yedeklerini tekrar attım düzeldi.

Link

http://smf.konusal.com/index.php?topic=48.0

burdaki 2.1 tema 'nın index.css dosyasını nasıl düzenleriz, default temada yaptım ama bu temanın index.css dosyası farklı.

snrj

index.css de en alta ekleyin