Problem With PublishPress Capabilities

Posted in: Newspaper
Post count: 161

Hi,

I have a problem in the PublishPress Capabilities plugin, and after contacting their support, indicate to me that the problem would be with the Newspaper theme and should contact newspaper support.

The problem is,

This plugin (https://pt.wordpress.org/plugins/capability-manager-enhanced/) allows to separate the skills of a particular group of users, and in the case of a contributing user, author, he can not access the options of post settings to configure for example smart lists.

https://i.imgur.com/n5lPI2D.jpg
https://i.imgur.com/VXnJT1y.jpg

My mail to plugin support

“Dear sirs,

I’ve got a problem.

I’ve set up author mode for a user who publishes articles for me, these articles should always be pending review, so I can’t leave the publish option active, and that works.

The problem is that with the option to publish disabled, the user loses options in the articles, namely losing the option of Post Settings of my theme for creating smart lists, etc.”

Answer

“Thanks for getting in touch.

We can’t work on problems with your theme.

Do you have contact details for the theme developers? Please let us know what the theme developers say.”

Thanks

Post count: 18283

Hello !

Unfortunately the Publish Press plugin has not been tested using Newspaper theme, therefore it is not covered by the support team.

We are sorry for the inconvenience !

Thank you !

Post count: 161

Hi Vlad S,

Thanks for feedback.

I’ve been thinking and reviewing, and I came to the conclusion that the problem is the Newspaper theme and not the plugin.

If we do not see, without the plugin, I can assign a user position to a freelancer who publishes articles on my site/blog, but I will not put it as an administrator, but as editor or author to be able to publish and send articles for review, the problem is that the option of “post setttings” only appears to administrators or positions with power to publish directly without sending for review like autor or editor user.

I need to fix this, please tell me how to do it, thank you!

Post count: 18283

Hello !

Please note that as mentioned above we cannot call this a theme problem if the problem is available only with a untested plugin. You can contact our custom work team in order to see if they can adapt the plugin for you over a fee: https://tagdiv.com/web-development-services/

Thank you !

Post count: 161

I already said that has nothing to do with the plugin. Forget the PLUGIN!

Mount your wordpress, install your newspaper theme, put a user as author or contributor, user that according to wordpress will only have options to write articles for your site, don’t publish until you wait for an administrator’s review, and check that that user does not have the “post settings”, only administrator and editor has “post settings”, is a bug of the theme.

Post count: 18283

Hello !

I have followed your steps: Created a Contributor account, deactivated ALL the plugins and activated the Twenty Nineteen default theme and this is what a contributor sees when he want to publish a post: https://www.screencast.com/t/lntAbyVNr And this is how it looks like when Newspaper Theme and plugins are active: https://www.screencast.com/t/dp5BvzFPjj

Am I looking in the wrong place or have I missed a step ?

Thank you !

Post count: 161

Hi Vlad S,

Exactly! Thank you for your patience in help my request.

And as you can see, you don’t have access to Post Settings! Only if you’re an administrator, which is wrong.

A contributor cannot set up their article on a smart list or another without Post Settings.

Admin have Post Settings
https://i.imgur.com/AQJ1Ja2.jpeg

Contributor Dont Have Post Settings
https://i.imgur.com/1pZAmTC.jpg

Thanks, please help me fix this.

  • This reply was modified 5 years by nitrofox.
Post count: 18283

Hello !

Yes, but as mentioned above, I have tested this with Newspaper Theme deactivated and ALL the plugins removed, the look is the same. It is not a difference of this with or without Newspaper Theme.

Thank you !

Post count: 161

Hi,

I do not understand, you have already confirmed the problem, also do not have access to post settings.

I keep asking how I can solve this problem or if you will fix it.

Thanks,

Post count: 35449

Hi nitrofox,
Normal the “Posts Settings” from our theme were set by developers to be display only for administrator, editor and author, for example when you are an author, you can create your own posts and set it as you want (conform WordPress roles) -> https://i.imgur.com/4kTkDdQ.png but as contributor you do not have the same roles, therefore you can not set the post layout and publish the posts -> https://i.imgur.com/RILZz1p.png there is no problem with the theme options, those are like this since the theme was created.
Therefore if you want to provide more capabilities to an user, you need to make it as author, not contributor.
Thank you for your understanding!

Post count: 161

Hi Calin,

I understand, but an author can publish directly on my site and this is not acceptable because we follow a policy of prior review by the administration, so all the contribution has to come from a contributor, however a contributor without this option available, is not able to create a smart list for example, and this does not make any sense.

For me it remains a bug, because all other features of plugins like SEO and other plugins is accessible to the contributor on my sites, is default for wordpress.

Please indicate to me the line of code where your developers have excluded contributors so that you can change since you think this should not be corrected what is wrong of you.

Thanks,

Post count: 35449

Hi nitrofox,
Maybe the problem is that we all have different perspective on how our theme should work. In this way both perspective can be true, for some users can be our perspective, for others can be yours, but not for all of all users.
We go with the WordPress roles -> https://i.imgur.com/kSxdt6R.png according to this cms the author can publish and manage his own posts -> https://i.imgur.com/0wfq9Gt.png -> https://wordpress.org/support/article/roles-and-capabilities/ therefore this is not a bug, is WordPress roles and implementation, not ours, only use them roles.
I do not think that others theme from WordPress have different roles, those are standards.
Now that you have a policy of your own, that do not mean that the WordPress roles are not correctly.
In our theme you can find those roles in wp-content/plugins/td-composer/legacy/Newspaper/includes/td_config.php -> https://i.imgur.com/1feWA5o.png
Thank you for your understanding!

Post count: 161

Hi Calin,

It still makes no sense to me for your explanation, although it may be plausible.

It’s not about being able to edit or publish, it’s about being able to write an article and set it up correctly, which is why other plugins like SEO plugins are active for contributor as well.

I understand that you want to follow the policies of wordpress, but this is your decision and not mine, I just want to know how I can activate the functionality post settings so contributor can write a smart list. Your line of code didn’t explain to me how to do that.

Thanks

Post count: 35449

Hi, unfortunately I’m not a developer to be able to provide a solution and say that my solution is the right one (also this is more an custom request), but I can provide an workaround, on this file path wp-content/plugins/td-composer/legacy/common/wp_booster/wp-admin/content-metaboxes/td_templates_settings.php we have this condition that it will apply per user capabilities -> https://i.imgur.com/uALYWCa.pngwhat you can do is to remove the “current_user_can” parameter from if then the post settings section will be display for all type of users -> https://i.imgur.com/nGK33ve.png
Hope this will help you!

Post count: 161

Hi Calin,

Thank you very much for your help and patience, it worked perfectly.

I think this should be the default setting, or give a configuration option in the theme settings, gets the suggestion.

Thanks again.

Viewing 15 posts - 1 through 15 (of 15 total)
The forum ‘Newspaper’ is closed to new topics and replies.