Code: Select all
$count_similar = count($similar_topics);
if ( $count_similar > 0 )
Code: Select all
$count_similar = sizeof($similar_topics);
if( $count_similar)
Code: Select all
'U_LAST_POST' => $similar_topic_url . '&p=' . $similar['topic_last_post_id'] . '#p' . $similar['topic_last_post_id'],
Code: Select all
$similar_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", "p={$similar['topic_last_post_id']}");
Code: Select all
'U_LAST_POST' => $similar_post_url . '#p' . $similar['topic_last_post_id'],
Code: Select all
'U_LAST_POST' => $similar_topic_url . '#p' . $similar['topic_last_post_id'],
I also think so. I'll corrected this later.shahinavthal wrote:I think you have missed out on the instruction for adding the MOD into the Board Configuration
I'll consider it.can I request if you can add a feature to control in number of words in the topic title to appear in the similar topics.
Code: Select all
ALTER TABLE `phpbb_topics` ADD FULLTEXT (`topic_title`);
Code: Select all
The used table type doesn't support FULLTEXT indexes
Code: Select all
ALTER TABLE `phpbb_topics` ENGINE = MYISAM;
ALTER TABLE `phpbb_topics` ADD FULLTEXT (`topic_title`);