I got an issue. I have Topic View plugin installed, but the theme does not display the views in the forum list, but it displays the views in the “Latest Discussion” section.
View counts in the forum section require part of “my-views” plugin to be installed (my-views-most-least-views.php) or just make this a mini-plugin:
add_filter('get_forums','forums_views_append');
function forums_views_append($forums) {
if (is_front() || is_forum()) {
global $bbdb, $forums_views; $sum_meta_value="SUM(meta_value)";
if (!isset($forums_views)) {
$forums_views = $bbdb->get_results("SELECT DISTINCT forum_id, $sum_meta_value FROM $bbdb->topicmeta LEFT JOIN $bbdb->topics ON $bbdb->topicmeta.topic_id = $bbdb->topics.topic_id WHERE $bbdb->topics.topic_status=0 AND $bbdb->topicmeta.meta_key='views' GROUP BY $bbdb->topics.forum_id");
} foreach ($forums_views as $forum_views) {
if ($forum_views->forum_id) {$forums[$forum_views->forum_id]->views=$forum_views->$sum_meta_value;}
}
}
return $forums;
}
When i went to demo this theme it gave me a blank page. Is there another way to demo this theme?
It’s working for me. What browser/os are you using?
Running Firefox 3.0.7 on Windows Vista and I don’t see bg16b.png or page_header_tile.png showing up. That said, I do see page_header_bblogo.png.
Ah okay, apparently the htc file I use for old IE6 support is now causing some kind of weird behavior in IE7.
It works for me now in IE7 – but I have no idea why you couldn’t see those images, it works for me.
When I “view source” those images don’t show up. They’re in the CSS file… they SHOULD show up.
You’ll need to change this one:
#latest tr, #forumlist tr, #favorites tr {behavior:url("/forums/my-templates/kakumei-too/images/hoverlite.htc");}
Yes I already removed that, try doing a hard refresh (shift f5)
Didn’t realize that you uploaded a new version. Thanks!
Topics with no replies
Fatal error: Call to undefined function my_views_header() in /home/oamsites/public_html/themeguild/bb-templates/the-hybrid/view.php on line 5
http://www.themeguild.com/view.php?view=no-replies
Please help,thank you
Sorry, looks like I left some customized leftovers in there.
Simply remove line 5 entirely or comment it out like this
<?php // my_views_header(); ?>