三處鈎子及其代碼,可能還有其它的代碼需要更改。
// hook index_inc_route_before.php
'show' == param(0) and $route = 'read';
'arc' == param(0) and $route = 'tag';
// hook model__thread_format_center.php
$thread['url'] = url('show-' . $thread['tid'], '', FALSE);
// hook model__tag_format_end.php
$val['url'] = url('arc-' . $val['tagid'], '', FALSE);