Forums

Joomla Authentication Plugin

Last post 10-12-2009, 2:11 PM by mspidle. 12 replies.
Sort Posts: Previous Next

     04-22-2009, 10:08 AM 14218

    Joomla Authentication Plugin

    Here is something of interest to you guys...  I wrote a Joomla 1.5.x authentication plugin for F1.  You can get it Download it Here

    Just login to the Joomla admin interface, select go to Extensions->Install/Uninstall then browse to the zip file and upload.  Once installed you need to enter your church code(weblink church code) and a user that has data exchange permissions.

    If you use the Joomla login module, this will allow you to login using an F1 weblink account... so you see what possiblities this gives you.

    Enjoy

    Mark
    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com
    | Filed under: , , ,

     04-22-2009, 6:41 PM 14225 in reply to 14218

    Re: Joomla Authentication Plugin

    Mark,

    Could you explain how you guys are using this plugin to benefit your church? I am curious as to what it is you are doing. Thanks for sharing!


    Will Steed
    Delivery Manager
    Fellowship Technologies
    wsteed@fellowshiptech.com

     04-24-2009, 12:41 PM 14246 in reply to 14225

    Re: Joomla Authentication Plugin

    Sure, the thought was to integrate the weblink login right into the website.  Instead of using the F1 popup window.  You would login using a nice themed login panel, then when you click a link for a registration, giving etc. the popup for that would open.

    Mark 

    Like http://www.gccwired.com/


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com

     05-21-2009, 2:18 AM 14394 in reply to 14246

    Re: Joomla Authentication Plugin

    Hi Mark, Thanks for the code, but I'm not getting success out of it. Installation of the plugin gave the error message below, although it did say plugin was installed successfully.

    XML Parsing Error at 1:0. Error 4: not well-formed (invalid token)

     I've enabled the plugin and added in the details, but I could not validate my Weblink account under Joomla.

     Any suggestions? I'm using Joomla 1.5.9.

     

    Regards,

    Kelvin
    Technical Administrator
    CrossCulture Church of Christ

     05-22-2009, 10:54 AM 14403 in reply to 14394

    Re: Joomla Authentication Plugin

    Here is a link to an updated .gz file that will install without an errors FILE  As for it not working...

    You need to get your church code from F1 portal->Weblink->Weblink Setup->Integration Code, this will go in the plugin setup Church Code

    You also need to set up a generic portal user that has data exchange permissions, this username and password go in pluging setup Data Exchange User-Data Exchange Password

    You will also need to move the F1 Authentication plugin to the top of the list, this way Joomla tries to authenticate with it before all other plugins.

    Mark


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com

     05-22-2009, 1:29 PM 14404 in reply to 14403

    Re: Joomla Authentication Plugin

    I'm having issues with this Joomla Plugin too.  I've setup a generic portal user with weblink privileges and given the plugin the username and password along with the F1 Weblink church code, but it doesn't seem to work quite right. I've listed the problems I've noticed below...

    1. If the weblink username doesn't match a valid joomla username it will not sign in. Does each weblink username need to have a corresponding joomla user account?
    2. If the weblink username DOES match a valid joomla username it will sign in regardless of the password given (correct or not).  I was able to sign in using my real password, 'test', and a couple of other incorrect passwords.  This shouldn't happen, am I doing something wrong?
    3. Even when I do login with my correct weblink username and weblink password if I then click on a link to edit my weblink profile, weblink asks me to sign in again which it should not do.  If I login directly to weblink and then use the same link to edit my profile it does not require me to sign in again.  Any thoughts?
    Thanks,
    Nick

    Nick Pounders
    Life Connections Church
    Lead Worshiper/Web Developer
    http://www.makelifeconnections.com
    | Filed under: , ,

     05-22-2009, 4:06 PM 14406 in reply to 14404

    Re: Joomla Authentication Plugin

    I found one thing that needs to be set in addition to the above.  Go to Joomla Admin->Extensions->Plugins->User - Joomla! and set the Auto Create Users to No

    This will force Joomla to always authenticate against F1 and to not create a local joomla user.  If this is on joomla tries to create a user in it database, if your login name is not an email address it will always fail.

    I'll look into the incorrect password issue too.

    Mark


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com

     05-22-2009, 4:40 PM 14407 in reply to 14406

    Re: Joomla Authentication Plugin

    Here is a fixed version that has the correct check for authentication.  FILE

    So to recap,

    1. install plugin,
    2. enter your church code, and a data exchange user
    3. Disable  Auto Create Users

    Then it should would fine.

     

    Mark


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com

     05-26-2009, 6:59 PM 14419 in reply to 14407

    Re: Joomla Authentication Plugin

    I'm really looking forward to using this plugin!

    I've got everything working except when I click on one of my f1 links.. it takes me to the login screen even though I have logged in using the module.

    What am I missing here?

     

    Thanks!
    Nathan Staub

     06-03-2009, 7:43 PM 14460 in reply to 14419

    Re: Joomla Authentication Plugin

    Nathan,

    From here on you'll need to do custom code, including modifying your login form/module to be able to do what you are seeking.  You will need to set a session variable with the indivudualcode from F1, or you can use javascript to open the F1 Weblink links.  A good source to look at is how www.gccwired.com does it.

    Mark


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com

     07-24-2009, 9:10 PM 14893 in reply to 14460

    Re: Joomla Authentication Plugin

    Wow Mark!

    Thank you SO much!  I have been wanting something like this since we got F1 5 years ago and I just do not know enough programming to be able to do it.

    This plugin is going to be great!

     10-07-2009, 12:40 PM 15423 in reply to 14893

    Re: Joomla Authentication Plugin

    I am new to Fellowship One and very interested in the Joomla Authentication Plugin. 
    Willl this login plugin work with the new REST apis or does it need updated. 
    Maybe a better question is.... Does this plug-in have anything to do with using REST apis?
     Thanks,
    Gail

     10-12-2009, 2:11 PM 15457 in reply to 15423

    Re: Joomla Authentication Plugin

    Gail,

    No it hasn't been updated for the REST api's and at this time I don't plan on making that change.

    Thanks

    Mark 


    Mark Spidle - IT Director
    Point of Grace Church
    markspidle@pointofgrace.com
    www.pointofgrace.com
View as RSS news feed in XML