I am just starting to play with the code but I got this error...
Fatal error: Call to a member function on a non-object in /home/SERVER/public_html/DOMAINFOLDER/forums/login_inc.php on line 150
I called the file from inside another script using the following line:
include("../forums/login_inc.php");
Now, when I enter my forums username and password I am getting signed into my forums but when it returns to the script I never see the rest of the file where I tried to use the include from...
I am still trying to figure it out though...
The line of code that is causing the error is this:
Code:
$getstats = $db->query_read('SELECT threadcount, replycount FROM ' . TABLE_PREFIX . 'forum');
EDIT:
OK, I removed all the code after:
Code:
// +++++++++++++++++++++++++++++++++++++++++++++++++++
// we want do display stats either way so they go here
// +++++++++++++++++++++++++++++++++++++++++++++++++++
Now I can see if I can get my usergroups to cover the permissions needed for the other script... What I am trying to do is integrate the following program with vBulletin using your hack as a starting point:
http://lythgoes.net/genealogy/software.php