View Full Version : SugarCRM senergy
Hi, I was just fooling around on the SugarCRM demo site (see www.sugarcrm.com) and seems to have very good functionality for CRM but doesn't have the project management of dotproject. For my work I reallly would like both worlds integrated. It seems that there is potential of linking these two projects since they are both PHP/Mysql based and there is significant overlap in terms of Users/contacts etc. License is Mozilla for SugarCRM and BSD for dotproject, I think those license are pretty compatible? So instead of developing a whole CRM plugin from scratch maybe integrating the two projects?
pbartecki
09-09-04, 06:08 PM
Yep, SugarCRM probably the best OS CRM right now and it's getting better every day. I would also love to see it integrated into dotP as both projects complements themselves perfectly, but it is pretty much huge task i'd say...
As a dirty hack one could just use a script to keep companies and contacts data from both projects in sync...
Otherwise SugarCRM is definately worth looking at.
greets,
Pete.
caseydk
09-09-04, 11:00 PM
I'm playing with it right now, but I'm having trouble deploying it on my hosting service as I only get a single mysql database and SugarCRM has a "tasks" table and does *not* support prefixes.
It is a pretty impressive little system though.
nealtech
29-09-04, 12:31 AM
I would be willing to donate some server space and a couple of mySQL database accounts to someone for the purposes of working on SugarCRM and DotProject.
caseydk
29-09-04, 02:56 AM
This is one of the many modules that I'm working on currently.
everyday
19-10-04, 01:41 PM
Just wanted to ask how is this module coming along?
caseydk
19-10-04, 10:18 PM
Very little as this work does not pay the bills. My main module focus is the mantis integration.
Hi,
I was wondering if there was any news on this module since Oct 19, 2004? :shock:
caseydk
16-12-04, 01:52 AM
Haha. Nope.
Since it does not pay the bills, it comes second. The Mantis integration is going smoothly, but I'm on the road right now, so even that is at a halt for now.
I would be willing to donate some server space and a couple of mySQL database accounts to someone for the purposes of working on SugarCRM and DotProject.
Me too. I'd like to offer you free hosting account and databases for you to work on the combination. (But no SSH access since it always causes troubles.) I'd even like to pay part of your bills for the job. Chat with me on MSN if you are interested, and my username is smartsm88 at hotmail.com .
delware
02-01-05, 12:10 PM
Ok, I'm banging my head against the wall all day trying to get these 2 projects to play nicely on the same machine.
I am trying to install a flavor of SugarCRM called vTiger (http://freshmeat.net/projects/vtigercrm/?branch_id=53112&release_id=181655)
It requires:
Apache 2.0.40
MySQL 4.0.13 - 4.0.20
PHP 4.3.8
I'm able to get it running fine. However, I can't get dotProject to allow me to log in.
It is able to connect to the MySQL dotProject DB fine, however after enter user name and password (I am 110% both are correct....checked...re-checked) I get the "Login Failed" message and I stay on the login window.
Are any of these module versions known to be incompatible with dotProject?
Thanks
JohnD
cyberhorse
03-01-05, 09:57 AM
what version of dotproject?
delware
04-01-05, 01:58 AM
I finally got it working. I think it was a stray phpts file in system32.
vTiger is a really nice CRM (there's a whole saga of vTiger vs. SugarCRM). It would be really cool to integrate these 2 projects into one (or a module in vTiger)
I'm using vTiger for my CRM and dotProject for my product management. Though currently, I think DP needs more in the way of bug tracking.
Thanks
JD
delware
You said you got vtiger working with dotproject, do you share the companies and contacts and tasks of both systems?
Can you please tell me if you have tried the bug mod or the helpdesk mod.
If so, what do you think of it, if not go give them a try from the dotmods.
Pedro A.
delware
21-01-05, 06:04 AM
Hello,
I'm in the process of writing the Customer module API. I am not gearing it specifically to vTiger. It has an abstract class that can be implemented to connect to any data source. I am coding this as a replacedment for the Contacts modules (in my case anyway) since I don't want to duplicate customer information in DP. I have added 2 tables to DP to support the module and have submitted a few issues to allow total hiding of the current Contacts module.
There will be a tab added to the tasks view/edit for the customer support. I will also add a tab to teh project view/edit for this also. I am still identifying any reports that may need tweaking, but I will also have a cutomer issue report.
On the other side, vTiger will need some mods to be able to reach into DP to get a list of issues for a customer.
I am developming this for my own needs, but when I am done, I am more than happy to put it in DP mods. Right now, all the mods in DP require customer data to be housed in DP. Since I have contracts running off my CRM and since I don't want to have to keep everything in synch in 2 spots, it's easier for me to take this approach. I am using Mantis as the bug tracker, I'm going to add a mod for that too in order to be able to attach a bug to a CRM customer.
It would be realy cool to have a single project be able to handle lead to support for a customer. The helpdesk in vTiger is not up to snuff (unfortunatly) and I really like Mantis.
delware, thanks for your posts,
I was expecting the merge wouldn't be an easy task, what really got me thinking was this db abstration layer, see i am using firebird dbs mainly and got into mysql because of team CRM and Project Management solutions. Well, my question is, can you get any db engine to work with dotProject?
I see from the cvs that such a solution is on the pipe for dotProject 2, but this issue is not mentioned by the team.
Since mysql does not support triggers and stored procedures, the bussiness logic is too heavy on the client, and other Dbs such as Firebird and Postgre give some balance to the bandwith and processing.
Can you please share your thoughts with us, like what engine are you using and if it goes ok.
Again, thanks a lot.
caseydk
21-01-05, 09:19 AM
The adodb libraries that are in use are supposed to make the system database indepedent. The system is not there yet, but eventually that may be a way to do it.
Hi caseydk,
Thanks for your reply, i was wondering if you have tried the postgre jump, and how lean would be the shift to Firebird, initial DDL and DML is no problem so pumping data would be a breeze to me, my problem is with inner structure of the DML, will it be compatible trough this adodb layer?
The objective question is: Is database independence possible with dotproject?
Many thanks
Pedro A.
caseydk
22-01-05, 06:37 AM
Is it possible? Yes.
Does it work now? I don't know, but probably not.
Wasn't this the purpose of the DB package of the Php PEAR project?
envycom
14-10-05, 11:29 AM
Definitly interest from the vtiger community in a PM tool!
http://forums.vtiger.com/viewtopic.php?p=12432#12432
envycom
15-10-05, 06:34 AM
this uploads all contacts and accounts from vtiger to dotproject.
it makes their accountid start at 10000+. accounts will get overwritten in dotproject details change.
enjoy
--------------
<?
$vtiger_home = "localhost" ;
$vtiger_user="----";
$vtiger_pass="----";
$vtiger_base="----";
$dotproject_home = "----" ;
$dotproject_user="----";
$dotproject_pass="----";
$dotproject_base="----";
if (!($vtiger_link=mysql_connect($vtiger_home,$vtiger _user,$vtiger_pass))){
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $vtiger_base , $vtiger_link )){
echo "Error the data base does not exist";
exit();
}
$vtiger_sql = "SELECT * from account ORDER BY accountid";
$vtiger_result=mysql_query( $vtiger_sql )or die( $FunctionName . ": SQL error " . mysql_error() . "| sql = " . htmlentities($vtiger_sql) );
while($vtiger_catRow=mysql_fetch_array($vtiger_res ult)){
/* $dotproject_sql .= "INSERT INTO companies (company_module, company_name, company_phone1, company_phone2, company_fax, company_address1, company_address2, company_city, company_state, company_zip, company_primary_url, company_owner, company_description, company_type, company_email, company_custom) VALUES ('0','".$vtiger_catRow[1]."','".$vtiger_catRow[10]."','".$vtiger_catRow[11]."','".$vtiger_catRow[15]."','','','','','','".$vtiger_catRow[14]."','1','','','".$vtiger_catRow[12]."','".$vtiger_catRow[4]."')\n";
*/
$dotproject_sql .= (10000+$vtiger_catRow[0]).",0,".$vtiger_catRow[1].",".$vtiger_catRow[10].",".$vtiger_catRow[11].",".$vtiger_catRow[15].",,,,,,".$vtiger_catRow[14].",1,,,".$vtiger_catRow[12].",".$vtiger_catRow[4]."\n";
}
$filename = 'vtiger_account_import.sql';
@unlink($filename);
touch($filename);
// Let's make sure the file exists and is writable first.
if (is_writable($filename)) {
// In our example we're opening $filename in append mode.
// The file pointer is at the bottom of the file hence
// that's where $somecontent will go when we fwrite() it.
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
// Write $somecontent to our opened file.
if (fwrite($handle, $dotproject_sql) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
// echo "Success, wrote ($somecontent) to file ($filename)";
fclose($handle);
} else {
echo "The file $filename is not writable";
}
if (!($dotproject_link=mysql_connect($dotproject_home ,$dotproject_user,$dotproject_pass))){
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $dotproject_base , $dotproject_link )){
echo "Error the data base does not exist";
exit();
}
$dotproject_sql="LOAD DATA LOCAL INFILE 'vtiger_account_import.sql' REPLACE INTO TABLE companies FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'";
$dotproject_result=mysql_query( $dotproject_sql )or die( $FunctionName . ": SQL error " . mysql_error() . "| sql = " . htmlentities($dotproject_sql) );
if (!($vtiger_link=mysql_connect($vtiger_home,$vtiger _user,$vtiger_pass))){
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $vtiger_base , $vtiger_link )){
echo "Error the data base does not exist";
exit();
}
$vtiger_sql = "SELECT * from contactdetails ORDER BY contactid";
$vtiger_result=mysql_query( $vtiger_sql )or die( $FunctionName . ": SQL error " . mysql_error() . "| sql = " . htmlentities($vtiger_sql) );
$dotproject_sql="";
while($vtiger_catRow=mysql_fetch_array($vtiger_res ult)){
/*
$dotproject_sql = "INSERT INTO companies (contact_first_name, contact_last_name, contact_order_by, contact_title, contact_birthday, contact_job, contact_company , contact_department, contact_type, contact_email , contact_email2, contact_url, contact_phone, contact_2, contact_fax, contact_mobile, contact_address1, contact_address2, contact_city, contact_state, contact_zip, contact_country, contact_jabber, contact_icq, contact_msn, contact_yahoo, contact_aol, contact_notes, contact_project, contact_icon, contact_owner, contact_private) VALUES ('".$vtiger_catRow[3]."','".$vtiger_catRow[4]."','','".$vtiger_catRow[2]."','','','".$vtiger_catRow[1]."','','','".$vtiger_catRow[5]."','".$vtiger_catRow[15]."','','".$vtiger_catRow[6]."','".$vtiger_catRow[7]."','".$vtiger_catRow[10]."','".$vtiger_catRow[7]."','','','','','','','','','','','','','','obj/contact','1','')";
*/
if ($vtiger_catRow[0]!='1'){//don't overwrite admin
$dotproject_sql .= (10000+$vtiger_catRow[0]).",".$vtiger_catRow[3].",".$vtiger_catRow[4].",".$vtiger_catRow[4].",,".$vtiger_catRow[2].",,,".$vtiger_catRow[1].",,,".$vtiger_catRow[5].",".$vtiger_catRow[15].",,".$vtiger_catRow[6].",".$vtiger_catRow[7].",".$vtiger_catRow[10].",".$vtiger_catRow[7].",,,,,,,,,,,,,,obj/contact,1,\n";
}
}
$filename = 'vtiger_contact_import.sql';
@unlink($filename);
touch($filename);
// Let's make sure the file exists and is writable first.
if (is_writable($filename)) {
// In our example we're opening $filename in append mode.
// The file pointer is at the bottom of the file hence
// that's where $somecontent will go when we fwrite() it.
if (!$handle = fopen($filename, 'a')) {
echo "Cannot open file ($filename)";
exit;
}
// Write $somecontent to our opened file.
if (fwrite($handle, $dotproject_sql) === FALSE) {
echo "Cannot write to file ($filename)";
exit;
}
// echo "Success, wrote ($somecontent) to file ($filename)";
fclose($handle);
} else {
echo "The file $filename is not writable";
}
if (!($dotproject_link=mysql_connect($dotproject_home ,$dotproject_user,$dotproject_pass))){
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $dotproject_base , $dotproject_link )){
echo "Error the data base does not exist";
exit();
}
$dotproject_sql="LOAD DATA LOCAL INFILE 'vtiger_contact_import.sql' REPLACE INTO TABLE contacts FIELDS TERMINATED BY ',' LINES TERMINATED BY '\n'";
$dotproject_result=mysql_query( $dotproject_sql )or die( $FunctionName . ": SQL error " . mysql_error() . "| sql = " . htmlentities($dotproject_sql) );
if (!($vtiger_link=mysql_connect($vtiger_home,$vtiger _user,$vtiger_pass))){
echo "Error when connecting itself to the data base";
exit();
}
if (!mysql_select_db( $vtiger_base , $vtiger_link )){
echo "Error the data base does not exist";
exit();
}
echo "<a href=index.php>Contacts and Accounts imported</a>";
?>
caseydk
19-10-05, 02:27 AM
What value does it have if it's a one-time one-way conversion that can later be overwritten by standard usage?
I had another comment here about the quality of this solution, but chose to delete it..
envycom
28-10-05, 05:25 AM
What value does it have if it's a one-time one-way conversion that can later be overwritten by standard usage?
I had another comment here about the quality of this solution, but chose to delete it..
Casey it's free so take it or leave it (along with your bad attitude)
You probably don't understand how it works either. You can add companies through dp still and they will get assigned regular id's that don't get overwritten. If a vtiger account gets updated than it will get updated (overwritten) in dotproject.
as well it's not a 1 time solution. i have included it in the create project module so that all crm accounts are updated/added when you start a new project.
Casey it's free so take it or leave it (along with your bad attitude)
You probably don't understand how it works either. You can add companies through dp still and they will get assigned regular id's that don't get overwritten. If a vtiger account gets updated than it will get updated (overwritten) in dotproject.
as well it's not a 1 time solution. i have included it in the create project module so that all crm accounts are updated/added when you start a new project.
Come on envycom, there is no need to get upset on this please :)
caseydk deserves respect for earning is living so we should respect his opinion too.
To say the truth I am also a vTiger follower, and there is some code of mine there in vTiger (yeah that's I am pretty sure vTiger is not all sugarCRM code after all :) ), it is not much really but I recognize it.
And I am pleased to see that you are trying to do something about dP and vT, and I would suggest you a thing if you don't mind:
Create a thread named "vTigerCRM synergy" it would be better spelled and you could present us all vTiger also followers with your code snipets which look pretty good and we can discuss some of the assumptions you're making that could be improved.
I will be pleased to join such a fruitfull discussion.
Thank you very much for your efforts I am really appreciating your ideas...
Pedro A.
caseydk
11-11-05, 05:47 AM
My apologies as I should have been more respectful.
The vTiger team and their behavior - both publicly and towards me privately - drives me nuts.
asamoal
28-11-05, 11:32 PM
So where is there a lead on SugarCRM? That babe has the WOW effect one me and I have been in CRM for 14 years! I have managed to avoid Siebel (Enterprise Systems) until now :-( It's coming....It's coming....It's coming....It's coming....It's coming.... :-x
So if anything has been done or is being done please speakup and let me know; this would be a nICE project for my small company.
L
caseydk
30-11-05, 01:00 AM
It's called the Domino Bridge and it is not an Open Source component. It is detailed here:
http://blogs.caseysoftware.com/?q=node/167&title=The-Domino-Bridge-is-Available
vqcdesigns
08-01-06, 04:46 AM
I could not access the SugarCRM demo. Seems as if it has been hacked.
caseydk
01-02-06, 12:49 AM
It was taken off line a while back and will be going back online shortly.
Al this talk about SugarCRM...
No one talks about XRMS? (one of) The only true Open Source, enterprise level, open source CRM package out there?
Oh, sorry, sounds like a commercial!
I've beem working on the XRMS project for the past 2 years.
I just discovered dotProject. And my fourth thought was blending them (dotProject and XRMS that is).
Off the top of my head this blending would be along the lines of dotProject using the companies. contact, users, and address tables from XRMS.
Then XRMS would need to tie into task and projects.
Not something done in a week.
But XRMS has a complete plug-in architecture to handle things like this.
I'll look at it in my spare time! LOL!!
But you know, I was thinking of modifing dotProject to hande addresses like XRMS does.
XRMS has a complete address table that contact, users and companies share. That way the same address in not in a dozen records, so when ACME Widgets moves their corporate facilities, yo don't ahve to hunt down the 45 contacts you have in that company.
It tracks shiiping, mailing, main, personal, home, etc addresses. It really does it well!
Thanks for a great project. I discovered it this morning, (installed it in 10 minutes) been playing with in all day.
Walter
cyberhorse
15-03-06, 07:32 PM
Addresses being in a separate table has occured to me too, but realistically, I found out it won't have much to share ... users use contact info already. companies usually have corporate address, while contacts store personal ones ... not a lot of overlap in a lot of cases, especially for phones, etc. the only benefit might be on actual addresses ...
vqcdesigns
15-03-06, 11:07 PM
Hello Caseydk,
Any ideas when the Domino Bridge will be back online? Its been a few months and we are really interested in the module.
Greetings;
Delware, did you finish the contacts api you mentioned in an earlier post? Does it work with 2.0.2?
Thanks.
- Paul
vBulletin® v3.6.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.