Home > Support > Forum

Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Only Administrative Access?

UserPost

6:02 pm
February 5, 2010


Navarr

Member

posts 4

1

I can add authors to a Project and assign them tasks, but they aren't allowed to view them.  (Though, the CollabPress Dashboard widget shows up for ALL users).

4:32 pm
February 10, 2010


xy

Member

posts 9

2

Hi!

I've the same problem! (Using WP 2.9 yet)

—————————————–

I' ve found some stupid tweak!

I do not suggest to follow me, becuse it requires to hack wp core, I only report this here! I've only tried it on my test install on localhost.


1. Required tweak in wp-admin/menu.php 307 line

lets check whether CollabPress exists & allow general acess (because you get from here the error message)

if (! user_can_access_admin_page()) {

if (! function_exists('cp_wp_add_dashboard_widgets')) {

    do_action('admin_page_access_denied');
    wp_die( __('You do not have sufficient permissions to access this page.') );
}

}


2 . Allow Access level CollabPress  + its Dashboard options menu read ( use  Menu Editor plugin)


BOTH THE ABOVE two simple tweaks will work, and you will see the CollabPress option and  its Dasboard with an editor/author account too.

You can reach the Assigned task clicking on the CollabPress/Dasboard menu point.

BUT only from there!!!

further error on task link and also  project link on Recent Activity on the admin dashboard

it is somewhere from

cp-functions-activity.php 95 line

admin.php?page=cp-projects-page&view=project&project='…

when you click on that link you get also

Wp error – Cannot load cp-projects-page (I don't know where from this error message comes..Frown)


I also ask some looking after and fixing (not such a stupid hackEmbarassed) because it is very useful plugin!!!!

Many thanks!


9:33 am
February 11, 2010


WDS-Scott

Admin

posts 53

3

User role management for CollabPress will be implemented in the next beta version. Thanks for the great feed back and stay tuned.

-Scott

11:13 am
February 18, 2010


sleary

Member

posts 8

4

Thanks for the pointers, xy. I wanted subscribers to be able to work with their assigned tasks, so in addition to the changes above, I modified the plugin's cp-core.php file:

//define( 'CP_MINIMUM_USER', get_option('cp_user_level'));
define( 'CP_MINIMUM_USER', 0);


That lets them create projects and assign tasks to others, which is not ideal, but it'll hold until the role management version comes along. :)

11:46 am
February 18, 2010


xy

Member

posts 9

5

Hi sleary,

I'm glad giving some help and thanks your feedback and addition. Laugh

Does this hack resolve the Wp error – Cannot load cp-projects-page -
when someone clicks on a task link and also  project link on Recent Activity on the admin dashboard?

I'm only asking that, because I was need temporarily disable this really cool plugin, because I couldn't resolve that problem. I did not look for more deeply in the code what did caused that error. However I have to wait, the proper resolution from the original team, because I'm trying to establish a multi author WP system, in which an ordinary user quite surely will click on that link, and will get an error. For me that is the bigger problem. Frown


3:52 pm
February 18, 2010


sleary

Member

posts 8

6

Post edited 8:54 pm – February 18, 2010 by sleary


Yes, that's exactly what it does.


Edited to add: If you aren't familiar with WP roles, take a look at the Roles vs. Capabilities table. I used zero because I wanted subscribers to have access, but you might use a different level.

4:39 pm
February 18, 2010


xy

Member

posts 9

7

Hi sleary!

Thanks your reply.

(I understood the role, just that didn't how that influenced the link error. Specifically admin.php?page=cp-projects-page&view=project&project= giving that above error. Laugh)


BTW: Meanwhile i've dowloaded the 0.4 version, and tried! The above mentioned problems RESOLVED in that whitout any hack! Works well! Thanks!

4:40 pm
February 18, 2010


xy

Member

posts 9

8

WDS-Scott said:

User role management for CollabPress will be implemented in the next beta version. Thanks for the great feed back and stay tuned.

-Scott


Hi Scott!

Meanwhile i've dowloaded the 0.4 version, and tried! The above mentioned problems RESOLVED in that whitout any hack! Works well! Many Thanks!

Search 


If you can dream it, we can build it! Please contact us today to discuss your ideas and how WebDevStudios can help you today!