Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Blog Forum
wnd Offline
Junior Member
**
Posts: 8
Joined: May 2010
Post: #2
RE: Blog Forum
It's not too shabby...

One improvement that I've made: if you have the PHP in Templates plugin, use the following code for blog_forumbit_depth2_forum:

Code:
1
2
3
4
5
6
7
8
9
10
11
<tr>
<td class="{$bgcolor}" align="center" valign="top" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="portal.php">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td><td class="{$bgcolor}" valign="top" colspan="3" style="font-size: smaller;">
<div>Posts: {$threads}{$unapproved['unapproved_threads']}</div>
<?php $comments=$posts-$threads ?>
<div>Comments: {$comments}{$unapproved['unapproved_posts']}</div>
<div>Latest Post: {$lastpost}</div>
</td>
</tr>


That way the number of comments doesn't include the number of posts.

08-04-2010 06:16 AM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Blog Forum - ZiNgA BuRgA - 05-04-2010, 04:40 PM
RE: Blog Forum - wnd - 08-04-2010 06:16 AM
RE: Blog Forum - ZiNgA BuRgA - 08-05-2010, 08:25 PM
RE: Blog Forum - RocketFoot - 10-13-2010, 12:48 AM
RE: Blog Forum - leefish - 10-13-2010, 01:31 AM
RE: Blog Forum - techu - 10-13-2010, 02:30 AM
RE: Blog Forum - leefish - 10-13-2010, 03:54 AM
RE: Blog Forum - TriTop - 10-13-2010, 05:05 AM
RE: Blog Forum - leefish - 10-13-2010, 06:00 AM
RE: Blog Forum - RocketFoot - 10-13-2010, 10:18 AM
RE: Blog Forum - ZiNgA BuRgA - 10-13-2010, 10:42 AM
RE: Blog Forum - leefish - 10-13-2010, 11:04 AM
RE: Blog Forum - RateU - 10-14-2010, 06:04 AM
RE: Blog Forum - 1master1 - 10-21-2010, 06:34 AM
RE: Blog Forum - techu - 10-21-2010, 12:22 PM
RE: Blog Forum - ZiNgA BuRgA - 10-21-2010, 07:36 AM
RE: Blog Forum - kyuubie - 01-17-2012, 11:41 PM
RE: Blog Forum - RateU - 01-18-2012, 03:46 AM
RE: Blog Forum - kyuubie - 01-18-2012, 11:25 PM
RE: Blog Forum - kyuubie - 01-24-2012, 12:15 AM
RE: Blog Forum - RateU - 01-24-2012, 01:55 AM
RE: Blog Forum - kyuubie - 01-24-2012, 10:59 AM
RE: Blog Forum - ZiNgA BuRgA - 01-24-2012, 12:07 PM
RE: Blog Forum - bekti - 10-11-2012, 09:58 PM
RE: Blog Forum - RateU - 10-13-2012, 01:49 AM
RE: Blog Forum - webtester - 06-12-2013, 06:14 PM
RE: Blog Forum - ZiNgA BuRgA - 06-13-2013, 09:25 AM
RE: Blog Forum - Mark2x - 12-22-2014, 02:05 PM
RE: Blog Forum - kel - 06-19-2015, 06:56 AM
RE: Blog Forum - xensor - 11-18-2015, 04:48 PM
RE: Blog Forum - RateU - 11-19-2015, 01:12 AM

 Standard Tools
Forum Jump: