mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 18:14:26 +02:00
Forum attachment updated to work with recent changes to thumbUrl(). Forum URL post detection improved. Forum attachments can now be seen in the 'Latest Posts" of the admin area.
This commit is contained in:
@@ -55,7 +55,8 @@ class forum_url // plugin-folder + '_url'
|
||||
);
|
||||
|
||||
$config['topic'] = array(
|
||||
'regex' => '^forum/(.*)/(\d*)(?:-|/)([\w-]*)/?\??(.*)',
|
||||
'regex' => 'forum\/([^\/]*)\/([\d]*)(?:\/|-)([\w-]*)/?\??(.*)',
|
||||
// 'regex' => '^forum/(.*)/(\d*)(?:-|/)([\w-]*)/?\??(.*)',
|
||||
'sef' => 'forum/{forum_sef}/{thread_id}/{thread_sef}/',
|
||||
'redirect' => '{e_PLUGIN}forum/forum_viewtopic.php?id=$2&$4'
|
||||
);
|
||||
|
Reference in New Issue
Block a user