Shortening subjects in Stats would be good, otherwise it looks crappy with long names.
Something around 35 Letters should be good.
Something around 35 Letters should be good.
Done, but it doesn't look that good to me
$context['top_topics_views'][] = array(
'id' => $row_topic_views['id_topic'],
'board' => array(
'id' => $row_topic_views['id_board'],
'name' => $row_topic_views['name'],
'href' => '<URL>?board=' . $row_topic_views['id_board'] . '.0',
'link' => '<a href="<URL>?board=' . $row_topic_views['id_board'] . '.0">' . $row_topic_views['name'] . '</a>'
),
'subject' => $row_topic_views['subject'],
'num_views' => $row_topic_views['num_views'],
'href' => '<URL>?topic=' . $row_topic_views['id_topic'] . '.0',
'link' => '<a href="<URL>?topic=' . $row_topic_views['id_topic'] . '.0">' . shorten_subject($row_topic_views['subject'], 28) . '</a>'
<?php
$context['top_topics_views'][] = array(
'id' => $row_topic_views['id_topic'],
'board' => array(
'id' => $row_topic_views['id_board'],
'name' => $row_topic_views['name'],
'href' => '<URL>?board=' . $row_topic_views['id_board'] . '.0',
'link' => '<a href="<URL>?board=' . $row_topic_views['id_board'] . '.0">' . $row_topic_views['name'] . '</a>'
),
'subject' => $row_topic_views['subject'],
'num_views' => $row_topic_views['num_views'],
'href' => '<URL>?topic=' . $row_topic_views['id_topic'] . '.0',
'link' => '<a href="<URL>?topic=' . $row_topic_views['id_topic'] . '.0">' . shorten_subject($row_topic_views['subject'], 28) . '</a>'?>
<?php
$context['top_likes'][] = array(
'num_likes' => $row_likes['likes'],
'subject' => $row_likes['subject'],
'member_name' => $row_likes['real_name'],
'id_member' => $row_likes['id_member'],
'href' => '<URL>?topic=' . $row_likes['id_topic'] . '.msg' . $row_likes['id_msg'] . '#msg' . $row_likes['id_msg'],
'link' => '<a href="<URL>?topic=' . $row_likes['id_topic'] . '.msg' . $row_likes['id_msg'] . '#msg' . $row_likes['id_msg'] . '">' . shorten_subject($row_likes['subject'], 20?>
Happens on my site, in Firefox, IE 11, and Chrome.
http://www.bkgta.cc.nf/index.php?action=stats
A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue.
Script: http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js:2
This option allows you to choose which server to serve the jQuery script from. If you're trying to save bandwidth, you may want to use one of the CDNs (content delivery network) provided by Google or Microsoft. You may also want to serve it directly from jquery.com's official servers.