Autor Tópico: Perfil Teknodyum Alanı  (Lida 14633 vezes)

0 Membros e 3 Visitantes estão a ver este tópico.

Online candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Perfil Teknodyum Alanı
« em: 15 de Março de 2010, 11:31 »


Display.template.php

Pesquisar
Código: [Seleccione]
// 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" style="overflow: auto;">', $message['member']['avatar']['image'], '</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'] . '" border="0" />' : $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'] . '" border="0" />' : $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']) . '" border="0" />' : ($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 (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'] . '" border="0" />' : $txt['email']), '</a></li>';


Alterar por

Código: [Seleccione]
// Show information about the poster of this message.
echo '
                                 
<div class="poster">
                            <ul class="reset smalltext" id="msg_', $message['id'], '_extra_info">';

// Show a link to the member's profile.
echo '
                    <h4>
', $message['member']['link'], '
              </h4>
</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 avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<li class="avatar" style="overflow: auto;">', $message['member']['avatar']['image'], '</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>';

                   // Show how many topics they have made.

$data=mysql_query("SELECT count(`id_topic`) konu FROM `smf_topics` WHERE `id_member_started` = ".$message['member']['id']);
while($d=mysql_fetch_object($data))
{
echo ' <li>Topicos: ',$d->konu;
echo ' </li>';
}
mysql_free_result($data);
unset($data,$d);

                   // Show the member's location
if (!empty($message['member']['location']))
echo '
<li class="profil" align="left">Localizacao: ', $message['member']['location'], '</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>';


                  // Show some Thank-O-Matic Stats ;D
if (!empty($modSettings['thankYouPostDisplayPage']))
{
echo '
<li>', $txt['thank_you_post_thx_display'], '</li>
<li>-', $txt['thank_you_post_made_display'], ': ', $message['member']['thank_you_post']['made'], '</li>
<li>-', $txt['thank_you_post_became_display'], ': ', $message['member']['thank_you_post']['became'], '</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>
', $message['member']['icq']['link'],'

', $message['member']['msn']['link'],'

', $message['member']['aim']['link'],'

', $message['member']['yim']['link'],'
</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 '
<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'] . '" border="0" />' : $txt['view_profile']), '</a>';

// Don't show an icon if they haven't specified a website.
if ($message['member']['website']['url'] != '' && !isset($context['disabled_fields']['website']))
echo '
<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'] . '" border="0" />' : $txt['www']), '</a>';

// 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 '
<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>';

// 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']['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']) . '" border="0" />' : ($message['member']['online']['is_online'] ? $txt['pm_online'] : $txt['pm_offline']), '</a>';

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

// Show online and offline buttons?
         if (!empty($modSettings['onlineEnable']))
            echo '
                  <li>', $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>' : '', '</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 (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'] . '" border="0" />' : $txt['email']), '</a></li>';


Depois abrir

index.css

Código: [Seleccione]
.poster ul li, .poster h4 update by smfpt.net
{
   border: 1px solid #999999;
   background-image: url(../images/profilbg.gif);
   background-repeat:repeat-x;
   background-color:#E2E2E2;
   padding: 3px;
   margin: 3px;
   text-align: center;
}

.poster ul.nolist li
{
   background: none;
   border: none;
}

.poster ul li.margintop
{
   margin-top: 0;
}


a imagem esta no anexo
« Última modificação: 15 de Março de 2010, 11:32 por candidosa2 »

Offline elvio

  • Valasoft Brasil Suporte Profissional em Desbloqueio GSM
  • Iniciar SmfPt
  • *
  • Mensagens: 56
  • Rank: 0
  • Sexo: Masculino
    • Valasoft Brasil Suporte Profissional em Desbloqueio GSM.
Re: Perfil Teknodyum Alanı
« Responder #1 em: 28 de Maio de 2010, 18:11 »
ola em qualquer lugar do index.css?

em qual diretorio coloco a imagen?

desde ja meu muito obrigado
..:::sou eu...............o mesmo de sempre:::...


Usuario UFSXHWK, BB5 KING, MX-KEY, Setools Box 3.

Online candidosa2

  • Suporte Tecnico
  • Fundador
  • *
  • Mensagens: 5073
  • Rank: 1658
  • Sexo: Masculino
  • Suporte
    • Hosting Moçambique
Re: Perfil Teknodyum Alanı
« Responder #2 em: 28 de Maio de 2010, 21:17 »
index.css
Pode ser no fim da Linhas nao tem problema

diretorio coloco a imagen
Coloca na pasta da imagem do teu themes

Offline elvio

  • Valasoft Brasil Suporte Profissional em Desbloqueio GSM
  • Iniciar SmfPt
  • *
  • Mensagens: 56
  • Rank: 0
  • Sexo: Masculino
    • Valasoft Brasil Suporte Profissional em Desbloqueio GSM.
Re: Perfil Teknodyum Alanı
« Responder #3 em: 29 de Maio de 2010, 05:36 »
Muitissimo obrigado.
« Última modificação: 09 de Junho de 2011, 06:58 por elvio »
..:::sou eu...............o mesmo de sempre:::...


Usuario UFSXHWK, BB5 KING, MX-KEY, Setools Box 3.

Offline Ricards

  • Iniciar SmfPt
  • *
  • Mensagens: 39
  • Rank: 0
  • Sexo: Masculino
  • Hosting by Aplic
Re: Perfil Teknodyum Alanı
« Responder #4 em: 07 de Janeiro de 2012, 22:45 »
Nao sei pk da me este erro



Sera que estou a fazer algo mal?

Offline marcio-msa

  • Smfpt em 10%
  • *
  • Mensagens: 231
  • Rank: 0
  • GsmLiveFans
    • GsmLivefans
Re: Re: Perfil Teknodyum Alanı
« Responder #5 em: 08 de Janeiro de 2012, 00:28 »
Nao sei pk da me este erro



Sera que estou a fazer algo mal?


vc ta usando qual programa para editar os arquivos em php ???

candidosa2
num é por nada não mais se funciona estes modificaçoes num ja seria posivel criar um mods ????
« Última modificação: 08 de Janeiro de 2012, 00:33 por marcio-msa »

Offline marcio-msa

  • Smfpt em 10%
  • *
  • Mensagens: 231
  • Rank: 0
  • GsmLiveFans
    • GsmLivefans
Re: Perfil Teknodyum Alanı
« Responder #6 em: 08 de Janeiro de 2012, 01:49 »
candidosa2 maninhu olhei as informaçoes que vc postou sobre esta modificação e criei um mods com ela testei no tema defalt do site que fiz no pc e funcionou tem como vc dar uma olhada neste mods e ver se faltou alguma coisa  chatterbox

download do progeto deste mods aqui download



aqui esta como ficol  biglaugh
« Última modificação: 08 de Janeiro de 2012, 01:56 por marcio-msa »

Offline Ricards

  • Iniciar SmfPt
  • *
  • Mensagens: 39
  • Rank: 0
  • Sexo: Masculino
  • Hosting by Aplic
Re: Perfil Teknodyum Alanı
« Responder #7 em: 08 de Janeiro de 2012, 05:21 »
o mod funciona, só uma coisa, o nome "marcio-msa" nao dá pa por dentro da caixinha como o resto?

Offline marcio-msa

  • Smfpt em 10%
  • *
  • Mensagens: 231
  • Rank: 0
  • GsmLiveFans
    • GsmLivefans
Re: Re: Perfil Teknodyum Alanı
« Responder #8 em: 08 de Janeiro de 2012, 20:42 »
o mod funciona, só uma coisa, o nome "marcio-msa" nao dá pa por dentro da caixinha como o resto?

maninhu este mods é o 1ª vai depender de atualizar ele pois usei as configurações deste topico para criar este mods porisso deichei ele para teste assim algum programador mais esperiente em php pode nos ajudar a melhorar este mods kkk

Offline Luisinhocell

  • Iniciar SmfPt
  • *
  • Mensagens: 25
  • Rank: 0
Re: Perfil Teknodyum Alanı
« Responder #9 em: 30 de Abril de 2012, 18:01 »
Tentei baixar a imagem mais nao consegui esta dando erro ,alguem pode postar novamente

Offline marcio-msa

  • Smfpt em 10%
  • *
  • Mensagens: 231
  • Rank: 0
  • GsmLiveFans
    • GsmLivefans
Re: Perfil Teknodyum Alanı
« Responder #10 em: 07 de Maio de 2012, 05:22 »
Tentei baixar a imagem mais nao consegui esta dando erro ,alguem pode postar novamente

se num me ingano a imagem pode ser criada no photoshop tamanho 3x100
assim vc pode escolher a cor que quer faser ne