Adjust comment box

Posted in: Newspaper
Post count: 84

Hey, I would like to

1. hide the comment function for external users and show the comment box only to logged in users. I am usually using the content restriction plugin to hide information for certain user roles. But with tagdiv content I do not know how to apply the content restriction shortcodes (

2. Is there a way to remove the fields “surname” and “name” in the comment box? I would like external users be able to submit their comment only with their email address.

Thanks in advance!

Example for a comment box on my website: https://urban-digital.de/ready2twin-mit-virtual-city-systems/
My content restriction plugin: https://wordpress.org/plugins/content-control/
Content restriction shortcodes that I normally use to hide forms etc.:[content_control roles=”subscriber,editor” class=”custom-css-class” message=”You don’t have access to this.”]Logged in content[/content_control]

Post count: 35449

Hello,

1. This can be done using the WordPress option to let a comment only if you are logged in – https://i.imgur.com/8mwtAjB.png this should work just fine.

2. Those elements can also be removed from the WordPress options – https://i.imgur.com/Ttglk6y.png

Thank you!

Post count: 84

Hello,

Thanks for your answer. Since I don’t want to hide this comment box always from non-registered users, I’m kindly asking you if there is any way to hide tagdiv-elements using the above-mentioned content control shortcodes?

Also I have one last question: For some reason I can’t save elements in the tagdiv composer. I disabled the cache plugin and tried different browsers but it never worked. Can you help me to handle this issue please? Thanks!

Dima

Post count: 35449

Hello,
What can be done is to use 2 single post templates – https://i.imgur.com/jaqVjsS.png, one where the comment box is displayed all the time and one that has the comment box hidden for people who are not logged in – https://i.imgur.com/oSrY65y.png
These single post templates can be assigned globally, individually and by category, it would be best to have one global and the rest by category – https://i.imgur.com/fwidCwI.png

For the problem with the composer, does the same happen on a new page? Does the problem persist only with the plugins in the theme? if yes, then please contact us at contact@tagdiv.com and please provide temporary wp-admin access, also include the link of this topic in the email to can identify you. We’ll check the problem as soon as possible.

I hope this will help you!
Thank you!

Post count: 84

Thanks for your nice reply and explanation for the comment box!
I sent the e-mail concerning the other isse as you have requested it.

Post count: 35449

We’ll check the email as soon as possible!
Thank you!

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