Little sql bugs
-
Hi @slaFFik,
Congratulations for this plugin, i just discovered it a few minutes ago !! Great job.
I played a little with it and i think there’s a trouble in bp-gtm.php on line 166
group_id bigint(20) NOT NULL_DEFAULT ’0′,
as a result the table is not created
i corrected to this : group_id bigint(20) NOT NULL DEFAULT ’0′, but then i had a new sql issue that i resolved adding the following code after global declaration to the function `bp_gtm_get_user_roles` in the file lib/roles.php :
`if(!$bp->groups->current_group->id)
return false;`Then i have a new bug in the function `bp_gtm_get_project_status` of the lib/projects.php. When creating a task, it seems that the project_id is not sent to the function, so i have a new sql error

Hope you’ll find a fix to this last one

Finally, i have no involved user in `group-slug/gtm/involved`, i guess i should have here the user that are assigned to a task or a project…
Again, very interesting plugin : Bravo

You must be logged in to reply to this topic.
