mirror of
https://github.com/e107inc/e107.git
synced 2025-08-30 17:50:12 +02:00
Forum: Added SEF URLs on subForums.
This commit is contained in:
@@ -43,6 +43,7 @@ class forum_url // plugin-folder + '_url'
|
||||
'redirect' => '{e_PLUGIN}forum/forum_post.php',
|
||||
);
|
||||
|
||||
// only create url - parsed above.
|
||||
$config['move'] = array(
|
||||
'sef' => 'forum/post/?f=move&id={thread_id}',
|
||||
);
|
||||
@@ -52,7 +53,14 @@ class forum_url // plugin-folder + '_url'
|
||||
'sef' => 'forum/{forum_sef}/{thread_id}-{thread_sef}/',
|
||||
'redirect' => '{e_PLUGIN}forum/forum_viewtopic.php?id=$2&$4'
|
||||
);
|
||||
|
||||
/*
|
||||
$config['subforum'] = array(
|
||||
'regex' => '^forum/(.*)/(.*)$',
|
||||
'sef' => 'forum/{parent_sef}/{forum_sef}',
|
||||
'redirect' => '{e_PLUGIN}forum/forum_viewforum.php?sef=$2',
|
||||
'legacy' => '{e_PLUGIN}forum/forum_viewforum.php?id={forum_id}'
|
||||
);
|
||||
*/
|
||||
|
||||
$config['forum'] = array(
|
||||
'regex' => '^forum/(.*)$',
|
||||
|
Reference in New Issue
Block a user