Skip to content

Commit

Permalink
Merge pull request #182 from mybbgroup/v3.0.0release
Browse files Browse the repository at this point in the history
v3.0.0 release
  • Loading branch information
lairdshaw authored Jul 19, 2018
2 parents 8f9ad36 + f658a2c commit f6a0fac
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For more information, see the plugin's:

## Upgrading

### Upgrading to version 2.4.0 or above
### Upgrading to version 3.0.0 or above

N.B. If you are upgrading **from** version 2.3.0 or earlier *and* MyAlerts is integrated *and* you don't want to lose any existing thanks/likes alerts, then see "Workaround to avoid loss of alerts" below.

Expand Down
19 changes: 15 additions & 4 deletions inc/plugins/thankyoulike.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<?php
/**
* Thank You/Like system - plugin for MyBB 1.8.x forum software
*
* @package MyBB Plugin
* @author MyBB Group - Eldenroot & SvePu & lairdshaw - <[email protected]>
* @copyright 2018 MyBB Group <http://mybb.group>
* @link <https://github.com/mybbgroup/MyBB_Thank-you-like-plugin>
* @version 3.0.0
* @license GPL-3.0
*
*/

/**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -54,7 +66,6 @@
$plugins->add_hook('task_promotions', 'thankyoulike_promotion_task');
}


function thankyoulike_info()
{
global $plugins_cache, $db, $lang, $admin_session;
Expand All @@ -69,18 +80,18 @@ function thankyoulike_info()
$url_E = '<a href="https://community.mybb.com/user-84065.html" target="_blank">Eldenroot</a>';
$url_DN = '<a href="https://community.mybb.com/user-51493.html" target="_blank">Whiteneo</a>';
$url_L = '<a href="https://community.mybb.com/user-116662.html" target="_blank">Laird</a>';
$url_S = '<a href="https://github.com/Eldenroot/MyBB_Thank-you-like-plugin" target="_blank">GitHub</a>';
$url_S = '<a href="https://github.com/mybbgroup/MyBB_Thank-you-like-plugin" target="_blank">GitHub</a>';

$info = array(
"name" => htmlspecialchars_uni($lang->tyl_info_title),
"description" => htmlspecialchars_uni($lang->tyl_info_desc) . $lang->sprintf($lang->tyl_info_desc_url,$url_AT,$url_SP,$url_E,$url_DN,$url_L,$url_S),
"website" => "https://community.mybb.com/thread-169382.html",
"author" => "- G33K -, ATofighi, Eldenroot, SvePu, Whiteneo, Laird",
"authorsite" => "https://community.mybb.com/thread-169382.html",
"version" => "2.4.0",
"version" => "3.0.0",
// Constructed by converting each digit of "version" above into two digits (zero-padded if necessary),
// then concatenating them, then removing any leading zero to avoid the value being interpreted as octal.
"version_code" => 20400,
"version_code" => 30000,
"codename" => "thankyoulikesystem",
"compatibility" => "18*"
);
Expand Down
12 changes: 12 additions & 0 deletions tylsearch.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
<?php
/**
* Thank You/Like system - plugin for MyBB 1.8.x forum software
*
* @package MyBB Plugin
* @author MyBB Group - Eldenroot & SvePu & lairdshaw - <[email protected]>
* @copyright 2018 MyBB Group <http://mybb.group>
* @link <https://github.com/mybbgroup/MyBB_Thank-you-like-plugin>
* @version 3.0.0
* @license GPL-3.0
*
*/

/**
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand Down

0 comments on commit f6a0fac

Please sign in to comment.