Awesome hack, and works great, except for one part..
The message that is supposed to be displayed on forumhome when someone is nominated, does not show up for me.
I read through all the posts, but noone else had this problem.
As the directions stated, in root\index.php
I placed:
PHP Code:
// members choice voting announce bit
$userstatus = $DB_site->query_first("SELECT * FROM memberschoice WHERE nomname='$bbuserinfo[username]'");
if (empty($userstatus[nomname])) {
$nomination="No Nomination";
} else if ($userstatus[acceptnom]=='No') {
$nomination="<b><font color=\"#ffoooo\">You have been nominated</font></b>";
} else {
$nomination="Nomination accepted";
}
// members choice announce bit
After
PHP Code:
// get total posts
$countposts=$DB_site->query_first('SELECT COUNT(*) AS posts FROM post');
$totalposts=number_format($countposts['posts']);
But it still doesnt show up :\
Any ideas?
Thanks