Questions about mybb plugin
19 posts
• Page 1 of 2 • 1, 2
Questions about mybb plugin
Hi, this is my 1st post here.
I have downloaded and installed Jfusion on my Joomla 1.7.3 setup to integrate its user account with mybb 1.6.5.
I know that this plugin is no more developed and I would like to know if what I'm experiencing is normal or if it is due to the old plugin (in this case, with your help in looking into the right part of the code, I would like to try to fix it).
Coming back to my question...I've configured Jfusion and this is what I get as result.
When I login/logout using joomla everything works fine.
If I login within Joomla and logout from MyBB the user remains logged into joomla.
If I login into MyBB the user is logged in only in MyBB.
So, is it normal?
I Made a configuration error and should I try to fix it?
Tnx
Alder
I have downloaded and installed Jfusion on my Joomla 1.7.3 setup to integrate its user account with mybb 1.6.5.
I know that this plugin is no more developed and I would like to know if what I'm experiencing is normal or if it is due to the old plugin (in this case, with your help in looking into the right part of the code, I would like to try to fix it).
Coming back to my question...I've configured Jfusion and this is what I get as result.
When I login/logout using joomla everything works fine.
If I login within Joomla and logout from MyBB the user remains logged into joomla.
If I login into MyBB the user is logged in only in MyBB.
So, is it normal?
I Made a configuration error and should I try to fix it?
Tnx
Alder
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
this is normal, we have no auth mod for mybb, we do not have a developer for mybb. we only fix bugs.
-Thanks
-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
-

fanno - Developer

- Posts: 7666
- Joined: Wed Jan 07, 2009 4:38 pm
- Location: Denmark, Copenhagen
Re: Questions about mybb plugin
Ok, I'm now trying to understand what to do and if I'm able to develop the missing class.
Can you please me confirm that I should implement this?
I'm reading the documentation but I can't exactly understand what this method is supposed to do:
does $userinfo array contain the following values?
Can you please me confirm that I should implement this?
- Code: Select all
class JFusionAuth_mybb extends JFusionAuth
I'm reading the documentation but I can't exactly understand what this method is supposed to do:
- Code: Select all
function generateEncryptedPassword($userinfo)
does $userinfo array contain the following values?
- Code: Select all
userid ,activation ,username ,name,password,email ,block,params, groups, groupnames, group_id, group_name, password_salt, language
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
No, ok, ignore what I've written before...
I'm trying to understand what to do, but I can't find a good starting point in the documentation to clearly understand what happens when a user load a page in the joomla site after having logged in the forum.
I mean, what I think should happen is:
1.the user load a page
2. somewhere something checks if a session or a cookie exist
3. if so it auth the user, otherwise it does nothing
I suppose I need to add code to the "something" at point 2 to authenticate into joomla using the cookie (or the session) created by mybb.
Reading this I thought I should work on auth.php file of mybb plugin, but I couldn't understand on what method I should work, so I looked to the analog file in phpbb plugin without any result.
The only method I think should do the work is createSession in JFusionUser_mybb class, but I'm not sure.
Can anyone plz help me?
I'm trying to understand what to do, but I can't find a good starting point in the documentation to clearly understand what happens when a user load a page in the joomla site after having logged in the forum.
I mean, what I think should happen is:
1.the user load a page
2. somewhere something checks if a session or a cookie exist
3. if so it auth the user, otherwise it does nothing
I suppose I need to add code to the "something" at point 2 to authenticate into joomla using the cookie (or the session) created by mybb.
Reading this I thought I should work on auth.php file of mybb plugin, but I couldn't understand on what method I should work, so I looked to the analog file in phpbb plugin without any result.
The only method I think should do the work is createSession in JFusionUser_mybb class, but I'm not sure.
Can anyone plz help me?
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
all those functions is joomla -> out not out -> joomla
you need modification and or addon for mybb to allow out -> joomla
you need modification and or addon for mybb to allow out -> joomla
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
-

fanno - Developer

- Posts: 7666
- Joined: Wed Jan 07, 2009 4:38 pm
- Location: Denmark, Copenhagen
Re: Questions about mybb plugin
So I need to develp a plugin for MyBB and not to fix the existent one for Jfusion?
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
REVERSED dual login/out is seperate from the standart jfusion features.
it require code change and or added to the target software in this case IN mybb. has nothing to do with jfusion, other than calling joomla framework to also execute jfusion
this code has nothing "directly" to do with the plugin files. i tried to explain this earlier as well ..
you can take a look at how other plugins's authmod look eg dokuwiki or phpbb something similar would have to be made for mybb. i do not know if mybb supports plugin's
-Thanks
it require code change and or added to the target software in this case IN mybb. has nothing to do with jfusion, other than calling joomla framework to also execute jfusion
this code has nothing "directly" to do with the plugin files. i tried to explain this earlier as well ..
you can take a look at how other plugins's authmod look eg dokuwiki or phpbb something similar would have to be made for mybb. i do not know if mybb supports plugin's
-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
-

fanno - Developer

- Posts: 7666
- Joined: Wed Jan 07, 2009 4:38 pm
- Location: Denmark, Copenhagen
Re: Questions about mybb plugin
Ok, now it's clear.
MyBB supports plugin and I've just finished writing the base of the plugin to integrate with JFusion.
Now I'm loking to understand how to create the session in joomla and the necessary cookies to grant user access once he leave the forum page and goes to joomla site.
I saw in your signature that you are the developer of the phpbb plugin, can you please tell me where I can find the phpbb plugin and in which files this operation (creating session and cookies) is done?
Thanks
MyBB supports plugin and I've just finished writing the base of the plugin to integrate with JFusion.
Now I'm loking to understand how to create the session in joomla and the necessary cookies to grant user access once he leave the forum page and goes to joomla site.
I saw in your signature that you are the developer of the phpbb plugin, can you please tell me where I can find the phpbb plugin and in which files this operation (creating session and cookies) is done?
Thanks
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
Ok, I've just finished developing the plugin...it's still an alpha.
I've tested only on my own setup and it seems to work correctly.
It still does not take care of Joomla session when you logout from MyBB but I will fix it soon.
I decided to import some joomla framework file in the hope that if some method will be updated in the future the plugin would still work correctly.
I'm a newbie both in Joomla and MyBB developing, any suggestion, correction or else is welcome.
Beta testers are welcome too.
For installation uplod jfusion.php file attached to http://www.yoursite.com/MyBBroot/inc/plugins/
Go to control panel and select "activate"
I've tested only on my own setup and it seems to work correctly.
It still does not take care of Joomla session when you logout from MyBB but I will fix it soon.
I decided to import some joomla framework file in the hope that if some method will be updated in the future the plugin would still work correctly.
I'm a newbie both in Joomla and MyBB developing, any suggestion, correction or else is welcome.
Beta testers are welcome too.
For installation uplod jfusion.php file attached to http://www.yoursite.com/MyBBroot/inc/plugins/
Go to control panel and select "activate"
- Attachments
-
jfusion.7z- For installation uplod jfusion.php file attached to http://www.yoursite.com/MyBBroot/inc/plugins/
Go to control panel and select "activate" - (2.01 KiB) Downloaded 43 times
-

Alder - JFusion Newbie

- Posts: 8
- Joined: Sat Feb 04, 2012 3:20 pm
- Location: Italy, Venice
Re: Questions about mybb plugin
i cant view it atm so cant have a look., add it like in eg phpbb where it is installed with a single click from the joomla admin panel i guess.
-Thanks
-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin
Review us at!
http://extensions.joomla.org/extensions/3723/details
-

fanno - Developer

- Posts: 7666
- Joined: Wed Jan 07, 2009 4:38 pm
- Location: Denmark, Copenhagen
19 posts
• Page 1 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 0 guests
