The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 12, 2024 9:14 am
(@kimchiema)
Active Member
Joined: 1 year ago
Hello, can you please tell me if there is an option to show the replies only to logged in members? Basically, I want to hide the comment replies from guests, thank you.
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 12, 2024 9:28 am
(@asti)
Illustrious Member
Joined: 8 years ago
Hi,
You can use the CSS code like this:
#wpdcom.wpdiscuz_unauth .wpd-reply {display:none;}
Insert 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.
Or js code:
jQuery(document).ready(function(){
jQuery('#wpdcom.wpdiscuz_unauth .wpd-reply').remove();
});
Here are the instructions on how to properly add JavaScript to WordPress: https://wordpress.com/go/website-building/how-to-properly-add-javascript-to-wordpress-3-top-methods/
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 12, 2024 9:59 am
(@kimchiema)
Active Member
Joined: 1 year ago
Wow, thank you so much for your fast and solving response. I've added the CSS, it works, and it would be great if when the users click the "Show reply" instead of showing nothing, to show some text like "The replies can only be seen be members".
Thank you
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Sep 12, 2024 3:54 pm
(@kimchiema)
Active Member
Joined: 1 year ago
Or is it possible to show the reply only to the original poster, even if they're guests?
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8207
Sep 13, 2024 9:43 am
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Wow, thank you so much for your fast and solving response. I've added the CSS, it works, and it would be great if when the users click the "Show reply" instead of showing nothing, to show some text like "The replies can only be seen be members".
I'd suggest you use this CSS code:
#wpdcom.wpdiscuz_unauth .wpd-reply >.wpd-comment-wrap {display:none;}
#wpdcom.wpdiscuz_unauth .wpd_comment_level-2.odd:before {
content: 'Please login to see the replies';
display: flex;
justify-content: center;
}
In this case, the previous CSS code should be removed.
(@kimchiema)
Joined: 1 year ago
Active Member
Posts: 4
Sep 17, 2024 8:22 am
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@asti that worked perfect.
Do you think it's possible to have the reply visible only to the original poster? For example, to have the link that's sent to their email say something like url/#comment-123&logged=1 , where the logged parameter lets them see the reply?
Thanks
(@asti)
Joined: 8 years ago
Illustrious Member
Posts: 8207
Sep 17, 2024 8:35 am
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
@kimchiema
I'm sorry, but there is not an easy solution I can share here.