Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: Chaos Dragon on April 15, 2009, 01:47:26 AM

Title: Points Mod
Post by: Chaos Dragon on April 15, 2009, 01:47:26 AM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1741)



************************************************************************************************

SMF Points V1.0
Created By: wdm2005 (http://www.sa-mods.info/index.php) Taken over by: Chaos Dragon (http://www.simplemachines.org/community/index.php?action=profile)



**************************************************************************************************



Description:

This is a simple Points Mod where your users get points for posting in your forum.
Settings are under Configuration -> Points in the Admin Section.

Settings will include the following:

Points Upon Registration: 
Points Per New Topic
Points Per New Post
Points Per Word
Points Per Character
Points Limit received per post
Currency Surfix
Currency Prefix

Hope you enjoy.

Compatibility:
SMF 2.0RC1-1
SMF 2.0RC1.2
SMF 2.0RC2
SMF 2.0RC3

Supported Languages (Both ISO and UTF-8):
English

Other Translations Welcome.

Title: Re: Points Mod
Post by: edi67 on April 15, 2009, 05:16:13 AM
Intersting this, as i saw for phpbb, one system point only for mod, for check them activity
Title: Re: Points Mod
Post by: KahneFan on April 15, 2009, 10:47:16 AM
Will you be allowing members to give other members points?
Title: Re: Points Mod
Post by: Sudhakar Arjunan on April 15, 2009, 11:44:45 AM
MAD Coder.

Its a great work. Nice mod. Installed it.
Title: Re: Points Mod
Post by: SA™ on April 15, 2009, 10:17:46 PM
@KahneFan yes i will dont know when yet tho my main concern is to get my shop ready


thank for the comments guys
Title: Re: Points Mod
Post by: Afro on April 17, 2009, 04:47:00 AM
Wont this conflict with the casino point system in anyway?
Title: Re: Points Mod
Post by: SA™ on April 17, 2009, 01:12:32 PM
no not at all the casino point is different
Title: Re: Points Mod
Post by: dekay on May 05, 2009, 05:28:10 AM
nice mod!

is there something like a stats/hiscore list?

what about a "reset all points" option? :)
Title: Re: Points Mod
Post by: SA™ on May 05, 2009, 09:42:29 AM
i will do more to this when i finished my other mod
Title: Re: Points Mod
Post by: Amun on May 24, 2009, 01:28:16 PM
I like this nice and simple and could be useful for various things :)

I don't know if it is just me but the prefix and suffix don't seem to work. I just get "points:" in the post info.
Title: Re: Points Mod
Post by: SA™ on May 24, 2009, 06:28:30 PM
thanks i just fixed the package

display.template.php

find

// Begin points Mod
echo '
<li>', $txt['member_points'], ': ', $message['member']['points'], '</li>';
// End points Mod



replace with


// Begin points Mod
echo '
<li>', $txt['member_points'], ':<br />', $modSettings['pointsprefix'], $message['member']['points'], $modSettings['pointssurfix'], '</li>';
// End points Mod
Title: Re: Points Mod
Post by: Antes on May 25, 2009, 05:25:31 AM
if accept here is Turkish Translate :) i'm Glad ... Good Work

</operation>
</file>
</file>
<file name="$languagedir/Modifications.turkish.php">
<operation>
<search position="end" />

<add><![CDATA[

// for Settings in Admin
$txt['points'] = 'Puanlar';
$txt['points_settings'] = 'Genel Ayarlar';
$txt['points_settings'] = 'Genel Ayarlar';
$txt['pointsRegAmount'] = 'Kayıt Sonrası Verilecek Puan: ';
$txt['pointsprefix'] = 'Baş Ek ( Örn : TL x , Puan x )';
$txt['pointssurfix'] = 'Son Ek ( Örn : x TL , x Puan )';
$txt['pointsPointTopic'] = 'Yeni Konular İçin Verilecek Puan';
$txt['pointsPointPost'] = 'Yeni İletiler İçin Verilecek Puan';
$txt['pointsPointWord'] = 'İletideki Her Kelime İçin Verilecek Puan';
$txt['pointsPointChar'] = 'İletideki Her Karakter İçin Verilecek Puan';
$txt['pointsPointLimit'] = 'İleti Başına Puan Limiti';
$txt['points_submit'] = 'Kaydet';

// for Admin tablinks
$txt['pointssettings'] = 'Ayarlar';
$txt['pointsMod'] = 'Puan Modu';
$txt['pointsModDes'] = 'Bu Sayfa Puan Modu Hakkındaki Ayarları Düzenlemeniz İçin Yardımcı Olacaktır';

$txt['member_points'] = 'Puanlar';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.turkish-utf8.php" error="skip">
<operation>
<search position="end" />
<add><![CDATA[
// for Settings in Admin
$txt['points'] = 'Puanlar';
$txt['points_settings'] = 'Genel Ayarlar';
$txt['points_settings'] = 'Genel Ayarlar';
$txt['pointsRegAmount'] = 'Kayıt Sonrası Verilecek Puan: ';
$txt['pointsprefix'] = 'Baş Ek ( Örn : TL x , Puan x )';
$txt['pointssurfix'] = 'Son Ek ( Örn : x TL , x Puan )';
$txt['pointsPointTopic'] = 'Yeni Konular İçin Verilecek Puan';
$txt['pointsPointPost'] = 'Yeni İletiler İçin Verilecek Puan';
$txt['pointsPointWord'] = 'İletideki Her Kelime İçin Verilecek Puan';
$txt['pointsPointChar'] = 'İletideki Her Karakter İçin Verilecek Puan';
$txt['pointsPointLimit'] = 'İleti Başına Puan Limiti';
$txt['points_submit'] = 'Kaydet';

// for Admin tablinks
$txt['pointssettings'] = 'Ayarlar';
$txt['pointsMod'] = 'Puan Modu';
$txt['pointsModDes'] = 'Bu Sayfa Puan Modu Hakkındaki Ayarları Düzenlemeniz İçin Yardımcı Olacaktır';

$txt['member_points'] = 'Puanlar';
]]></add>
</operation>
</file>
Title: Re: Points Mod
Post by: SA™ on May 25, 2009, 01:42:21 PM
thank you ill add it to the nex relese
Title: Re: Points Mod
Post by: Lithriel on May 26, 2009, 08:18:13 PM
Is this going to integrate with your shop mod?  Or are these two separate modifications?
Title: Re: Points Mod
Post by: SA™ on May 26, 2009, 08:27:45 PM
there seperate mods
Title: Re: Points Mod
Post by: Lithriel on May 26, 2009, 09:32:05 PM
Sorry, I just want to make sure I have this right...  if I download your shop mod, when it is ready, is it going to have it's own credit system where people get points for posting then?

If so, then this points mod is much more simplified compared to the shop mod you are currently working on, right?

Title: Re: Points Mod
Post by: SA™ on May 26, 2009, 09:53:04 PM
yes thats right


i will do more to this oneday
Title: Re: Points Mod
Post by: neteater on May 28, 2009, 12:54:40 AM
is this like the credit system in vbulletin and does it works for 1.1.9.i've also made an request for such type of mod in mod request section
Title: Re: Points Mod
Post by: SA™ on May 28, 2009, 01:56:18 PM
no no 1.1.9 support yet
Title: Re: Points Mod
Post by: moonpeach on July 03, 2009, 01:39:44 AM
Hi
Just installed it but i come to a problem ,

I cant use decimals and i do and i do a post it comes to an error. Is it anyway possible for it to work with decimals because im working on a pay to post forum and its pretty usful if we have decimals
Title: Re: Points Mod
Post by: [Core] on July 03, 2009, 01:42:42 AM
Very nice mod
Title: Re: Points Mod
Post by: cavalcanti on July 17, 2009, 12:23:55 AM
Thank you so much for this great mod, but I have a problem, just install it and goes perfect with the only drawback that all my 1000 users will leave the default, how could leave him to start with points from 0 and increasing as they were involved? This is my configuration:



And this is shown by default:





Title: Re: Points Mod
Post by: SA™ on July 17, 2009, 02:53:26 PM
you want to reset pints to zero? for all members?
Title: Re: Points Mod
Post by: akbora on July 17, 2009, 03:47:05 PM
You can add a feature that, a topic starter gets points other messages? This will be wonderful.
Title: Re: Points Mod
Post by: cavalcanti on July 17, 2009, 06:39:09 PM
Quote from: sleepy-arcade.ath.cx on July 17, 2009, 02:53:26 PM
you want to reset pints to zero? for all members?

Exactly, by default I get 1000 points and I would like to start from 0  ;)
Title: Re: Points Mod
Post by: SA™ on July 17, 2009, 06:46:59 PM
upload the attached files to your forum root and run it in your brouser


@akbora ill try to add more fetures soon i have a lot to do at mo
Title: Re: Points Mod
Post by: cavalcanti on July 17, 2009, 07:51:39 PM
Now it's perfect thank you so much, this mod is excellent :D
Title: Re: Points Mod
Post by: akbora on July 17, 2009, 09:01:01 PM
Can you make top 10 who much have points?


In fact we can set it starting points insted of 1000 poimts
Title: Re: Points Mod
Post by: SA™ on July 18, 2009, 02:51:50 PM
ill add smoe stats and members pints editing in next one
Title: Re: Points Mod
Post by: Apllicmz on July 19, 2009, 03:32:51 AM
Good Mod

when Update dont forget portugues and brazilian

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
<operation>
    <search position="end" />
<add><![CDATA[
// for Settings in Admin translate By Candidosa2
$txt['points'] = 'Pontos';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['pointsRegAmount'] = 'Pontos Mediante ao Registo: ';
$txt['pointsprefix'] = 'Prefixo actual';
$txt['pointssurfix'] = 'Surfixo actual';
$txt['pointsPointTopic'] = 'Pontos por cada  Novo T&oacute;pico';
$txt['pointsPointPost'] = 'Pontos por cada novo poste';
$txt['pointsPointWord'] = 'Pontos por palavra no poste';
$txt['pointsPointChar'] = 'Pontos por cada car&aacute;ter no poste';
$txt['pointsPointLimit'] = 'Limite pontos recebidos por cada poste';
$txt['points_submit'] = 'Gravar';

// for Admin tablinks
$txt['pointssettings'] = 'Defini&ccedil;&otilde;es';
$txt['pointsMod'] = 'Os pontos do Mod';
$txt['pointsModDes'] = 'Esta p&aacute;gina permite que voc&ecirc; editar as configura&ccedil;&otilde;es dos pontos do mod';

$txt['member_points'] = 'pontos';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
<operation>
    <search position="end" />
<add><![CDATA[
// for Settings in Admin translate By Candidosa2
$txt['points'] = 'Pontos';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['pointsRegAmount'] = 'Pontos Mediante ao Registo: ';
$txt['pointsprefix'] = 'Prefixo actual';
$txt['pointssurfix'] = 'Surfixo actual';
$txt['pointsPointTopic'] = 'Pontos por cada  Novo T&oacute;pico';
$txt['pointsPointPost'] = 'Pontos por cada novo poste';
$txt['pointsPointWord'] = 'Pontos por palavra no poste';
$txt['pointsPointChar'] = 'Pontos por cada car&aacute;ter no poste';
$txt['pointsPointLimit'] = 'Limite pontos recebidos por cada poste';
$txt['points_submit'] = 'Gravar';

// for Admin tablinks
$txt['pointssettings'] = 'Defini&ccedil;&otilde;es';
$txt['pointsMod'] = 'Os pontos do Mod';
$txt['pointsModDes'] = 'Esta p&aacute;gina permite que voc&ecirc; editar as configura&ccedil;&otilde;es dos pontos do mod';

$txt['member_points'] = 'pontos';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian.php" error="skip">
<operation>
    <search position="end" />
<add><![CDATA[
// for Settings in Admin translate By Candidosa2
$txt['points'] = 'Pontos';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['pointsRegAmount'] = 'Pontos Mediante ao Registo: ';
$txt['pointsprefix'] = 'Prefixo actual';
$txt['pointssurfix'] = 'Surfixo actual';
$txt['pointsPointTopic'] = 'Pontos por cada  Novo T&oacute;pico';
$txt['pointsPointPost'] = 'Pontos por cada novo poste';
$txt['pointsPointWord'] = 'Pontos por palavra no poste';
$txt['pointsPointChar'] = 'Pontos por cada car&aacute;ter no poste';
$txt['pointsPointLimit'] = 'Limite pontos recebidos por cada poste';
$txt['points_submit'] = 'Gravar';

// for Admin tablinks
$txt['pointssettings'] = 'Defini&ccedil;&otilde;es';
$txt['pointsMod'] = 'Os pontos do Mod';
$txt['pointsModDes'] = 'Esta p&aacute;gina permite que voc&ecirc; editar as configura&ccedil;&otilde;es dos pontos do mod';

$txt['member_points'] = 'pontos';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
    <search position="end" />
<add><![CDATA[
// for Settings in Admin translate By Candidosa2
$txt['points'] = 'Pontos';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es Gerais';
$txt['pointsRegAmount'] = 'Pontos Mediante ao Registo: ';
$txt['pointsprefix'] = 'Prefixo actual';
$txt['pointssurfix'] = 'Surfixo actual';
$txt['pointsPointTopic'] = 'Pontos por cada  Novo T&oacute;pico';
$txt['pointsPointPost'] = 'Pontos por cada novo poste';
$txt['pointsPointWord'] = 'Pontos por palavra no poste';
$txt['pointsPointChar'] = 'Pontos por cada car&aacute;ter no poste';
$txt['pointsPointLimit'] = 'Limite pontos recebidos por cada poste';
$txt['points_submit'] = 'Gravar';

// for Admin tablinks
$txt['pointssettings'] = 'Defini&ccedil;&otilde;es';
$txt['pointsMod'] = 'Os pontos do Mod';
$txt['pointsModDes'] = 'Esta p&aacute;gina permite que voc&ecirc; editar as configura&ccedil;&otilde;es dos pontos do mod';

$txt['member_points'] = 'pontos';
]]></add>
</operation>
</file>
Title: Re: Points Mod
Post by: SA™ on July 22, 2009, 01:53:42 AM
thx for the translation joomlams
Title: Re: Points Mod
Post by: Creatief on August 15, 2009, 05:47:49 AM
Hello,

I use this points system for my forum. Works perfect BUT where can i find the point log ?

Cos i want to move to another forum. But if i dont have a points backup they start with 1000 points. Little unfair i think.

Hope u can help me ?

Ray
Title: Re: Points Mod
Post by: cieplutki on August 15, 2009, 04:33:56 PM
polish translation on code please add to next relace

Modifications.polish.php
// for Settings in Admin
$txt['points'] = 'Punkty';
$txt['points_settings'] = 'Ustawienia';
$txt['points_settings'] = 'Ustawienia';
$txt['pointsRegAmount'] = 'Punkty za rejestracje: ';
$txt['pointsprefix'] = 'Prefix Waluty';
$txt['pointssurfix'] = 'Surfix Waluty';
$txt['pointsPointTopic'] = 'Punkty za nowy w±tek';
$txt['pointsPointPost'] = 'Punkty za now± wiadomo¶ć';
$txt['pointsPointWord'] = 'Punkty za liczbę słów w wiadomo¶ci';
$txt['pointsPointChar'] = 'Punkty za charakter wiadomo¶ci';
$txt['pointsPointLimit'] = 'Limit punktów przeznaczonych na wiadomo¶ć';
$txt['points_submit'] = 'Zapisz';

// for Admin tablinks
$txt['pointssettings'] = 'Ustawienia';
$txt['pointsMod'] = 'The points Mod';
$txt['pointsModDes'] = 'Tutaj możesz zmieniać ustawienia dla points mod';

$txt['member_points'] = 'Punkty';


Modifications.polish-utf8.php
// for Settings in Admin
$txt['points'] = 'Punkty';
$txt['points_settings'] = 'Ustawienia';
$txt['points_settings'] = 'Ustawienia';
$txt['pointsRegAmount'] = 'Punkty za rejestracje: ';
$txt['pointsprefix'] = 'Prefix Waluty';
$txt['pointssurfix'] = 'Surfix Waluty';
$txt['pointsPointTopic'] = 'Punkty za nowy wątek';
$txt['pointsPointPost'] = 'Punkty za nową wiadomość';
$txt['pointsPointWord'] = 'Punkty za liczbę słów w wiadomości';
$txt['pointsPointChar'] = 'Punkty za charakter wiadomości';
$txt['pointsPointLimit'] = 'Limit punktów przeznaczonych na wiadomość';
$txt['points_submit'] = 'Zapisz';

// for Admin tablinks
$txt['pointssettings'] = 'Ustawienia';
$txt['pointsMod'] = 'The points Mod';
$txt['pointsModDes'] = 'Tutaj możesz zmieniać ustawienia dla points mod';

$txt['member_points'] = 'Punkty';


nice mod  ;)
Title: Re: Points Mod
Post by: SA™ on August 18, 2009, 01:59:41 AM
thank you sir i try to update this soon ;)
Title: Re: Points Mod
Post by: chrishicks on August 22, 2009, 03:40:39 PM
This mod would be great for 1.1.10
Title: Re: Points Mod
Post by: Creatief on August 22, 2009, 03:42:03 PM
Quote from: Creatief on August 15, 2009, 05:47:49 AM
Hello,

I use this points system for my forum. Works perfect BUT where can i find the point log ?

Cos i want to move to another forum. But if i dont have a points backup they start with 1000 points. Little unfair i think.

Hope u can help me ?

Ray



No one ?

Ray
Title: Re: Points Mod
Post by: shakaran on August 25, 2009, 11:39:06 PM
Hi, I made the spanish, spanish-utf8, spanish_es, spanish_es-utf8 translations! I attached the file.

install.xml

<?xml version="1.0"?>

<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

ATTENTION: If you are trying to install this manually, you should try

the package manager.  If it will not work for you, please take a look

at the following for information on this format:

http://mods.simplemachines.org/docs/manual-install.php

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->



<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">

    <id>wdm2005:SMF_Points</id>

    <version>0.2</version>



<file name="$sourcedir/Admin.php">

<operation>

            <search position="before"><![CDATA['moderation' => array($txt['moderation_settings_short'], 'enabled' => substr($modSettings['warning_settings'], 0, 1) == 1),

),

),]]></search>

            <add><![CDATA[

//Begin points Mod

'points' => array(

'label' => $txt['points'],

'file' => 'pointsAdmin.php',

'function' => 'pointsAdmin',

// 'icon' => 'modifications.gif',

'subsections' => array(

'settings' => array('Settings'),

),

),

//End points Mod

]]>

</add>

        </operation>

    </file>



<file name="$sourcedir/Load.php">

<operation>

<search position="before"><![CDATA[mem.member_ip2, mem.icq,]]></search>

<add><![CDATA[ mem.points,]]></add>

</operation>



<operation>

<search position="before"><![CDATA[mem.birthdate, mem.icq,]]></search>

<add><![CDATA[ mem.points,]]></add>

</operation>



<operation>

<search position="before"><![CDATA['is_buddy' => $profile['buddy'],]]></search>

<add><![CDATA[

'points' => $profile['points'],]]></add>

</operation>



<operation>

<search position="before"><![CDATA['name' => isset($user_settings['real_name']) ? $user_settings['real_name'] : '',]]></search>

<add><![CDATA[

'points' => isset($user_settings['points']) ? $user_settings['points'] : '',

]]></add>

</operation>



<operation>

<search position="before"><![CDATA['name' => $profile['real_name'],]]></search>

<add><![CDATA[

'points' => isset($user_info['points']) ? $user_info['points'] : '',

]]></add>

</operation>

</file>



<file name="$themedir/Display.template.php">

<operation>

<search position="before"><![CDATA[if (!isset($context['disabled_fields']['posts']))

echo '

<li>', $txt['member_postcount'], ': ', $message['member']['posts'], '</li>';]]></search>

<add><![CDATA[

// Begin points Mod

echo '

<li>', $txt['member_points'], ':<br />', $modSettings['pointsprefix'], $message['member']['points'], $modSettings['pointssurfix'], '</li>';

// End points Mod ]]></add>

</operation>

</file>



<file name="$sourcedir/Subs-Members.php">

<operation>

<search position="before"><![CDATA['id_post_group' => 4,]]></search>

<add><![CDATA[// Begin points Code

'points' => $modSettings['pointsRegAmount'],

// End points Code]]></add>

</operation>

</file>



<file name="$sourcedir/Subs-Post.php">

        <operation>

            <search position="before"><![CDATA[$msgOptions['id'] = $smcFunc['db_insert_id']('{db_prefix}messages', 'id_msg');



]]></search>

            <add><![CDATA[

if ($new_topic)

$point = $modSettings['pointsPointTopic'];

else

$point = $modSettings['pointsPointPost'];



// Bonus

// no, BBCCode won't count

$plaintext = preg_replace('[\[(.*?)\]]', ' ', $_POST['message']);

// convert newlines to spaces

$plaintext = str_replace(array('<br />', "\r", "\n"), ' ', $plaintext);

// convert multiple spaces into one

$plaintext = preg_replace('/\s+/', ' ', $plaintext);



// bonus for each word

$point += ($modSettings['pointsPointWord'] * str_word_count($plaintext));

// and for each letter

$point += ($modSettings['pointsPointChar'] * strlen($plaintext));



// Limit?

if (isset($modSettings['pointspointLimit']) && $modSettings['pointsPointLimit'] != 0 && $point > $modSettings['pointsPointLimit'])

$point = $modSettings['pointsPointLimit'];



// and finally, give points

$result = $smcFunc['db_query']('',"

UPDATE {db_prefix}members

SET points = points + {int:point}

WHERE id_member = {int:id_member}

LIMIT 1",

array(

'point' => $point,

'id_member' => $posterOptions['id']

)

);

// }

// End points Code





]]></add>

        </operation>

</file>

<file name="$languagedir/Modifications.english.php">

<operation>

<search position="end" />



<add><![CDATA[



// for Settings in Admin

$txt['points'] = 'points';

$txt['points_settings'] = 'General Settings';

$txt['points_settings'] = 'General Settings';

$txt['pointsRegAmount'] = 'Points Upon Registration: ';

$txt['pointsprefix'] = 'Currency Prefix';

$txt['pointssurfix'] = 'Currency Surfix';

$txt['pointsPointTopic'] = 'Points Per New Topic';

$txt['pointsPointPost'] = 'Points Per New Post';

$txt['pointsPointWord'] = 'Points Per Word in post';

$txt['pointsPointChar'] = 'Points Per Character in post';

$txt['pointsPointLimit'] = 'Points Limit received for post';

$txt['points_submit'] = 'Save';



// for Admin tablinks

$txt['pointssettings'] = 'Settings';

$txt['pointsMod'] = 'The points Mod';

$txt['pointsModDes'] = 'This page allows you to edit settings of the points mod';



$txt['member_points'] = 'points';

]]></add>

</operation>

</file>

<file name="$languagedir/Modifications.english-utf8.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

// for Settings in Admin

$txt['points'] = 'points';

$txt['points_settings'] = 'General Settings';

$txt['points_settings'] = 'General Settings';

$txt['pointsRegAmount'] = 'Points Upon Registration: ';

$txt['pointsprefix'] = 'Currency Prefix';

$txt['pointssurfix'] = 'Currency Surfix';

$txt['pointsPointTopic'] = 'Points Per New Topic';

$txt['pointsPointPost'] = 'Points Per New Post';

$txt['pointsPointWord'] = 'Points Per Word in post';

$txt['pointsPointChar'] = 'Points Per Character in post';

$txt['pointsPointLimit'] = 'Points Limit received for post';

$txt['points_submit'] = 'Save';



// for Admin tablinks

$txt['pointssettings'] = 'Settings';

$txt['pointsMod'] = 'The points Mod';

$txt['pointsModDes'] = 'This page allows you to edit settings of the points mod';



$txt['member_points'] = 'points';

]]></add>

</operation>

</file>

<file name="$languagedir/Modifications.spanish.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

// for Settings in Admin

$txt['points'] = 'puntos';

$txt['points_settings'] = 'Configuraciones generales';

$txt['points_settings'] = 'Configuraciones generales';

$txt['pointsRegAmount'] = 'Puntos desde el registro: ';

$txt['pointsprefix'] = 'Prefijo de divisa';

$txt['pointssurfix'] = 'Sufijo de divisa';

$txt['pointsPointTopic'] = 'Puntos por nuevo tema';

$txt['pointsPointPost'] = 'Puntos por nuevo post';

$txt['pointsPointWord'] = 'Puntos para palabra en post';

$txt['pointsPointChar'] = 'Puntos por carácter en post';

$txt['pointsPointLimit'] = 'Puntos límite recibidos por post';

$txt['points_submit'] = 'Guardar';



// for Admin tablinks

$txt['pointssettings'] = 'Configuraciones';

$txt['pointsMod'] = 'Los puntos Mod';

$txt['pointsModDes'] = 'Esta página te permite edita las configuraciones del mod de puntuación';



$txt['member_points'] = 'puntos';

]]></add>

</operation>

</file>

<file name="$languagedir/Modifications.spanish-utf8.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

// for Settings in Admin

$txt['points'] = 'puntos';

$txt['points_settings'] = 'Configuraciones generales';

$txt['points_settings'] = 'Configuraciones generales';

$txt['pointsRegAmount'] = 'Puntos desde el registro: ';

$txt['pointsprefix'] = 'Prefijo de divisa';

$txt['pointssurfix'] = 'Sufijo de divisa';

$txt['pointsPointTopic'] = 'Puntos por nuevo tema';

$txt['pointsPointPost'] = 'Puntos por nuevo post';

$txt['pointsPointWord'] = 'Puntos para palabra en post';

$txt['pointsPointChar'] = 'Puntos por car&aacute;cter en post';

$txt['pointsPointLimit'] = 'Puntos l&iacute;mite recibidos por post';

$txt['points_submit'] = 'Guardar';



// for Admin tablinks

$txt['pointssettings'] = 'Configuraciones';

$txt['pointsMod'] = 'Los puntos Mod';

$txt['pointsModDes'] = 'Esta p&aacute;gina te permite edita las configuraciones del mod de puntuaci&oacute;n';



$txt['member_points'] = 'puntos';

]]></add>

</operation>

</file>

<file name="$languagedir/Modifications.spanish_es.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

// for Settings in Admin

$txt['points'] = 'puntos';

$txt['points_settings'] = 'Configuraciones generales';

$txt['points_settings'] = 'Configuraciones generales';

$txt['pointsRegAmount'] = 'Puntos desde el registro: ';

$txt['pointsprefix'] = 'Prefijo de divisa';

$txt['pointssurfix'] = 'Sufijo de divisa';

$txt['pointsPointTopic'] = 'Puntos por nuevo tema';

$txt['pointsPointPost'] = 'Puntos por nuevo post';

$txt['pointsPointWord'] = 'Puntos para palabra en post';

$txt['pointsPointChar'] = 'Puntos por carácter en post';

$txt['pointsPointLimit'] = 'Puntos límite recibidos por post';

$txt['points_submit'] = 'Guardar';



// for Admin tablinks

$txt['pointssettings'] = 'Configuraciones';

$txt['pointsMod'] = 'Los puntos Mod';

$txt['pointsModDes'] = 'Esta página te permite edita las configuraciones del mod de puntuación';



$txt['member_points'] = 'puntos';

]]></add>

</operation>

</file>

<file name="$languagedir/Modifications.spanish_es-utf8.php" error="skip">

<operation>

<search position="end" />

<add><![CDATA[

// for Settings in Admin

$txt['points'] = 'puntos';

$txt['points_settings'] = 'Configuraciones generales';

$txt['points_settings'] = 'Configuraciones generales';

$txt['pointsRegAmount'] = 'Puntos desde el registro: ';

$txt['pointsprefix'] = 'Prefijo de divisa';

$txt['pointssurfix'] = 'Sufijo de divisa';

$txt['pointsPointTopic'] = 'Puntos por nuevo tema';

$txt['pointsPointPost'] = 'Puntos por nuevo post';

$txt['pointsPointWord'] = 'Puntos para palabra en post';

$txt['pointsPointChar'] = 'Puntos por car&aacute;cter en post';

$txt['pointsPointLimit'] = 'Puntos l&iacute;mite recibidos por post';

$txt['points_submit'] = 'Guardar';



// for Admin tablinks

$txt['pointssettings'] = 'Configuraciones';

$txt['pointsMod'] = 'Los puntos Mod';

$txt['pointsModDes'] = 'Esta p&aacute;gina te permite edita las configuraciones del mod de puntuaci&oacute;n';



$txt['member_points'] = 'puntos';

]]></add>

</operation>

</file>

</modification>
Title: Re: Points Mod
Post by: SA™ on August 27, 2009, 11:44:13 AM
@Creatief
there is no point logs

@shakaran
thx for the translation ill try to update it soon
Title: Re: Points Mod
Post by: Kimmie on August 28, 2009, 02:58:40 PM
When you delete someones thread or post , does it delete the points they were given for it initially?

Title: Re: Points Mod
Post by: SA™ on September 01, 2009, 06:52:03 PM
no it doesnt
Title: Re: Points Mod
Post by: KahneFan on September 12, 2009, 02:36:02 AM
Just wondering if there's a way to "swap" points yet. To me the biggest feature is members being able to "pay" each other.
Title: Re: Points Mod
Post by: SA™ on September 12, 2009, 03:10:58 AM
no sry this has taken a back seat for a while cos i simply dont have the time to upkeep it no more the battle mod is sucking up all my time
Title: Re: Points Mod
Post by: adice15 on October 19, 2009, 05:18:02 PM
can you please make this available for 1.1.10? also i would like the trading part to be added to it.
Title: Re: Points Mod
Post by: Chaos Dragon on October 20, 2009, 11:09:43 PM
Not very likely to happen sorry. Will be sticking with the 2.0 versions.
Title: Re: Points Mod
Post by: Prosperous on November 24, 2009, 09:19:45 PM
I am currently developing a new hosting service and am trying to figure out what forum software to use. I have been referred to using SMF many times, as well as phpBB, however I am unsure what my final decision will be at the moment. Something I am looking for is a points/shop/cash system; basically if you want to use the free hosting portion of my service, then you will need to post on the forum, gain points and use those points to pay for your hosting every month.

I am not sure at what stage or how feature-rich this modification is, but will it enable me to do what I want as discussed above?

I hope to hear from you soon Chaos Dragon/Sleepy Arcade.
Title: Re: Points Mod
Post by: Chaos Dragon on November 25, 2009, 03:59:42 AM
I do apologize for the lateness of this reply, but I am currently been endowed with my new project that I have been working on.
As for this mod it really doesn't have to many feature at all. Just those listed in the initial post. As far as it working for what you need, no sorry, but as for a shop you can go here (http://custom.simplemachines.org/mods/index.php?mod=1794) and try this out. This one has a kind of points system, it goes by credits. It has items the user can buy and I do believe those can be customized to fit your needs to a point.
For full support and if you have nay questions pertaining to the SA Shop mod you can go to SA Mod Development (http://sa-mods.ath.cx/battle2/index.php).
Hope this helps sorry my mod doesn't fit your needs.
Title: Re: Points Mod
Post by: Prosperous on November 25, 2009, 04:07:18 AM
No problem at all Chaos Dragon, thanks for getting back to me. I have also been taking a look at the SMFShop modification, is that better then the one you have linked me to?
Title: Re: Points Mod
Post by: kapaionutz on December 08, 2009, 07:46:46 AM
Can you give a a link to a mod like this one, that works on smf 1.1.11
Title: Re: Points Mod
Post by: akbora on January 01, 2010, 03:16:04 PM
Please update to for RC2? Thanks
Title: Re: Points Mod
Post by: Lil Foams on January 07, 2010, 09:15:37 PM
Quote from: kapaionutz on December 08, 2009, 07:46:46 AM
Can you give a a link to a mod like this one, that works on smf 1.1.11

Yes, I'd like to have one that works with SMF 1.1.11 as well.
Title: Re: Points Mod
Post by: Bugo on January 21, 2010, 02:45:55 AM
Quote from: akbora on January 01, 2010, 03:16:04 PM
Please update to for RC2? Thanks
It's well installed on RC2

Russian translation:
// SMF Points
$txt['points'] = 'Система очков';
$txt['points_settings'] = 'Общие настройки';
$txt['pointsRegAmount'] = 'Очки за регистрацию: ';
$txt['pointsprefix'] = 'Употребляемый Prefix';
$txt['pointssurfix'] = 'Употребляемый Surfix';
$txt['pointsPointTopic'] = 'Очки за новую тему';
$txt['pointsPointPost'] = 'Очки за новое сообщение';
$txt['pointsPointWord'] = 'Очки за слово в сообщении';
$txt['pointsPointChar'] = 'Очки за символ в сообщении';
$txt['pointsPointLimit'] = 'Лимит очков, получаемых за сообщение';
$txt['points_submit'] = 'Сохранить';
$txt['pointssettings'] = 'Настройки';
$txt['pointsMod'] = 'Мод начисления очков';
$txt['pointsModDes'] = 'Эта страничка позволяет изменять настройки мода SMF Points';
$txt['member_points'] = 'Очков';
// SMF Points END
Title: Re: Points Mod
Post by: 7s-1k on January 21, 2010, 06:46:58 PM
Quote from: Bugo on January 21, 2010, 02:45:55 AM
Quote from: akbora on January 01, 2010, 03:16:04 PM
Please update to for RC2? Thanks
It's well installed on RC2

Russian translation:
// SMF Points
$txt['points'] = 'Система очков';
$txt['points_settings'] = 'Общие настройки';
$txt['pointsRegAmount'] = 'Очки за регистрацию: ';
$txt['pointsprefix'] = 'Употребляемый Prefix';
$txt['pointssurfix'] = 'Употребляемый Surfix';
$txt['pointsPointTopic'] = 'Очки за новую тему';
$txt['pointsPointPost'] = 'Очки за новое сообщение';
$txt['pointsPointWord'] = 'Очки за слово в сообщении';
$txt['pointsPointChar'] = 'Очки за символ в сообщении';
$txt['pointsPointLimit'] = 'Лимит очков, получаемых за сообщение';
$txt['points_submit'] = 'Сохранить';
$txt['pointssettings'] = 'Настройки';
$txt['pointsMod'] = 'Мод начисления очков';
$txt['pointsModDes'] = 'Эта страничка позволяет изменять настройки мода SMF Points';
$txt['member_points'] = 'Очков';
// SMF Points END


Not for me.  :(
Title: Re: Points Mod
Post by: Bugo on May 02, 2010, 02:55:50 AM
Please change in block code:
//Begin points Mod
'points' => array(
'label' => $txt['points'],
'file' => 'pointsAdmin.php',
'function' => 'pointsAdmin',
'icon' => 'modifications.gif',
'subsections' => array(
'settings' => array('Settings'),
),
),
//End points Mod

this line:
'settings' => array('Settings'),
to:
'settings' => array($txt['pointssettings']),
for normal translation :)

And you have 2 same strings in Modifications.language file:
$txt['points_settings'] = 'General Settings';
$txt['points_settings'] = 'General Settings';
Title: Re: Points Mod
Post by: Chaos Dragon on May 02, 2010, 03:24:50 AM
Thank You for pointing those out Bugo. I have made the changes and re-uploaded the zip with the changes.
Title: Re: Points Mod
Post by: cieplutki on May 03, 2010, 05:38:32 AM
Polish translation with iso
// for Settings in Admin
$txt['points'] = 'Punkty';
$txt['points_settings'] = 'Ustawienia';
$txt['pointsRegAmount'] = 'Punkty za rejestracje: ';
$txt['pointsprefix'] = 'Prefix Waluty';
$txt['pointssurfix'] = 'Surfix Waluty';
$txt['pointsPointTopic'] = 'Punkty za nowy w±tek:';
$txt['pointsPointPost'] = 'Punkty za now± wiadomo¶ć:';
$txt['pointsPointWord'] = 'Punkty za liczbę słów w wiadomo¶ci:';
$txt['pointsPointChar'] = 'Punkty za charakter wiadomo¶ci:';
$txt['pointsPointLimit'] = 'Limit punktów przeznaczonych na wiadomo¶ć:';
$txt['points_submit'] = 'Zapisz';

// for Admin tablinks
$txt['pointssettings'] = 'Ustawienia';
$txt['pointsMod'] = 'Punktacja';
$txt['pointsModDes'] = 'Tutaj możesz zmieniać ustawienia dla punktacji';

$txt['member_points'] = 'Punkty';


and polish translation with utf-8
// for Settings in Admin
$txt['points'] = 'Punkty';
$txt['points_settings'] = 'Ustawienia';
$txt['pointsRegAmount'] = 'Punkty za rejestracje: ';
$txt['pointsprefix'] = 'Prefix Waluty';
$txt['pointssurfix'] = 'Surfix Waluty';
$txt['pointsPointTopic'] = 'Punkty za nowy wątek:';
$txt['pointsPointPost'] = 'Punkty za nową wiadomość:';
$txt['pointsPointWord'] = 'Punkty za liczbę słów w wiadomości:';
$txt['pointsPointChar'] = 'Punkty za charakter wiadomości:';
$txt['pointsPointLimit'] = 'Limit punktów przeznaczonych na wiadomość:';
$txt['points_submit'] = 'Zapisz';

// for Admin tablinks
$txt['pointssettings'] = 'Ustawienia';
$txt['pointsMod'] = 'Punktacja';
$txt['pointsModDes'] = 'Tutaj możesz zmieniać ustawienia dla punktacji';

$txt['member_points'] = 'Punkty';


thanks for this mod
Title: Re: Points Mod
Post by: Chaos Dragon on May 08, 2010, 11:40:11 PM
Thank You cieplutki I will add it to the package as soon as possible.
Title: Re: Points Mod
Post by: Sakae on May 09, 2010, 12:02:17 AM
Quote from: Sleepy Arcade on July 22, 2009, 01:53:42 AM
thx for the translation joomlams

Don't use his portuguese_brazilian translation, it's ALL WRONG.

Here's the correct:

<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php" error="skip">
<operation>
    <search position="end" />
<add><![CDATA[
$txt['points'] = 'Pontos';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es gerais';
$txt['points_settings'] = 'Configura&ccedil;&otilde;es gerais';
$txt['pointsRegAmount'] = 'Pontos por registrar-se: ';
$txt['pointsprefix'] = 'Prefixo atual';
$txt['pointssurfix'] = 'Sufixo atual';
$txt['pointsPointTopic'] = 'Pontos por cada t&oacute;pico criado';
$txt['pointsPointPost'] = 'Pontos por cada nova mensagem';
$txt['pointsPointWord'] = 'Pontos por palavra na mensagem';
$txt['pointsPointChar'] = 'Pontos por cada caractere na mensagem';
$txt['pointsPointLimit'] = 'Limite de pontos recebidos por cada mensagem';
$txt['points_submit'] = 'Salvar';

// for Admin tablinks
$txt['pointssettings'] = 'Defini&ccedil;&otilde;es';
$txt['pointsMod'] = 'Sistema de pontos';
$txt['pointsModDes'] = 'Esta p&aacute;gina permite que voc&ecirc; edite as configura&ccedil;&otilde;es do sistema de pontos';

$txt['member_points'] = 'pontos';
]]></add>
</operation>
</file>
<file name="$languagedir/Modifications.portuguese_brazilian-utf8.php"   error="skip">
  <operation>
      <search position="end" />
  <add><![CDATA[
  $txt['points'] = 'Pontos';
  $txt['points_settings'] = 'Configurações gerais';
  $txt['points_settings'] = 'Configurações gerais';
  $txt['pointsRegAmount'] = 'Pontos por registrar-se: ';
  $txt['pointsprefix'] = 'Prefixo atual';
  $txt['pointssurfix'] = 'Sufixo atual';
  $txt['pointsPointTopic'] = 'Pontos por cada tópico criado';
  $txt['pointsPointPost'] = 'Pontos por cada nova mensagem';
  $txt['pointsPointWord'] = 'Pontos por palavra na mensagem';
  $txt['pointsPointChar'] = 'Pontos por cada caractere na mensagem';
  $txt['pointsPointLimit'] = 'Limite de pontos recebidos por cada   mensagem';
  $txt['points_submit'] = 'Salvar';
 
  // for Admin tablinks
  $txt['pointssettings'] = 'Definições';
  $txt['pointsMod'] = 'Sistema de pontos';
  $txt['pointsModDes'] = 'Esta página permite que   você edite as configurações do sistema   de pontos';
 
  $txt['member_points'] = 'pontos';
  ]]></add>
  </operation>
  </file>
Title: Re: Points Mod
Post by: king999 on May 10, 2010, 08:42:06 AM
very nice mod but i want to display those information about points Statistics Center in full detail
how much which member to that likes a referal mod.

Points Upon Registration:     
Points Per New Topic:    
Points Per New Post:    
Points Per Word in post:    
Points Per Character in post:    
Points Limit received for post:
Title: Re: Points Mod
Post by: Sudhakar Arjunan on May 17, 2010, 06:35:33 PM
Good work.

Will give a try today.
Title: Re: Points Mod
Post by: horne on October 06, 2010, 10:01:41 AM
whats happening with the sending points option ?
Title: Re: Points Mod
Post by: OnlineFunCorner on October 12, 2010, 05:37:07 AM
Great
Its Working Nice
Title: Re: Points Mod
Post by: chinaren on December 10, 2010, 12:18:58 AM
Do you know if this can work okay alongside the Shop points mod?  I'd like a second currency, and this mod would probably be okay for what I have in mind.


Thanks.
Title: Re: Points Mod
Post by: eyo on December 10, 2010, 01:33:41 AM
i like this mod a lot. not hard to use for regular non-gamer types, its easy and basic, u can scale it to anything you want like in the future and not be contrived with mini toy game pet type of thing which a lot of more mature people dont really care enough about to use. theres already facebook for every type of game out there so this works for me. i just hope its emulate compatible with rc4


i tried installing it emulated with rc3 and i have display and tempate  errors

*    4.    Execute Modification    ./Themes/default/Display.template.php    Test failed
      1.    Add After    ./Themes/default/Display.template.php    Test failed

      Execute Modification    ./Themes/core/Display.template.php    Test failed
      1.    Add After    ./Themes/core/Display.template.php    Test failed
      Argentum2


can this be fixed? help pls. i really like this mod. thanks.
Title: Re: Points Mod
Post by: jack001 on March 13, 2011, 08:13:55 PM
it would be very nice if you have mod it for 1.1.x. Awesome job but no use for me.. Cant use it for my smf :(
Title: Re: Points Mod
Post by: Arantor on March 13, 2011, 08:43:28 PM
Quote from: jack001 on March 13, 2011, 08:13:55 PM
it would be very nice if you have mod it for 1.1.x. Awesome job but no use for me.. Cant use it for my smf :(

Maybe the author doesn't use 1.1.x, not to mention that 1.1.x is a lot harder to mod for than 2.0 is...
Title: Re: Points Mod
Post by: AllanD on June 02, 2011, 10:52:30 PM
Any plans of updating this for 2.0 final.
Title: Re: Points Mod
Post by: Mikirin on June 17, 2011, 02:28:29 PM
Quote from: CrazieGrafix on June 02, 2011, 10:52:30 PM
Any plans of updating this for 2.0 final.
Yeah it's kind of needed for me as well XD
Title: Re: Points Mod
Post by: Mikirin on July 01, 2011, 03:13:05 PM
Sorry for the double post, but is this ever going to be updated?
Title: Re: Points Mod
Post by: AllanD on July 18, 2011, 09:06:05 PM
After doing a search of many many places this is a much needed update.Since the only really points mod you have to have a shop included which many people don't want.
Since there is no other just forum points out there this would the greatest thing :P
Title: Re: Points Mod
Post by: SA™ on July 18, 2011, 11:17:10 PM
i havent spoken to Chaos Dragon for ages now ill see if i can get hold of him to see if i can update it it should only be a few changes :/
Title: Re: Points Mod
Post by: AllanD on July 19, 2011, 08:29:17 AM
Thanks SA
Title: Re: Points Mod
Post by: Mikirin on July 19, 2011, 04:20:14 PM
Quote from: SA™ on July 18, 2011, 11:17:10 PM
i havent spoken to Chaos Dragon for ages now ill see if i can get hold of him to see if i can update it it should only be a few changes :/
Thank you, I can't wait.
Title: Re: Points Mod
Post by: Kallie on September 12, 2011, 12:59:04 PM
Any suggestions on another mod that can do this type of thing - I'm launching a forum today and really need to put some sort of reward program in place.

thanks,
Karen
Title: Re: Points Mod
Post by: AllanD on September 12, 2011, 09:24:31 PM
you will have to go with a shop mod

here is a link to the mods

http://custom.simplemachines.org/mods/index.php?action=search;basic_search=shop
Title: Re: Points Mod
Post by: TheListener on September 12, 2011, 09:30:09 PM
Quote from: Kallie on September 12, 2011, 12:59:04 PM
Any suggestions on another mod that can do this type of thing - I'm launching a forum today and really need to put some sort of reward program in place.

thanks,
Karen

Why not just use the karma?
Title: Re: Points Mod
Post by: Kallie on September 13, 2011, 01:27:39 PM
I am extremely new to SMF -- what I am trying to accomplish is for members to earn points for actions within the forum -- and then be able to redeem these points for custom items (like signatures or avatars; gift certificates etc).  The application has to allow us to manually deduct the points redeemed and not actually have 'items' in a store that folks can 'buy' directly themselves (our items are not the kinds of things that will work in that format).
Title: Re: Points Mod
Post by: nilox on September 13, 2011, 08:46:53 PM
Hmm... for users who constantly "QUOTE", they still get points from the words in the quote.

Any suggestions on how I should go about coding it so that characters and words within a quote doesn't get calculated?
Title: Re: Points Mod
Post by: N i g h t m a r e on February 03, 2013, 03:10:07 PM
How can i get this to work with SMF 2.0.3? i cant seem to Emulate it
Title: Re: Points Mod
Post by: LadyAngel on April 25, 2013, 02:57:36 AM
Any chance this could be updated for 2.0.4?
Title: Re: Points Mod
Post by: TheListener on April 25, 2013, 06:06:28 PM
Have you tried to emelate the mod?


Have a read of the Mod Emulate link in my signature.
Title: Re: Points Mod
Post by: N i g h t m a r e on September 12, 2013, 09:50:55 PM
Tried, it doesn't work...
Title: Re: Points Mod
Post by: impreza on October 03, 2013, 06:31:39 PM
modification of fun - good as to be accessible to a newer version of forum
Title: Re: Points Mod
Post by: Dzonny on April 09, 2014, 08:42:55 AM
Just for the record, if you want to use this on 2.0.7 (or similar) versions - it works just fine. You need to download latest mod pack, and extract it on your computer, open package-info.xml file, and change "2.0RC3" to "2.0.99". Don't forget to edit it in two places in that same file, as it appears in "install" and "uninstall" actions.

After that, just pack that file back in zip archive and install mod without emulation.

Also, if someone wants to add some custom text, image or anything in display.template, under the points count, just open that file and find:

// End points Mod

After that add:

// Awards depending on points
if ($message['member']['points'] > 40) {
echo'More than 40 points message here!';
}
else
echo'Less than 40 points message here!';
// end awards depending on points

Change "40" to whatever you want ofc. Also, you can play around and add elseif functions to have multiple statements and like that you can make simple"awards" like system based on points. Pretty simple.
Title: Re: Points Mod
Post by: jack001 on January 07, 2018, 06:40:25 AM
i installed this mod but it didn't recalculate points of users. How do i do it?