Small Bug Fix:
Small bug fix with "Create Thread" feature:
Find:
PHP Code:
$log_postid=$DB_site->insert_id();
After that line add:
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");
Save and upload your index.php..That's it.. Now created threads will be visible in the forum display too and these threads will increase the thread starter's post number.
Original hack file in the thread is already updated so
this fix only applies to users who installed the hack prior to 12.June.2002.
Logician