Good point. I left out a couple of line of code from Logician's original hack. Add these lines right above // End Create Birthday Thread Hack
PHP Code:
// Updating Forum
$DB_site->query("UPDATE forum SET replycount=replycount+1,threadcount=threadcount+1,lastpost='".time()."',lastposter='".addslashes($greeter_name)."' WHERE forumid = $greetings_forum");
// Updating User's Post
$DB_site->query("UPDATE user SET posts=posts+1 WHERE userid=$greeter");
I just tested it and it works. Credit goes to Logician

. I updated the original txt file.
Quote:
Originally Posted by Platinumgamer
Hmm...this hack works fine on Gold, however the thread doesn't show up on the forumhome, just inside the forum. Also, the thread count doesn't rise when new threads are made. (I just installed this hack, so it only has one thread posted...yet the forum for the BDay threads still has '0' as the thread count...even though the reply count is there.
Is this supposed to happen, and can it be fixed?
Thanks!
|