Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Editor / Contributor combined possible?

UserPost

1:57 pm
February 3, 2010


ErikW

Member

posts 10

1

This probably is too complicated - but what I would like my users to be able to do is EDIT their (existing) posts and CREATE new posts, while NOT being able to PUBLISH their posts. The Admin should receive any edited / new posts for final ok.

Can someo ne shed light if this is possibler and if yes how I should configure this (already) great tool to do this?

Thank you - Erik Wust

2:10 pm
February 3, 2010


Kevin

Admin

posts 2503

2

If I understand the requirements right, you should try make your users Contributors and install the Revisionary plugin for moderated editing of currently published content.

2:49 am
February 4, 2010


ErikW

Member

posts 10

3

Hi Kevin - great.  Just what I was looking for.

Changing pages works fine - you can submit for revision.

However when I try to change a post and 'send it for revision' - I get following error:

Fatal error: Call to a member function flt_pre_object_terms() on a non-object in /home/cleansafe.com/public_html/qia.nl/wpblog7/wp-content/plugins/revisionary/admin/admin_rvy.php on line 464

Do you have any idea what is causing this error?

Tx - Erik

11:51 am
February 4, 2010


Kevin

Admin

posts 2503

4

ErikW said:

Fatal error: Call to a member function flt_pre_object_terms() on a non-object in /home/cleansafe.com/public_html/qia.nl/wpblog7/wp-content/plugins/revisionary/admin/admin_rvy.php on line 464

Do you have any idea what is causing this error?

Tx - Erik


You can fix that by modifying revisionary/admin/admin_rvy.php as follows:

change:

if ( defined('SCOPER_VERSION') ) {
   if ( isset($post_arr['post_category']) )
	$post_arr['post_category'] = $this->scoper->filters_admin->flt_pre_object_terms($post_arr['post_category'], 'category');
}

to:

if ( defined('SCOPER_VERSION') ) {
   global $scoper;

   if ( isset($post_arr['post_category']) )
	$post_arr['post_category'] = $scoper->filters_admin->flt_pre_object_terms($post_arr['post_category'], 'category');
}

I'm going to include that fix in a version 1.0.1 release later today.

1:18 pm
February 4, 2010


ErikW

Member

posts 10

5

Kevin - great - it works! Thank you - Erik

————————————


Kevin said:

ErikW said:


Fatal error: Call to a member function flt_pre_object_terms() on a non-object in /home/cleansafe.com/public_html/qia.nl/wpblog7/wp-content/plugins/revisionary/admin/admin_rvy.php on line 464

Do you have any idea what is causing this error?

Tx - Erik


You can fix that by modifying revisionary/admin/admin_rvy.php as follows:

change:

if ( defined('SCOPER_VERSION') ) {
   if ( isset($post_arr['post_category']) )
	$post_arr['post_category'] = $this->scoper->filters_admin->flt_pre_object_terms($post_arr['post_category'], 'category');
}

to:

if ( defined('SCOPER_VERSION') ) {
   global $scoper;

   if ( isset($post_arr['post_category']) )
	$post_arr['post_category'] = $scoper->filters_admin->flt_pre_object_terms($post_arr['post_category'], 'category');
}

I'm going to include that fix in a version 1.0.1 release later today.


1:19 pm
February 4, 2010


ErikW

Member

posts 10

6

Kevin - Great - it works !! Thank you - Erik


About the Agapetry forum

Currently Online:

12 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1246

Posts: 5654

Members:

There are 1257 members

There are 1 guests


Kevin has made 2503 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin