Autor Tópico: Perfil Jovem 2.0.X  (Lida 8382 vezes)

0 Membros e 1 Visitante estão a ver este tópico.

Online candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Perfil Jovem 2.0.X
« em: 19 de Outubro de 2014, 17:31 »

Abrir o ficheiro

Display.template.php

Pesquisar por

Código: [Seleccione]
[color=orange]// Show information about the poster of this message.[/color]

Depois pesquisar também por

Código: [Seleccione]
[color=orange]// Done with the information about the poster... on to the post itself[/color]

remover dentro daqui que pesquisou e substituir por este aqui em anexo

Código: [Seleccione]
        // Show information about the poster of this message.
        echo '
                        <div class="poster">
                            <h4>
                            <div class="protablo2"><div class="protablo1">
                            <center><font face="Verdana" size="3"><b>', isset($message['member']['is_banned']) && $message['member']['is_banned'] ? '<span style="text-decoration: line-through;">' : '', '
</b><b>', $message['member']['link'], '</b>
', isset($message['member']['is_banned']) && $message['member']['is_banned'] ? '</span>' : '', '</font><br /></center>
                            </h4>';


   // Show the member's custom title, if they have one.
    if (isset($message['member']['title']) && $message['member']['title'] != '')
       echo '
                      <center>', $message['member']['title'], '<br /></center>';

    // Show the member's primary group (like 'Administrator') if they have one.
    if (isset($message['member']['group']) && $message['member']['group'] != '')
       echo '
                      <center><font size="1">', $message['member']['group'], '</font><br /></center>';

    // 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 '
                   <center>', $message['member']['post_group'], '<br /></center>';
       echo '
                      <center>', $message['member']['group_stars'], '<br /><br /></center>';
echo'<div style="margin-left:8px;">';
       // Show avatars, images, etc.?
       if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']))
            if (empty($message['member']['avatar']['image']))
        echo '<div align="center" style="overflow: auto; width: 100%;"><img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/autoavatar.png" alt="" width="130" border="0" /></div>';
            else
            echo '<center>
<table width="130" border="0" cellpadding="0" cellspacing="0">
 <tr>
    <td rowspan="3">
       <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/01.png" width="6" height="145" alt="" /></td>
    <td colspan="2">
       <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/02.png" width="124" height="9" alt="" /></td>
 </tr>
 <tr>
    <td>
       <img src="' . $message['member']['avatar']['href'] . '" width="118" height="110" alt="" /></td>
    <td rowspan="2">
       <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/03.png" width="6" height="136" alt="" /></td>
 </tr>
 <tr>
    <td>
       <img src="' . $settings['images_url'] . '/avatar_' . ($message['member']['online']['is_online'] ? 'on' : 'off') . '/04.png" width="118" height="26" alt="" /></td>
 </tr>
</table>
</center>';
echo'</div>';
 // Uye  ID
echo'<center><img src="', $settings['images_url'], '/profil/ust.gif" width="200px"></center>';
echo'
<div class="profil"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Uye No : </b>', $message['member']['id'], '<br />
<center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>';


    // Show the member's gender icon?
            if (!empty($settings['show_gender']) && $message['member']['gender']['image'] != '' && !isset($context['disabled_fields']['gender']))
echo '<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', $txt['gender'], ':</b> ', $message['member']['gender']['image'], '
<center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>
';

    // Show how many posts they have made.
            if (!isset($context['disabled_fields']['posts']))
                echo '<b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', $txt['member_postcount'], ':</b> ', $message['member']['posts'], '
<br /><center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>
';

            // 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 '<center>
                                <li class="im_icons">
                                    <ul>';
                    }
                    echo '
                                        <li>', $custom['value'], '</li>';
                }
                if ($shown)
                    echo '
                                    </ul>
                                </li></center><center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>';
            }
        // 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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;', $custom['title'], ': ', $custom['value'], '</li><center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>';
            }
        // Show their personal text?
            if (!empty($settings['show_blurb']) && $message['member']['blurb'] != '')
                echo'<b><marquee>', $message['member']['blurb'], '</marquee></b><center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>';


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


            // Is this user allowed to modify this member's karma?
            if ($message['member']['karma']['allow'])
                echo '<center><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>
                                </center><br /><center><img src="', $settings['images_url'], '/profil/cizgi.gif"></center>';


      // This shows the popular messaging icons.
       echo '<center><img src="', $settings['images_url'], '/profil/orta.gif" width="200px"></center><div class="profil" align="center">
                      ', $message['member']['icq']['link'], '
                      ', $message['member']['msn']['link'], '
                      ', $message['member']['aim']['link'], '
                      ', $message['member']['yim']['link'], '';

       // 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>';
       }
    }
    // Otherwise, show the guest's email.
    elseif (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>';
echo' </div>';
    // Show online and offline buttons?
       if (!empty($modSettings['onlineEnable']))
          echo '
    <center><img src="', $settings['images_url'], '/profil/orta.gif" width="200px"></center><div class="profil" align="center">
          ', $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>' : '', '</div>';
         

echo'<center><img src="', $settings['images_url'], '/profil/alt.gif" width="200px"></center>';


Index.css

Adicionar

Código: [Seleccione]
.profil
{
padding-top: 5px;
padding-bottom: 5px;
border : 0px;
margin: 0px;
background:url(../images/profil/profilarka.gif) center top;
font-family:Arial, Helvetica, sans-serif;
font-weight: bold;
color: white;
font-style: normal;
width:200px;
}
.protablo1
{
    border-right: 1px solid #FFFFFF;
    border-top: 1px solid #FFFFFF;
    padding: 8px 8px 8px 8px;
   
}
.protablo2
{
    border: 1px solid #C9C9C9;
    background-color: #EDEDED;
    margin-top: 2px;
}


as imagens estao no anexo
« Última modificação: 19 de Outubro de 2014, 17:47 por candidosa2 »