Fixed bugs and added new feature.

Fixed bug where sub-forums get added wrongly.
Added "Inactive Nodes" in case if any nodes or sub-forums get added
wrongly.
Added %id% parameter in thread.php for post id.
Added %user_id% parameter in thread.php for user who posted.