Back to the index page  
LiveChat! (0 online)   FAQ   Search   Memberlist   Usergroups   Register   Profile   Log in to check your private messages   Log in 
Joomla Bridge

 
Post new topic   Reply to topic    web2Project Forum Index » Suggestions and Feature Requests View previous topic :: View next topic  
Joomla Bridge
 PostPosted: Thu Feb 04, 2010 3:03 am Reply with quote  
Message
  patm
I want to know more...

Joined: 31 Jan 2010
Posts: 2
Is there any plans on creating a bridge so Web2project can be pulled into other popular CRMs such as Joomla. I operate a community website that supports nonprofits in St. Louis. I am trying to find a replacement for SugarCRM because I need more of a project manager vice customer relations like CRM. I would like to incorporate Web2Project into my site but do not have the time to hack through the source to find a way to create a seamless login or bridge. All I need is name of the Sessions and or key's that Web2Project is looking for so I can inject them through a require once seamlessloogin.php page. I have used this process on several occasions and it has worked. Would appreciate any help on creating a seamless login or bridge for Joomla 1.5
Thanxs
View user's profile Send private message
 PostPosted: Thu Feb 04, 2010 1:33 pm Reply with quote  
Message
  misjka
I am in love now!

Joined: 04 Dec 2009
Posts: 14
I ditto you request, patm, since I'm about to build a site for a EU research project with Joomla and web2Project Smile .

Hm, could perhaps http://www.jfusion.org become an option for w2P as well?!
View user's profile Send private message
 PostPosted: Thu Feb 04, 2010 6:26 pm Reply with quote  
Message
  caseydk
Administrator

Joined: 07 Nov 2007
Posts: 1348
Location: Austin, TX
The best way to approach this one is by looking at the SQLAuthenticator class (./classes/authenticator.class.php) and based your JoomlaAuthenticator on the PostNukeAuthenticator.

Most likely you can have a Joomla/web2project upgrade-safe version with a few dozen lines of code.

_________________
D. Keith Casey, Jr.
Blog: http://CaseySoftware.com/blog
Company: http://BlueParabola.com/

Core web2project contributor
Maintainer: Microsoft Project Importer and TodoList Module
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
 PostPosted: Sat Feb 06, 2010 3:52 am Reply with quote  
Message
  ChuckyT
All I wanna do is to be here!

Joined: 23 Dec 2009
Posts: 26
Location: Orlando, Florida
We are planning to build somewhat of a bridge between Joomla and w2P for our customer portal, but my initial thought was to create more of a separate app that would just piggy-back on the Joomla authentication and read task info from w2P data based on very locked down queries. This would help to ensure someone doesn't goof up the w2P permissions and I end up with Client A seeing Client B's stuff (very bad). But, if my team can create an actual bridge between Joomla and w2P while convincing me I'll never have to explain why someone's permissions got crossed up, I'd be happy to make it available. We'll be discussing implementation details on this one in about two weeks.
_________________
Chuck Topinka
Sr. Partner, IPG
Ensuring Visibility, Productivity, Profitability through the Internet Performance Group
View user's profile Send private message Visit poster's website
 PostPosted: Sun Feb 07, 2010 4:52 am Reply with quote  
Message
  caseydk
Administrator

Joined: 07 Nov 2007
Posts: 1348
Location: Austin, TX
If you build a separate application to query w2p's database while bypassing the system permissions, I'd give you a near-100% chance of displaying someone else's information.

It's not that I think your code sucks or you're dumb.. I just believe the permissions system is quite complex and hard to replicate and/or simplify much at this time. Alternatively, if you use the existing (and steadily improving) w2p API, all the permissions are applied for you...

I've begun sketching out a hook_block and hook_feed action for each of the core modules which might be a good fit for this sort of thing. What sorts of questions would you want to answer for those users?

_________________
D. Keith Casey, Jr.
Blog: http://CaseySoftware.com/blog
Company: http://BlueParabola.com/

Core web2project contributor
Maintainer: Microsoft Project Importer and TodoList Module
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
 PostPosted: Mon Feb 08, 2010 2:30 pm Reply with quote  
Message
  ChuckyT
All I wanna do is to be here!

Joined: 23 Dec 2009
Posts: 26
Location: Orlando, Florida
Quote:
It's not that I think your code sucks or you're dumb.. I just believe the permissions system is quite complex and hard to replicate and/or simplify much at this time.


I agree with you 100% (probably on all counts). Razz If we did an actual bridge we would use whatever API hooks are available for sure. I definitely don't want to spend any time trying to figure out the permissions system from a code perspective. We take enough time figuring it out from the UI. Wink

The initial thought was to keep the task ID from w2P in a customer reference table, then only allow the customer to see some task information and some task log information where the task_log_task was the task ID and the billing code was either BILLABLE or FTC (our two codes for what clients can see). I don't like doing things this way because we always run the risk of an upgrade messing up our end of things, but that is why we use a dev, staging, and production installation. The benefit, though, is we can absolutely control which tasks we want the customer to see (sometimes we have supporting tasks or keep track of work that needs to be done on a customer's behalf that they don't need to know about).

If we went the non-API route I wouldn't release anything into the wild because that would create support nightmares that no one needs.

_________________
Chuck Topinka
Sr. Partner, IPG
Ensuring Visibility, Productivity, Profitability through the Internet Performance Group
View user's profile Send private message Visit poster's website
 PostPosted: Thu Feb 11, 2010 3:51 pm Reply with quote  
Message
  caseydk
Administrator

Joined: 07 Nov 2007
Posts: 1348
Location: Austin, TX
If you have the task_id, that's a good start as you can call a $task->loadFull() to do the bulk of the lifting. Unfortunately, that requires a $AppUI object to pass into it so that the permissions are applied correctly.

To keep things even more interesting, if you use web2project to render it, you'll have to be careful as there are links to the Project, Company, and Users already on that screen.

If you run into problems, post them here as always. Smile

_________________
D. Keith Casey, Jr.
Blog: http://CaseySoftware.com/blog
Company: http://BlueParabola.com/

Core web2project contributor
Maintainer: Microsoft Project Importer and TodoList Module
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Post new topic   Reply to topic    web2Project Forum Index » Suggestions and Feature Requests

Page 1 of 1
All times are GMT

Display posts from previous:

  

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2002 phpBB Group
Macinscott 2 by Scott Stubblefield

Get web2Project at SourceForge.net. Fast, secure and Free Open Source software downloads