boinc/html
Bruce Allen 57f89046ef fix bug on page that shows profile for a given user. The total
number of posts made by a given user is not shown correctly.

The PHP code assumes that this numberis given by user.posts.  However
in html/inc/db_forum.inc, the value of user.posts is NOT
incremented each time a user makes a new post (either starting
a new thread or replying to an existing one).  For the moment, my
the fix is to simply scan the database and count the number of posts by the
user, to give the right value on the profile page.

An alternative fix (which would be less DB intensive, overall)
is to (1) fix db_forum.inc so that it properly increments user.posts and
then (2) add an update_db.php script entry that correctly sets user.posts
by counting the number of posts for each user.

svn path=/trunk/boinc/; revision=9197
2006-01-09 09:43:17 +00:00
..
inc fix bug on page that shows profile for a given user. The total 2006-01-09 09:43:17 +00:00
languages Localization: Web language files updated: Chinese Simplified (zh_CN), Brazilian Portuguese (pt_BR) 2006-01-03 06:12:52 +00:00
ops don't leak fds to apps 2005-12-18 02:00:15 +00:00
project.sample Email to moderators about reported posts 2005-10-01 11:11:53 +00:00
user uotd bbcode 2006-01-09 08:37:44 +00:00
.cvsignore