Ok
First I love this app. Especially the ability to ban, remove posts and sent to stop spam website in one click. However, it has since stopped working for me.
When i choose the options ban, remove all posts and send to sopt spam i now get this error message:
Fatal error: Call to a member function query() on a non-object in /home/crna/includes/functions_ghsom.php on line 386
Here is the actual lines from that php, 385 - 389.
Code:
$sql = 'DELETE FROM '.TABLE_PREFIX.'post WHERE userid='.$_SESSION['ghsfs_user_edit']['id'].'); ';
$vbulletin->db->query($sql);
$sql = 'DELETE FROM '.TABLE_PREFIX.'thread WHERE postuserid='.$_SESSION['ghsfs_user_edit']['id'].'); ';
$vbulletin->db->query($sql);
If i simply choose to ban user and send to stop forum it seems to work fine, but when i choose the remove all posts that is where the error occurs. Then after the error when i go through the control panel to try and find "all user posts" so i can delete them it says their are none yet they are still there in the forum. In order to delete them I have to go into the forum itself, into the user profile on the forum find all posts then delete them.
Very odd
EDIT:
Ok upon further testing my "find posts by user" function through admin cp all the sudden no longer works at all... WTH? Ideas?