Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu


Started by Bugo, February 15, 2011, 03:48:12 PM

Previous topic - Next topic


@Bugo... this is very nice software. I am new to Optimus and have been using another sitemap mod on 2.0.19. But this week I am converting to SMF 2.1.4, TP 3.0 and Optimus 3.0b. I have found having a sitemap significantly improved the Google crawler results, so am looking forward to learning about and using Optimus' features.

'Enable logging of search terms' is very useful  for understanding users' needs. I am not a coder, but this part looks as though it is designed to limit the display of terms searched to those having > 10 hits under  'Popular search queries'.

$i = 0;[font=Verdana, Arial, Helvetica, sans-serif] $rows = '';[/font]
 foreach (Utils::$context['search_terms'] as $data) {
 if ($data['hit'] > 10) {
 $rows .= '["' . $data['text'] . '",' . $data['hit'] . '],';

What I see listed under 'Popular search queries', is every search term irrespective of the hit count. Is this the intended behaviour?


So, basically, it just decides which queries are going to be in the round chart. The normal (bar) chart only shows the top 30 most popular queries, but the round chart shows the ones that were searched for more than 10 times.