By Altitudes on Tuesday, 12 January 2016
Posted in Technical Issues
Likes 0
Views 351
Votes 0
Hello

When a user copies a post in frontend (see attached image), the newly created post has the "Published" state. I really consider this is an issue, especially when this user is not granted the right to publish posts (through ACLs).

New article should be unpublished, or downgraded to Draft or whatever, but in any case should not appear on the site for visitors after copy.

Thank you for your attention

.Fixed in EB 5.0.32
This is what you can do temporarily, edit the file /administrator/components/com_easyblog/includes/post/post.php and at line 863 locate the codes below,


$data->published = EASYBLOG_POST_PUBLISHED;


Replace it with,


$data->published = EASYBLOG_POST_UNPUBLISHED;
·
Tuesday, 12 January 2016 12:07
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark.

Will this modification be included in the next release of EB? I really think it should. When you copy a post, this is certainly not because you want to create duplicate content So I think the post should be unpublished the time you modify the copied post and publish it again.

That's the way it works for Joomla articles: when you copy an article, the newly created article is unpublished.
·
Tuesday, 12 January 2016 17:04
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes, this will be included on the next release
·
Tuesday, 12 January 2016 17:13
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark.
·
Tuesday, 12 January 2016 17:26
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Tuesday, 12 January 2016 17:30
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post