1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 01:00:20 +02:00

Issue #2053 Forum: Untested "Mark read" SEF URL.

This commit is contained in:
Cameron
2016-11-25 16:33:39 -08:00
parent 1ffa7e5d26
commit fe899855ab
2 changed files with 13 additions and 1 deletions

View File

@@ -43,6 +43,13 @@ class forum_url // plugin-folder + '_url'
'redirect' => '{e_PLUGIN}forum/forum.php?f=track',
);
$config['markread'] = array(
'sef' => '^forum/markread/{forum_id}',
'regex' => 'forum/markread/([\d]*)',
'redirect' => '{e_PLUGIN}forum/forum.php?f=mfar&id=$1',
'legacy' => '{e_PLUGIN}forum/forum.php?f=mfar&id={forum_id}'
);
$config['post'] = array(
'regex' => '^forum/post/?',
'sef' => 'forum/post/',
@@ -55,6 +62,8 @@ class forum_url // plugin-folder + '_url'
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=move&id={thread_id}'
);
$config['split'] = array(
'sef' => 'forum/post/?f=split&id={thread_id}&post={post_id}',
'legacy' => '{e_PLUGIN}forum/forum_post.php?f=split&id={thread_id}&post={post_id}'