| User | Post |
|
1:57 pm February 3, 2010
| ErikW
Member
| | | |
|
| posts 10 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
Kevin - Great - it works !! Thank you - Erik
|
|