Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ The ExpressionEngine Discussion Forum Module allows you to create and manage a f
- [Displaying Recent Forum Topics in non-forum templates](docs/recent-topics.md)
- [Associating Channel Entries with Forum Topics](docs/channel-forum.md)
- [Other Features](docs/other-features.md)

## Changelog

### 5.1.1

- Fixed template links in the control panel.

### 5.0.0

- Moved Forum add-on out of core.
7 changes: 4 additions & 3 deletions system/user/addons/forum/Controller/Design/Forums.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ public function index()

foreach ($files as $file) {
if (strpos($file, '.') !== false) {
$human = str_replace('_', ' ', substr($file, 0, -strlen(strrchr($file, '.'))));
$edit_url = ee('CP/URL')->make('addons/settings/forum/templates/edit/', ['theme' => $theme, 'dir' => $dir, 'file' => $human]);
$human = ucfirst($human);
//$human = str_replace('_', ' ', substr($file, 0, -strlen(strrchr($file, '.'))));
$edit = substr($file, 0, -strlen(strrchr($file, '.')));
$edit_url = ee('CP/URL')->make('addons/settings/forum/templates/edit/', ['theme' => $theme, 'dir' => $dir, 'file' => $edit]);
$human = ucfirst(str_replace('_', ' ', $edit));
$data[$dir][] = array(
array(
'content' => (lang($human) == false) ? $human : lang($human),
Expand Down
2 changes: 1 addition & 1 deletion system/user/addons/forum/addon.setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'author_url' => 'https://expressionengine.com/',
'name' => 'Forum',
'description' => 'Add a full-featured forum to your site',
'version' => '5.1.0',
'version' => '5.1.1',
'namespace' => 'ExpressionEngine\Addons\Forum',
'settings_exist' => true,

Expand Down
4 changes: 2 additions & 2 deletions system/user/addons/forum/mod.forum.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
*/
class Forum
{
public $version = '5.1.0';
public $build = '20220729';
public $version = '5.1.1';
public $build = '20230522';
public $use_site_profile = false;
public $search_limit = 250; // Maximum number of search results (x2 since it can include this number of topics + this number of posts)
public $return_data = '';
Expand Down