Okay guys I just started using drupal, normally I use joomla. I have tried to migrate the smfforum module with little luck, I was able to get all the settings to load and connect to the database. the problem I have is when I enable the hidden authentication I get this error and nothing loads Fatal error: Call to undefined function smf_api_authenticate_user().

That same function gets called successfully in the settings(or else I wouldnot have been able to connect to db).

So I'm not really sure what to do next? Although this seems fairly simple, I think I'm just missing something small.

I'm getting a little bored with this though, maybe I'll just go back to drupal 6.

This is where my the error occours,
$authenticated = smf_api_authenticate_user(); // this is inside _smfforum_authenticate_user();
.....
function smfforum_block_view($delta) {
$block = array();
switch ($delta) {
case 'hidden_auth':
$block = _smfforum_authenticate_user();
.....

nobody click here