| jpgraph and team privileges issues [message #8637] |
Thu, 11 March 2010 19:11  |
 |
levelle Messages: 5 Registered: March 2010 |
phpCollab guest |
|
|
Hello guys
I've installed v2.5 few days ago and just love it. I've been playing with it for a few days and found 2 issues I can't fix.
1) jpgraph doesn't show at all. I've searched the forum, checked lines in the code and tried everything described in here - nothing helps. I don't see it at all - neither red cross nor errors. It is enabled in settings (I put "true"). I'm using HostGator hosting and it claims GD library is installed. But still Gantt doesn't appear on viewproject. Any ideas? This is the most important feature for me.
2) I'm going to use this as a collaboration application between me and my team. So basically I'm the only manager/administrator. Is there any way to switch off the ability of my team to add/delete tasks? I will be the only one who can create projects/task. Plus I don't really like the edit feature, i.e. I want a team member to be able to post a comment on the task, but not being able to edit task information. I'm not a php coder so it's pretty hard for me to do anything with it. I've tried to use this condition
if ($idSession == $projectDetail->pro_owner[0] || $profilSession == "5") {}
for add/edit buttons, but that didn't help - the buttons appear and disappear correctly but those that stay aren't clickable.
Any help on any of the issues above would be appreciated. Thanks in advance.
PS. As a typical woman, I'd really like to have a FCKEditor or TinyMCE or sth else for textboxes. Are there any modules available for this?
[Updated on: Thu, 11 March 2010 19:28]
|
|
|
| Re: jpgraph and team privileges issues [message #8640 is a reply to message #8637 ] |
Mon, 22 March 2010 19:32   |
|
| levelle wrote on Thu, 11 March 2010 11:11 | 1) jpgraph doesn't show at all. I've searched the forum, checked lines in the code and tried everything described in here - nothing helps. I don't see it at all - neither red cross nor errors. It is enabled in settings (I put "true"). I'm using HostGator hosting and it claims GD library is installed. But still Gantt doesn't appear on viewproject. Any ideas? This is the most important feature for me.
|
You might check the php log files and see if there are any errors being logged. If so, post them here and I can try and help troubleshoot.
| levelle wrote on Thu, 11 March 2010 11:11 | 2) I'm going to use this as a collaboration application between me and my team. So basically I'm the only manager/administrator. Is there any way to switch off the ability of my team to add/delete tasks? I will be the only one who can create projects/task. Plus I don't really like the edit feature, i.e. I want a team member to be able to post a comment on the task, but not being able to edit task information. I'm not a php coder so it's pretty hard for me to do anything with it. I've tried to use this condition
if ($idSession == $projectDetail->pro_owner[0] || $profilSession == "5") {}
for add/edit buttons, but that didn't help - the buttons appear and disappear correctly but those that stay aren't clickable.
|
Currently there is no way to control access from the project side. If you want to only allow them read/create access you could set them up as a client user and have them use the client side of the app. They would be able to create and view requests but not edit them.
| levelle wrote on Thu, 11 March 2010 11:11 | PS. As a typical woman, I'd really like to have a FCKEditor or TinyMCE or sth else for textboxes. Are there any modules available for this?
|
There are pros and cons with using a rich editor. Sometimes the user does not use it properly and likes to put everything in an H1 tag just be cause it is "important". However, it should be fairly easy to implement an editor, its already in the system in a few spots, just need to add the calls to the form fields.
Hope that helps!
Keep us updated on your progress.
Jeff
|
|
|
|
|
| Re: jpgraph and team privileges issues [message #8643 is a reply to message #8642 ] |
Tue, 23 March 2010 16:26   |
|
|
I'll take a look and see if I can find anything and let you know and Aaron know what I find.
|
|
|
|
|
| Re: jpgraph and team privileges issues [message #8646 is a reply to message #8637 ] |
Wed, 24 March 2010 08:31   |
|
levelle,
Thanks for the update. Do you happen to know if that is a backwards compatible solution for earlier versions of PHP?
|
|
|
|
| Re: jpgraph and team privileges issues [message #8648 is a reply to message #8637 ] |
Thu, 25 March 2010 01:47  |
aqwnet Messages: 2 Registered: March 2010 |
phpCollab guest |
|
|
I took a look at Levelle's suggestion. Firstly, the jpgraph.php file didn't contain the JpGraphError class. Instead, I located it in jpgraph_errhandler.inc.php. The jpgraph.php file has a runonce reference to jpgraph_errhandler.inc.php, so I am guessing this basically the same as what Levelle edited. Are there different versions of jpgraph being distributed in the includes?
Editing jpgraph_errhandler.inc.php still did not produce any graphs. I however do have jpgraph 3.0.7 loaded on the server. To determine if results differ, I put a symbolic link in the includes directory to the jpgraph 3.0.7 directory. Doing so, I'm still not getting a graph, but now I'm getting a browser-based error message of JpGraph Error:6006. I'll attach the image.
I'm still working on this, and I'll update if I find something. Additional feedback is welcome.
|
|
|