The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Disable Comment for...
 
Share:
Notifications
Clear all

Limited Support

Our team is currently on holiday, so support will be limited during this period. Response times may be slower than usual, and some inquiries may be delayed.
We appreciate your patience and understanding, and we’ll resume our usual support by the end of August.

 

Question [Solved] Disable Comment for Guests but Allow Reply?

5 Posts
2 Users
2 Reactions
779 Views
Posts: 5
Topic starter
(@justbishop)
Active Member
Joined: 2 years ago

I found this thread and the code definitely works to remove the comment box for a user who's already commented, but can anyone assist with altering this code to make the condition based on a role (or guest)?

https://wpdiscuz.com/community/postid/10142/

For example, I plan on having zero other registered users on my WP site (so it's just me, admin). I'd like to prevent anyone else from leaving top-level comments, but still allow them to reply to the comments that I have left as the admin. 

4 Replies
Posts: 5
Topic starter
(@justbishop)
Active Member
Joined: 2 years ago

I didn't really have the content into a post to use as an example when I posted originally, since this is such a new project, but here you go. I've changed the "comment" terminology to "highlight":

https://ashleynting.com/reads/2024/02/01/camp-zero/

I'm trying to get away from Goodreads since it only Kindle syncs and displays highlights from Amazon-purchased books, and I don't much utilize the social aspect of the site anyway. Collecting my books and highlights is the main goal here, but I also love sharing highlights I find profound or moving in some way.

The goal is that only I can post highlights, but visitors can reply to and/or "like" them.

3 Replies
Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@justbishop,

I'll ask the developers and get back to you soon. 

Asti
 Asti
Support
(@asti)
Joined: 8 years ago

Illustrious Member
Posts: 8075

@justbishop,

We may suggest you the CSS solution:

.wpdiscuz_unauth .wpd-main-form-wrapper {display:none;}

Put the code in the "Custom CSS code" textarea, located in the Dashboard > wpDiscuz > Settings > Styles & Colors admin page.

Don't forget to delete the caches before checking.

(@justbishop)
Joined: 2 years ago

Active Member
Posts: 5

@asti Thank you so much, this worked like a charm!

Share: