• Resolved contact3243

    (@contact3243)


    Hello, your plugin looks great. I need to hide subscription bar for guests. Only logged-in users (my customers) should see subscription bar. Could you share code to achieve this, please?

    If you want to understand my reason for this: This is because I need to restrict visibility of comments to only registered users, and the risk is that non-logged-in users (non-customers of my site) could subscribe to comments by manually entering their email address and then seeing the comments in email even though they are not customer. If user is logged-in then when they subscribe they do not have the option to manually enter email address which means non-logged in users (not customers) cannot see comments in email updates.

    Thank you very much

    • This topic was modified 4 years, 7 months ago by contact3243.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support gVectors Support

    (@gvectorssupport)

    Hi @contact3243,

    I’m really sorry, but wpDiscuz doesn’t have such an option yet. We’ll take it into consideration for sure.

    We may suggest you to hide the section for guests using the CSS code:

    .wpdiscuz_unauth > .wpdiscuz-front-actions .wpdiscuz-sbs-wrap {
        display: none;
    }

    The CSS code should be added in the “Custom CSS Code” textarea, located in the Dashboard > Comments > Settings > Styling tab.

    Please don’t forget to delete all caches and press Ctrl+F5 (twice) on the frontend before checking to reload the updated CSS file.? ??

    Thread Starter contact3243

    (@contact3243)

    Thank you ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to hide subscription bar for guests (non-logged in users)’ is closed to new replies.