Skip to content

Commit ffda086

Browse files
committed
Update mod to 0.7.0 - prerelease
Now it's possible to install develop version and check its functions.
1 parent 9871f6e commit ffda086

1 file changed

Lines changed: 21 additions & 23 deletions

File tree

install_mod.xml

Lines changed: 21 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Special thanks to Versusnja, who present me how AJAX works.]]></author-notes>
1616
<author-group>
1717
<author>
1818
<username><![CDATA[Pico88]]></username>
19-
<homepage><![CDATA[http://pico88.github.com/phpBB-Reputation-System/]]></homepage>
19+
<homepage><![CDATA[http://pico88.github.io/phpBB-Reputation-System/]]></homepage>
2020
</author>
2121
<author>
2222
<username><![CDATA[Versusnja]]></username>
@@ -207,10 +207,19 @@ Special thanks to Versusnja, who present me how AJAX works.]]></author-notes>
207207
</changelog>
208208
</entry>
209209
<entry>
210-
<date>2013-04-01</date>
210+
<date>2013-07-31</date>
211211
<rev-version>0.7.0</rev-version>
212212
<changelog lang="en">
213-
<change><![CDATA[Will be filled in the future]]></change>
213+
<change><![CDATA[FIX clear reputation sql error]]></change>
214+
<change><![CDATA[ADD prevent double click action]]></change>
215+
<change><![CDATA[IMPROVE avatar displaying]]></change>
216+
<change><![CDATA[IMPROVE reputation with warnings]]></change>
217+
<change><![CDATA[REMOVE bans for reputations]]></change>
218+
<change><![CDATA[UPDATE jQuery]]></change>
219+
<change><![CDATA[IMPROVE synchronisation]]></change>
220+
<change><![CDATA[ADD save last active tab in ACP reputation settings]]></change>
221+
<change><![CDATA[ADD section in ACP reputation settings tabs]]></change>
222+
<change><![CDATA[ADD new reputation stats in details]]></change>
214223
</changelog>
215224
</entry>
216225
</history>
@@ -223,6 +232,7 @@ Special thanks to Versusnja, who present me how AJAX works.]]></author-notes>
223232
<link type="contrib" href="./contrib/update_from_0.6.0_to_0.6.1.xml" lang="en">Update from 0.6.0 to 0.6.1</link>
224233
<link type="contrib" href="./contrib/update_from_0.6.1_to_0.6.2.xml" lang="en">Update from 0.6.1 to 0.6.2</link>
225234
<link type="contrib" href="./contrib/update_from_0.6.2_to_0.6.3.xml" lang="en">Update from 0.6.2 to 0.6.3</link>
235+
<link type="contrib" href="./contrib/update_from_0.6.3_to_0.7.0.xml" lang="en">Update from 0.6.3 to 0.7.0</link>
226236
</link-group>
227237
</header>
228238
<action-group>
@@ -460,13 +470,8 @@ $sql = $db->sql_build_query('SELECT', $sql_array);
460470
<edit>
461471
<find><![CDATA[// Additional tables]]></find>
462472
<action type="after-add"><![CDATA[//Reputation System
463-
define('RS_COMMENT_OFF', 0);
464-
define('RS_COMMENT_BOTH', 1);
465-
define('RS_COMMENT_POST', 2);
466-
define('RS_COMMENT_USER', 3);
467473
define('REPUTATIONS_TABLE', $table_prefix . 'reputations');
468-
define('REPUTATIONS_RANKS_TABLE', $table_prefix . 'reputations_ranks');
469-
define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action>
474+
define('REPUTATIONS_RANKS_TABLE', $table_prefix . 'reputations_ranks');]]></action>
470475
</edit>
471476
</open>
472477
<open src="includes/functions_user.php">
@@ -479,9 +484,8 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
479484
<edit>
480485
<find><![CDATA[ $db->sql_multi_insert(BANLIST_TABLE, $sql_ary);]]></find>
481486
<action type="after-add"><![CDATA[ //Reputation System
482-
if ($mode == 'user' && !$ban_exclude && $config['rs_max_power_ban'])
487+
if ($mode == 'user' && !$ban_exclude && $config['rs_max_power_ban'] > 0)
483488
{
484-
$ban_id = $db->sql_nextid();
485489
$ban_time = round(($ban_end - $current_time) / 3600);
486490
$ban_point = round($config['rs_max_power_ban'] * $ban_time / 672);
487491
$ban_points = ($ban_end == 0) ? -$config['rs_max_power_ban'] : -min($config['rs_max_power_ban'],($ban_point == 0 ? 1 : $ban_point));
@@ -547,8 +551,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
547551
<open src="includes/mcp/mcp_warn.php">
548552
<edit>
549553
<find><![CDATA[ $warning = utf8_normalize_nfc(request_var('warning', '', true));]]></find>
550-
<action type="after-add"><![CDATA[
551-
// Reputation System - warnings
554+
<action type="after-add"><![CDATA[ // Reputation System - warnings
552555
$reputation = (isset($_REQUEST['reputation'])) ? true : false;
553556
$comment = utf8_normalize_nfc(request_var('comment', '', true));
554557
$points = request_var('points', '');
@@ -560,8 +563,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
560563
{
561564
$notify = false;
562565
}]]></find>
563-
<action type="after-add"><![CDATA[
564-
// Reputation System - warnings
566+
<action type="after-add"><![CDATA[ // Reputation System - warnings
565567
$voting_power_pulldown = '';
566568
for($i = 1; $i <= $config['rs_max_power_warning']; ++$i)
567569
{
@@ -575,8 +577,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
575577
</edit>
576578
<edit>
577579
<find><![CDATA[ $msg = $user->lang['USER_WARNING_ADDED'];]]></find>
578-
<action type="after-add"><![CDATA[
579-
// Reputation System - warnings
580+
<action type="after-add"><![CDATA[ // Reputation System - warnings
580581
if ($config['rs_warning'] && $reputation)
581582
{
582583
include_once($phpbb_root_path . 'includes/functions_reputation.' . $phpEx);
@@ -592,8 +593,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
592593
</edit>
593594
<edit>
594595
<find><![CDATA[ $warning = utf8_normalize_nfc(request_var('warning', '', true));]]></find>
595-
<action type="after-add"><![CDATA[
596-
// Reputation System - warnings
596+
<action type="after-add"><![CDATA[ // Reputation System - warnings
597597
$reputation = (isset($_REQUEST['reputation'])) ? true : false;
598598
$comment = utf8_normalize_nfc(request_var('comment', '', true));
599599
$points = request_var('points', '');
@@ -605,8 +605,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
605605
{
606606
$notify = false;
607607
}]]></find>
608-
<action type="after-add"><![CDATA[
609-
// Reputation System - warnings
608+
<action type="after-add"><![CDATA[ // Reputation System - warnings
610609
$voting_power_pulldown = '';
611610
for($i = 1; $i <= $config['rs_max_power_warning']; ++$i)
612611
{
@@ -620,8 +619,7 @@ define('REPUTATIONS_BANS_TABLE', $table_prefix . 'reputations_bans');]]></action
620619
</edit>
621620
<edit>
622621
<find><![CDATA[ $msg = $user->lang['USER_WARNING_ADDED'];]]></find>
623-
<action type="after-add"><![CDATA[
624-
// Reputation System - warnings
622+
<action type="after-add"><![CDATA[ // Reputation System - warnings
625623
if ($config['rs_warning'] && $reputation)
626624
{
627625
include_once($phpbb_root_path . 'includes/functions_reputation.' . $phpEx);

0 commit comments

Comments
 (0)