Skip to content

Commit 638a91b

Browse files
committed
release 3.0.7
1 parent 36a1fe7 commit 638a91b

4 files changed

Lines changed: 38 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Recent Topics for phpBB 3.3
77
Extension for phpBB to display recent topics on the index page.
88
Originally based on NV Recent Topics by Joas Schilling ([nickvergessen](https://github.com/nickvergessen)), later maintained by PayBas. Now maintained by [avathar](https://www.avathar.be).
99

10-
**Version:** 3.0.6 (02/04/2026)
10+
**Version:** 3.0.7 (06/04/2026)
1111
[![Latest Stable Version](https://img.shields.io/github/v/release/avatharbe/RecentTopics)](https://github.com/avatharbe/RecentTopics/releases)
1212

1313
#### Requirements

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"type": "phpbb-extension",
44
"description": "Recent Topics Extension for phpBB 3.3. Adds a list with recent topics to the index page.",
55
"homepage": "https://www.avathar.be",
6-
"version": "3.0.6",
7-
"time": "2026-04-02",
6+
"version": "3.0.7",
7+
"time": "2026-04-06",
88
"keywords": ["phpbb", "extension", "Recent Topics"],
99
"license": "GPL-2.0-only",
1010
"authors": [

contrib/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
### Changelog
22

3+
- 3.0.7 (06/04/2026)
4+
- [FIX] Fixed PHP 8 TypeError in sql_fetchfield() when "show all pages" pagination is enabled (#148)
5+
- [FIX] Fixed "Undefined array key 1" warning in viewonline listener (#176)
6+
- [FIX] Added missing S_USER_POSTED template variable so "posted in" star icon shows in topic listing (#133)
7+
38
- 3.0.6 (02/04/2026)
49
- [NEW] Added `avathar.recenttopicsav.modify_ads_code` event, allowing third-party extensions to provide advertisement block content (#175)
510

migrations/v307/release_3_0_7.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
/**
3+
*
4+
* @package Recent Topics Extension
5+
* @copyright (c) 2026 Andreas Vandenberghe (avathar)
6+
* @license GNU General Public License, version 2 (GPL-2.0)
7+
*
8+
*/
9+
10+
namespace avathar\recenttopicsav\migrations\v307;
11+
12+
class release_3_0_7 extends \phpbb\db\migration\migration
13+
{
14+
public function effectively_installed()
15+
{
16+
return isset($this->config['rt_version']) && version_compare($this->config['rt_version'], '3.0.7', '>=');
17+
}
18+
19+
public static function depends_on()
20+
{
21+
return ['\avathar\recenttopicsav\migrations\v306\release_3_0_6'];
22+
}
23+
24+
public function update_data()
25+
{
26+
return [
27+
['config.update', ['rt_version', '3.0.7']],
28+
];
29+
}
30+
}

0 commit comments

Comments
 (0)