News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Karma Description Mod

Started by Grek.Kamchatka, September 11, 2005, 11:48:26 PM

Previous topic - Next topic

Grek.Kamchatka

logTime was in SMF 1.1.* in SMF 2.0 it's named as log_time.

Rename "logTime" into "log_time" in your sql file and try to execute it again.

Richardgm

#1581
That worked! Thanks.

Also, what's :

"Amount of karma points: ∞" about?

Grek.Kamchatka

Quote from: Richardgm on July 07, 2011, 11:27:14 PM
That worked! Thanks.

Also, what's :

"Amount of karma points: ∞" about?
It's show how many karma points you have today. As an administrator you have no limit, so this character is meant by endlessness to you.

dta.register

Im a newbie.


im using SMF 1.1.14 with Black Rain theme and TP

Will this work for my forum?




Grek.Kamchatka

No. This mod only for SMF 2.0

Grek.Kamchatka

KDM ver.2.7.1 was released.

*Added new icons for karma labels +/-
*Fixed bug with real_name instead of poster_name in description for concrete message template
*Fixed bug with </div> in Description template (When applauding or smiteing)
*Fixed bug with $button error in error log. (Reason for concrete message template)

Eclipse16V

I worked with:
SMF 2 in German

Shop:
SID Giessen

MacTrom

I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.

xrunner

Quote from: MacTrom on July 24, 2011, 03:39:53 PM
I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.

You have to set permissions for the groups to see that, go to permissions ...

MacTrom

Quote from: xrunner on July 24, 2011, 05:46:25 PM
Quote from: MacTrom on July 24, 2011, 03:39:53 PM
I just installed in 2.0 and I see the links as shown below but my users don't. I've tried playing with the various settings, but nothing seems to give them access to their karma so they can see who gave them karma and why.

You have to set permissions for the groups to see that, go to permissions ...

can you be more specific? I take it you mean the Member's Persmissions, but where do I set the "See Karma Descriptions"?

xrunner

Quote from: MacTrom on July 25, 2011, 01:44:22 AM
can you be more specific? I take it you mean the Member's Persmissions, but where do I set the "See Karma Descriptions"?

Did you even look?

Admin > Permissions > General Permissions > "Regular Members" > Use basic forum functionality > View Karma Log

MacTrom

Got it, thanks. I'm just a little slow.
::)

Leemy

Great mod, I'm using it on 2.0 final now.
et
One issue I've had since the beginning: Notifications. If a user sets their profile to get a PM notification when they receive karma, there are the following issues:

1. Even though normal PMs get an e-mail notification, this PM does not. That is, expected: recipient receives a PM as well as an email with the PM notification. actual: recipient receives just the PM.
2. The e-mail is very poorly formatted and with broken links. Expected: a full working link to the user's karma log. Actual: Text and a link that says:
"Dear user. Your karma was changed. You can see the log if follow this link:
?action=ownkarma;u=27"

That's not a link.


If PMs send e-mail notifications, then karma PMs should as well. The reason I care is because it drives user engagement, bringing a user to the site because another user has interacted with them.




Lastly, a request: which column in which table is the setting for notifications, and what are the values that map to PM notification? I would like to put together a script that just sets all users to PM notification (BONUS POINTS if you make it the default setting for new users!)


i.e. update profile_settings_table?
set  karma_notification_type = 'value for PM'


no where statement, all users.

SeasonsChange

Mod works well on my board, only problem I've run into is that on the home page, the words "KARMA STATS" are enormous and up by my banner. Is there a quick fix for this?

impreza

It's fun to be as far gave the set to display the top positive and negative and not by default, only 5
Portal ToTemat.pl - Filmy i Artykuły

Tincho

I have a problem with "Today karma points". The count is wrong. How can I fix this? Thanks!


//Today karma points
                $today_karma_points = db_query("
                SELECT COUNT(*)
                FROM {$db_prefix}log_karma
                WHERE FROM_UNIXTIME( logTime, '%Y%m%d' ) = $date
                ",__FILE__, __LINE__);
                $row = mysql_fetch_row($today_karma_points);
                $context['today_point'] = stripslashes($row[0]);
                mysql_free_result($today_karma_points);


Note: I'm using version 2.6.8 on SMF 1.1.11.

endiZ

I tried to upgrade from 2.7 to 2.7.1 because my applauding doesn't work anymore, and I get the following error:

Install Mod
This package is already installed, and no upgrade was found!

You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Installations actions for "Karma Description Mod"
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.


I tried uninstalling 2.7 but it states:

This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.


I am running SMF 2.0.1. Any help would be appreciated!

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

paq

I succesfully installed this mod, but with even activated the permission for my global moderators, they cannot view the karma log...


FullHero

Quote from: davidhs on February 23, 2010, 02:40:45 PM
I completed the translation spanish_es (and spanish_es-utf8, of course ;) ) of KarmaDescriptionMod 2.6.7 (I have based on several translations already made)


<?php

// $themedir/languages/Admin.spanish_es.php - 1.1
// $themedir/languages/ManageMaintenance.spanish_es.php - 2.0
$txt['maintain_karmalog'] = 'Vaciar el log de Descripción del Karma';
$txt['maintain_karmalog_info'] = 'Elimina todo el log de Descripción del Karma';
$txt['maintain_karma_points'] = 'Establecer todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info'] = 'Establece todos los puntos de karma a 0 en todos los usuarios';
$txt['maintain_karma_points_info2'] = 'y borra todo el log de Descripción del Karma';

// $themedir/languages/ModSettings.spanish_es.php - 1.1
// $themedir/languages/ManageSettings.spanish_es.php - 2.0
$txt['karmadescmod'] = 'Habilita el Mod Karma Description';
$txt['karmamaxmembers'] = 'Usuarios por página en el log de Descripción del Karma';
$txt['karmalogview'] = 'Usa los nombres de los usuarios como enlace a sus perfiles';
$txt['karmapermiss'] = 'Permite a los usuarios ver el log de Descripción del Karma (Ver Permisos)';
$txt['karmalinks'] = 'Habilita los enlaces de karma en los perfiles de usuario';
$txt['karmaisowner'] = 'Inhabilita el log de karma completo a los usuarios, pero habilita el log de karma propio';
$txt['karmakarma'] = 'Muestra el karma(+/-) de los usuarios en el log de Descripción del Karma';
$txt['karmaurl'] = 'Habilita el campo "Dónde" en el log de Descripción del Karma';
$txt['karmaotherstat'] = 'Muestra otras estadísticas de karma';
$txt['karmasurv'] = 'Aplaudir o castigar a usuarios sin explicación';
$txt['karmawhatwrite'] = 'Escribe esto en el log cuando la explicación esta inhabilitada';
$txt['karmacensor'] = 'Censurar la descripción del karma';
$txt['karmatopicstarter'] = 'Los usuarios solo pueden modificar el karma del autor del tema';
$txt['karmanotifier'] = 'Habilita la notificación de karma';
$txt['karmaidmember'] = 'Envía MP desde este ID de usuario (por defecto 1)';
$txt['karma_pm_send_changelink'] = 'Envía por mensaje personal un enlace al mensaje donde se ha cambiado el karma';
$txt['karma_pm_send_link'] = 'Envía enlace al log de karma propio por mensaje personal';
$txt['karmacantmodify'] = 'IDs de usuario cuyo karma no puede ser modificado. <div class="smalltext">Separados por coma, sin espacios. Por ejemplo: 1,13,27</div>';
$txt['karmacantmodify2'] = 'IDs de usuario que no pueden modificar el karma. <div class="smalltext">Por ejemplo: 2,412,88</div>';
$txt['karmabuttons'] = 'Muestra pequeñas imágenes en lugar de las etiquetas de texto de karma de aplaudir y castigar';
$txt['karmapictureinlog'] = 'Muestra pequeñas imágenes en el log de Descripción del Karma en lugar + o - en el campo acción';
$txt['karmadelete'] = 'Elimina los puntos de karma de usuario cuando borre la descripción de los cambios en el log de Descripción del Karma';
$txt['karmalabellink'] = 'Usa etiquetas de karma como enlace al log de Descripción del Karma de los usuarios';
$txt['karmalastchange'] = 'Habilita últimos cambios de karma en el índice del foro';
$txt['karmalastchangenum'] = 'Número de descripciones en el índice del foro';
$txt['karmadescfieldnum'] = 'Cuántos caracteres habrá en el campo descripción en el índice del foro';

// $themedir/languages/Who.spanish_es.php
$txt['whoadmin_viewkarma'] = 'Viendo el <a href="' $scripturl '?action=viewkarma">log de Cambios en la Descripción del Karma</a>.';
$txt['whoall_modifykarma'] = 'Cambiando el Karma.';

// $themedir/languages/Help.spanish_es.php
$helptxt['karmapermiss'] = 'Por defecto esta opción está desactivada y el log de Karma solo lo pueden ver los administradores. Si quieres que el log de Karma disponible esté otros usuarios o moderadores, etc., habilita esta opción y dale el derecho de ver el log a ese grupo modificando los permisos.';
$helptxt['karmaotherstat'] = 'Muestra otras estadísticas de karma, como los usuarios más aplaudidos o los usuarios más castigados, y cosas así, del log de karma completo.';
$helptxt['karmalinks'] = 'Si habilitas esta característica, los usuarios verán dos enlaces en sus perfiles (propios o de otros usuarios). Podrán ver quien cambia su karma y a quienes se lo han cambiado. El Mod Karma Description debe estar habilitado';
$helptxt['karmakarma'] = 'Muestra el karma del usuario en el log de karma frente a su nombre de usuario. Por ejemplo: NombreUsario (+12/-8)';
$helptxt['karmaurl'] = 'Si habilitas esta opción, tu y tus usuarios podrán ver donde se modificó su karma.';
$helptxt['karmaisowner'] = 'Si habilitas esta opción, solo el propietario del perfil podrá ver los dos enlaces a su propio log de karma. Por otra parte, tus usuarios recibirán un error si introducen una dirección url (como http://your_forum.com/index.php?action=ownkarma;u=other_user) a mano si no deseas que tus usuarios puedan ver el log de karma de los demás usuarios. El log de karma completo se inhabilitará también. SOLO EL LOG DE KARMA PROPIO.';
$helptxt['karmanotifier'] = 'Si habilitas esta función, tus usuarios verán un campo más en sus perfiles en la sección \'Notificaciones y email\'. Esto dará la oportunidad de notificar a los usuarios cuando se modifique su karma, a través de dos formas: Mensaje en una ventana emergente y Mensaje Personal.';
$helptxt['karmaidmember'] = 'Si tus usuarios habilitaron la función de Notificación del Karma y eligen notificación por Mensaje Personal, lo recibirán desde este ID de usuario. Por ejemplo, si tienes ID_MEMBER=1 recibirán un MP de tu parte. Si fijas el ID de usuario a 0, tus usuarios recibirán un mensaje de parte del Administrador.';
$helptxt['karma_pm_send_link'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán un enlace a su log de karma propio.';
$helptxt['karma_pm_send_desc'] = 'Si tus usuarios habilitan la función de Notificación del Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán la razón del cambio de karma.';
$helptxt['karma_pm_send_changelink'] = 'Si tus usuarios habilitan la función de Notificación de Karma y eligen notificación por Mensaje Personal, en el Mensaje Personal verán enlace al mensaje donde se modificó su karma.';
$helptxt['karmacantmodify'] = 'Separados por comas, sin espacios.';
$helptxt['karmacantmodify2'] = 'Separados por comas, sin espacios.';

// $themedir/languages/index.spanish_es.php
$txt['karmaview'] = 'Cambios en la Descripción del Karma';
$txt['whykarmamod'] = 'Cambio de karma';
$txt['Description'] = 'Sin Descripción';
$txt['karmamoder'] = 'Razón para cambiar el karma de este usuario';
$txt['karmarequare'] = '(Campo requerido)';
$txt['karmawho'] = 'Quién';
$txt['karmawhos'] = 'A quién';
$txt['karmawhat'] = 'Qué';
$txt['karmadesc'] = 'Por qué';
$txt['karmatime'] = 'Cuándo';
$txt['karmanumb'] = 'Valores: ';
$txt['statkarma'] = '[Estadísticas de Karma]';
$txt['viewkarma_title'] = 'Cambios en la Descripción del Karma';
$txt['deletekarma'] = 'Eliminar';
$txt['clearkarma'] = 'Limpiar';
$txt['karma_delete_confirm'] = '¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_back'] = '< Volver';
$txt['karma_continue'] = 'Continuar >';
$txt['karmadescappl'] = ' (Aplaudir)';
$txt['karmadescsmi'] = ' (Abuchear)';
$txt['karmawhere'] = 'Dónde';
$txt['karmawhereurl'] = 'En tema/post';
$txt['karmawhereurl2'] = 'En MP';
$txt['karma_delete'] = 'Eliminar';
$txt['karma_pages'] = 'Páginas';
$txt['karma_profile_of'] = 'Ver perfil de';
$txt['sure_about_karma_remove'] ='¿Estás seguro de que quieres eliminar este registro?';
$txt['karma_stat'] = 'Estadísticas de Karma';
$txt['karma_top_applaud'] = 'Los 5 usuarios más aplaudidos';
$txt['karma_top_smite'] = 'Los 5 usuarios más abucheados';
$txt['karma_other_stat'] = 'Estadísticas Generales';
$txt['karma_max_appl'] = 'Usuario que más aplaude a otros usuarios';
$txt['karma_max_smit'] = 'Usuario que más abuchea a otros usuarios';
$txt['karma_today'] = 'Puntos de karma de hoy';
$txt['karma_today_plus'] = 'Hoy "+"';
$txt['karma_today_minus'] = 'Hoy "-"';
$txt['karma_notifier'] = 'Tu karma ha sido cambiado en ';
$txt['karma_notifier2'] = ' puntos. ¿Deseas ver el log de descripción de karma?';
$txt['karma_pm_subject'] = 'Notificación de Karma';
$txt['karma_pm_body'] = 'Estimado usuario. Tu Karma ha sido cambiado. ';
$txt['karma_pm_body2'] = 'Puedes ver el registro siguiendo este enlace:<br />'.$scripturl.'?action=ownkarma;u='.'';
$txt['karma_pm_send_desc'] = 'Envía la razón en el mensaje personal';
$txt['karma_pm_send_desc2'] = '<br /><br />La razón del cambio fue: ';
$txt['karma_pm_send_changelink'] = '<br /><br />Tu karma fue modificado en este mensaje:<br />';
$txt['karma_last_change']='Últimos cambios de karma';
$txt['karma_last_change1']='Últimos ';
$txt['karma_last_change2']=' cambios de karma';

// $themedir/languages/ManagePermissions.spanish_es.php
$txt['permissionname_karmalog_view'] = 'Ver el log de karma';
$txt['permissionhelp_karmalog_view'] = 'El log de Descripción del Karma muestra el karma de todos los usuarios, y una descripción sobre los aplausos o abucheos. Este permiso sólo funcionará si también lo tienes activado en \'Características y Opciones\'. Puedes acceder a la pantalla Descripción del Karma haciendo clic en el enlace de la sección \'Estadísticas de Karma\' en el índice del foro.';

// $themedir/languages/Errors.spanish_es.php
$txt['cannot_karmalog_view'] = 'Lo siento - no tienes los permisos apropiados para ver la lista de Descripción del Karma.';
$txt['viewkarma_error'] = 'El ID de usuario debe ser un número';
$txt['karma_not_topic_starter'] = 'Lo siento, él no es el autor del tema.';
$txt['karma_cant_modify'] = 'Lo siento, no puedes modificar el karma de este usuario.';
$txt['karma_cant_modify2'] = 'Lo siento, no puedes modificar el karma de otros usuarios.';
$txt['kdm_error'] = 'El Mod Karma Description está inhabilitado';

// $themedir/languages/Profile.spanish_es.php
$txt['who_change_my_karma'] = '¿Quién cambió mi Karma?';
$txt['whom_i_change_karma'] = '¿A quienes he cambiado el Karma?';
$txt['enable_notify'] = 'Notificarme cuando mi karma sea cambiado';
$txt['enable_notify_none'] = 'no notificar';
$txt['enable_notify_popup'] = 'Ventana emergente';
$txt['enable_notify_pm'] = 'Mensaje personal';

?>



and I found an English word in the code, which should be changed to variable language:

File: Viewkarma.template.php
Line: 122
Change:

<?php

if ($user_info['is_admin']) echo ' <td align="center"><b>Delete</b></td>';

?>


For:

<?php

if ($user_info['is_admin']) echo ' <td align="center"><b>'$txt['deletekarma'], '</b></td>';

?>



Sorry, but I installed the mod on my forum, version 2.0.1 and I want to install it says "The package you're trying to download or install is corrupt or not compatible with your version of SMF.", I tried different ways and the result is always the same. someone could help me or guide are some solutions to do so.
By the way the mod you download the 2.7.1 which claims to be compatible with versions 2.0 and 2.0.1 or I'm wrong?

From already thank you very much!!

Advertisement: