FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Help Needed - fud_user_reg class
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Help Needed - fud_user_reg class [message #165041] Tue, 19 April 2011 15:27 Go to previous message
Dayo is currently offline  Dayo   Bahrain
Messages: 101
Registered: April 2011
Karma:
Senior Member
Almost got my user integration complete but stumbling somewhere.

I am trying to use existing functions and to log the user in when they log into joomla, I have done the following (


if (!class_exists('fud_user_reg')) {
	fud_use('users_reg.inc');
}
$fudUser = new fud_user_reg;
//code to get get $fudforum_id and $cur_ses_id
$fudUser->user_login($fudforum_id, $cur_ses_id, true);


But I am getting the following error:
Call to undefined method fud_user_reg::user_login()


Yet I can see that the function exists in class fud_user which fud_user_reg extends.

Any ideas what's up?

As said, I can create a local copy of the function but better to use what is there in case db details change in future.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fudla! Plugin Core Code Changes
Next Topic: Function to send emails?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 18:17:10 GMT 2024

Total time taken to generate the page: 0.05567 seconds