News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Top Karma

Started by Yağız..., March 11, 2008, 12:01:26 AM

Previous topic - Next topic

Yağız...

Link to Mod

This mod show your forum's top karma good & top karma bad in stats page.

Supported Languages:
- English(UTF-8, British, British UTF-8)
- Turkish(UTF-8)
- Portuguese(UTF-8)

If you want to translate pm me or write a message in mod's thread.

Changelog:
1.0 28th February 2008
- Initial Release.

1.0 11th April 2008
-Added Portuguese Language.

Hoochie Coochie Man

Thanks for the mod @Yağız
İnadına SMF 1.1.X

Yağız...


unformatted_

It´s possible a Top Karma Good only? Without the bad.

bianca007


I installed this wonderful little mod but its displaying my users real names instead of username :( My site uses SMF integration hook to merge in with forum so I'm thinking it because of that.

Can anyone tell me possible where I can edit the karma stats to change the display name to the username?

Yağız...

#5
Quote from: vasco on April 03, 2008, 02:06:12 PM
It´s possible a Top Karma Good only? Without the bad.
Yes. Install the mod who named topkarmagood.zip in attachement.

Quote from: bianca007 on April 10, 2008, 04:05:56 PM

I installed this wonderful little mod but its displaying my users real names instead of username :( My site uses SMF integration hook to merge in with forum so I'm thinking it because of that.

Can anyone tell me possible where I can edit the karma stats to change the display name to the username?
Find in Sources/Stats.php:
      SELECT ID_MEMBER, realName, karmaGood
Replace with this:
      SELECT ID_MEMBER, memberName, karmaGood
Find:
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['realName'] . '</a>'
Replace:
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['memberName'] . '</a>'
Find:
      SELECT ID_MEMBER, realName, karmaBad
Replace:
      SELECT ID_MEMBER, memberName, karmaBad
Find:
         'link' => '<a href="' . $scripturl . '?action=profile;u=' . $row_members['ID_MEMBER'] . '">' . $row_members['memberName'] . '</a>'

chrisb

Thanks for the mod , this works a treat

Apllicmz

thank you she work fine 100%

translate Portuguese pt_PT And pt_BR

<file name="$languagedir/Stats.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';



Yağız...

Quote from: chrisb on April 10, 2008, 09:27:31 PM
Thanks for the mod , this works a treat
Thank you too chrisb.

Quote from: joomlamz on April 10, 2008, 09:38:59 PM
thank you she work fine 100%

translate Portuguese pt_PT And pt_BR

<file name="$languagedir/Stats.portuguese.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.portuguese-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.brazilian.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';
]]></add>
</operation>
</file>
<file name="$languagedir/Stats.brazilian-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
$txt['smf_stats_karmaGood'] = 'Top Bom Karma';
$txt['smf_stats_karmaBad'] = 'Top Mau Karma';

Thanks joomlamz. I've added in package.

unformatted_

Thanks Yağız!

I have to uninstall Top Karma On Stats, and then install top karma good?

Yağız...


unformatted_

#11
Thanks. I´ve installed top karma good and works.

As you can see (attach) the layout is not very good

It´s possible to put top karma good at left, with 20 top karma good, and the top starter topics below top most online?

I think in this way the layout will be better.

p.s. "top acções positivas" = "top karma good"
it´s portuguese :)

Yağız...

I'll look at that tomorrow.

unformatted_

do you have news for me?

thanks

Yağız...

Sorry, I'm at my cousin's.

Sheree

hi there nice mod worked like a charm  just one quick question is there anyway i can put this in a TP block?

holly.celeb.fan


Advertisement: