Seleccionar idioma:
Realizar Donación - Mods Premium - Portfolio



Este sitio utiliza cookies propias y de terceros. Si continúa navegando consideramos que acepta el uso de cookies. OK Más Información.
* Blod text in profil / box (karma)
  Leído 1692 veces
* Viendo el foro
 0 Usuarios y 1 Visitante están viendo este foro.


Tema Solucionado
*
Ene 22 2012


1. Question:
http://www.zaslike.com/files/ou544ttt9tvvt2p5rkv3.png

Interested me how this bold, "Posts" "Karma," "Sex", ie where it is exactly this.

2. Question:
How create this: http://www.zaslike.com/files/13fuxr0s3150kx79rszv.png in one BOX?
Maybe this code need edit?
Código: [Seleccionar]
// 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>';
Thanks.

2.0.2
http://forum.unique-samp.com

Mensajes: 26

Ver Perfil  Online Gaming Community 

En línea

*
Ene 22 2012


In file "Display.template.php"

Search:
Código: [Seleccionar]
// 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>';

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

// Is this user allowed to modify this member's karma?
if ($message['member']['karma']['allow'])
echo '

<br /><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>';
else { echo '</li>';}




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

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




Search:
Código: [Seleccionar]
// 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>';

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


*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#1

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Ene 22 2012


Thanks. :)

2.0.2
http://forum.unique-samp.com
#2

Mensajes: 26

Ver Perfil  Online Gaming Community 

En línea

*
Mar 29 2012


Sorry for DP.

How and where do I change type icon (.gif to .png) of the UP and DOWN karma (in script)?

2.0.2
http://forum.unique-samp.com
#3

Mensajes: 26

Ver Perfil  Online Gaming Community 

En línea

*
Mar 29 2012


In the administration?

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#4

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Mar 30 2012


No, no, i falsely telling.

I now put new icons for 'Male and Female', and i don't see this images.. Old format pictures is .gif, new is .png.

Where i need change format images for reading in script?


In Display.template
Código: [Seleccionar]
// 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>';

2.0.2
http://forum.unique-samp.com
#5

Mensajes: 26

Ver Perfil  Online Gaming Community 

En línea

*
Mar 30 2012


I dizzy  :o

Change to gender or karma?

Citar
of the UP and DOWN karma

Citar
Male and Female




Karma: In the administration

Gender: In the file Load.php
Código: [Seleccionar]
'image' => !empty($profile['gender']) ? '<img class="gender" src="' . $settings['images_url'] . '/' . ($profile['gender'] == 1 ? 'Male' : 'Female') . '.gif" alt="' . $gendertxt . '" />' : ''

replace .gif with .png

*¤×•·:.·.:·•×¤* ^HeRaCLeS^ *¤×•·:.·.:·•×¤*
*¤×• Todos los Mp seran ignorados | Solo seran considerados los Mp Solicitados por mi •×¤*
*¤×• All Mp will be ignored | Only considers the Mp requested per my •×¤*

SMFPersonal

Adk Portal 3.0.2
2.0.14
www.smfpersonal.net
#6

Mensajes: 13978

Ver Perfil  SMFPersonal 

En línea

*
Mar 30 2012


Thanks! :)

2.0.2
http://forum.unique-samp.com
#7

Mensajes: 26

Ver Perfil  Online Gaming Community 

En línea




Otros temas de su interes

Expand ADK Dark to full screen? hometowndirectories Enero 09, 2012, 07:21:47 pm *
ShareDownload Theme Magnum Julio 12, 2012, 06:20:40 pm *
Background for quotes ("[quote] [/ quote]") Mirko22 Enero 15, 2012, 12:46:51 pm *
Adk Cool Black and Adk Gallery Bretto Abril 07, 2012, 12:37:11 am *
Problems finding the text Search. ForumMix Noviembre 18, 2014, 05:52:53 pm *
adding an image to the Black Ibz theme Allen1968 Octubre 11, 2012, 07:12:44 pm *



Usuario:
Contraseña:
Sesión:
hermes bracelet replica, christian louboutin replica, van cleef and arpels replica, red bottoms replica, cartier love bracelet replica christian louboutin replica, christian louboutin replica, hermes bracelet replica,