Konu: webtiryaki Profil Alani  (Okunma sayısı 1302 defa)

0 Üye ve 1 Ziyaretçi konuyu incelemekte.

24 Şubat 2013, 13:34
  • *
    • İleti: 211
    • Karma: 15
    • webtiryaki.com
    • Profili Görüntüle

avatarsiz uyeye avatar modunu kuranlar kaldirsin gerek yok bu onuda sagliyor
Anlatimim defult temaya goredir lütfen yedek alin oyle deneyin



Display.template.php

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>
                        <div class="postarea">
                            <div class="flow_hidden">

Degistir

Kod: [Seç]
// Show information about the poster of this message.
        echo '
                        <div class="poster" align="center"><img class="arrow_pro" src="' . $settings['images_url'] . '/athenea/arrow_profile.png" alt="*" />
                            <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 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'], '">
                                         <img class="Ae_imgavatar" src="' . $message['member']['avatar']['href'] . '" width="100" height="100" alt="" />
                                    </a>
                                </li>';
                               
            else {
                echo '
                                <li class="avatar">
                  <a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
                    <img src="'.$settings['images_url'].'/athenea/no_avatar.png" alt="" />
                  </a>
                </li>';
            }

        // 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 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>';
           
            if ($message['can_approve'])
           
            {
           
            echo '
           
               <div class="postarea_approve">';
               
            }

            else
           
            {
           
            echo '
           
                           <div class="postarea">';
                            }
                       
                        echo '
                            <div class="flow_hidden">

index.css alt siraya ekleyin

Kod: [Seç]
/* poster details and list of items */
.poster
{
    float: left;
    width: 13em;
    border: 1px solid #ccc;
    padding: 5px 0 5px 5px;
    margin-left: 5px;
    margin-right: 10px;
    border-radius: 6px;
    -moz-border-radius: 6px;
    -o-border-radius: 6px;
    -webkit-border-radius: 6px;
    background: #f5f5f5;
}
.arrow_pro {
  float: right;
  margin-right: -11px;
  margin-top: -1px;
}
.tab_container {
    background: #E7EAEF;
    border: 1px solid #c5c5c5;
    border-top: none;
    clear: both;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}
.icon{
    margin: 0 2px 5px -11px;
    vertical-align: middle;
}
..poster li.avatar
{
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    min-height: 100px;
    min-width: 100px;
    max-height: 200px;
    max-width: 140px;
    border: 2px solid #0B7291;
    border-radius: 6px;
    box-shadow: 0 0 12px #0B7291;
    background: #F0F0F0;
}
.Ae_imgavatar {
    height: 177px;
    width: 130px; 
    border: 2px solid #0B7291;  border-radius: 6px;  box-shadow: 0 0 12px #0B7291;  background: #F0F0F0;
}

cizgi eklemek isteyen icin



ben burda sadece mantigini goseriyorum nereye ekleyip eklemeyeceginize siz karar verin

ornegin member gurubuna yapalim
normali bu

Kod: [Seç]
// 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>';

bunu ekliyoruz

Kod: [Seç]
<hr class="divider">
yani soyle

Kod: [Seç]
// 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'], '<hr class="divider"></li>';

her gurup dongüsune yada istediginiz

------------------------------------------------------
index.css de tanimlayalim

Kod: [Seç]
.divider {
     border-bottom: 1px solid #FFFFFF;
     border-top: 1px solid #CCCCCC;
     color: #CCCCCC;
     width: 100%;
}

kolay gelsin


Ekteki rar dosyasini acin dosyayla birlikte images kilasorune atin



29 Mart 2014, 09:21
Yanıtla #1
  • *
    • İleti: 2018
    • Karma: 41
    • Spina Bifida
    • Profili Görüntüle


29 Mart 2014, 15:08
Yanıtla #2
  • *
    • İleti: 273
    • Karma: 1
    • Diyabeturkey
    • Profili Görüntüle

eyvallah abi teşekkürler. diğer profil alanı onuda bekliyoruz. Mb olanı


28 Ocak 2015, 18:16
Yanıtla #3
  • *
    • İleti: 22
    • Karma: 0
    • cihadehli
    • Profili Görüntüle

çizgiyide bıraktımda profilde çerçeve bende çıkmadı