How to hide Stick a...
 

[Solved] How to hide Stick and Close buttons for guests?  

Page 1 / 2
  RSS

ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
11/09/2019 2:43 pm  

I'm not sure why, but these buttons are visible for guest users... they have options to Stick or Close new comment, as well as comments for other users... not sure if this buttons actually work, but they are visible. How to remove them?


Quote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
11/09/2019 2:49 pm  

Hi @anonimniq,

The 'Stick' and 'Close ' buttons are visible only for admins and moderators (high-level users). It's not available for regular users and guests. 

It also may be visible for the authors, who are the author of the current post. In other cases, it's never visible. I mean that if the current author is not the author of the current post the 'Stick' and 'Close ' buttons will not be visible.

Please leave some example URL to allow us to check the issue on your website. 

This post was modified 2 months ago by Astghik

ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21

ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
11/09/2019 3:04 pm  

Hi @anonimniq,

Please let us know:

  • Have you customized the wpDiscuz plugin? 
  • Do you have some cache plugins? 

ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
11/09/2019 3:07 pm  

@astghik

I only use simple css for display it in full width and for rounded avatars. Make my custom language translation, that's all. No active cache plugin at the moment, only Cloudflare cache.


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
11/09/2019 3:11 pm  

ok @anonimniq,

It seems there is some other plugin caused the issue. Please deactivate the plugins one by one and check after each deactivation to find the problem maker one. Please let us know the result of the testing.

Please don't forget to press Ctrl+F5(twice) on frontend each time before checking to reload updated JS/CSS files. 

 


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
11/09/2019 4:31 pm  

I have around 50 active plugins, tried it to deactivate every single plugin 1 by 1, but nothing fix this issue. Maybe more than one plugin are conflicted... I don't know. Is it OK if I hide the buttons with CSS? Is this issue bad for security of my site?


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
11/09/2019 4:39 pm  

yes @anonimniq you can hide the buttons.

You can hide the buttons via the options mentioned in this doc: 

https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/comment-form/#stick_comment

 Is this issue bad for security of my site?

We cannot say this for sure but we highly recommend you find the problem maker plugin. 


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
11/09/2019 4:48 pm  

These options are disabled in setting, I can't see these buttons as an administrator, but they are visible for guests so I need another way to hide them. 


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
11/09/2019 5:02 pm  

@anonimniq

ok then I think this is just a cache issue. Please clear your Cloudflare CDN cache and check again. 

Here is described how to clear or temporarily suspend your Cloudflare cache:

https://help.dreamhost.com/hc/en-us/articles/216477847-How-to-clear-or-temporarily-suspend-your-Cloudflare-cache

Don't forget to press Ctrl+F5 before checking.


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
11/09/2019 5:26 pm  

Still no luck.... I purge cloudflare cache, activate developer mode to disable it, delete my browser cache, reload the site many times but the issue is still there.


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
12/09/2019 2:25 pm  

@anonimniq

We've checked many times and don't find such an issue on all our test websites.  This is something specific on your website. Could you please send the admin login details to info[at]gvectors.com email address to allow us to check it? 


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
12/09/2019 4:18 pm  

@astghik

I send you an email.


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
12/09/2019 4:22 pm  

Thank you  @anonimniq,

Please wait a bit. I'll update this topic once I get news for you. 

 


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
12/09/2019 4:46 pm  

Hi @anonimniq,

Once we edit and update the current topic, the issue was resolved. Please check it. As I guess one of the active plugins has a hard cache system it caches the HTML. 


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
12/09/2019 4:50 pm  

@astghik

Is it OK for new created posts, because content is generated from guest users and will be hard to update all new posts everytime someone post something. Also don't want post to appear as created from the admin... if this is only for old posts it's fine.


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
12/09/2019 5:13 pm  

I just test it and the problem exist in every new post. I guess is somehow related to author permissions, because when post is edited and administrator is attached as an author problem is solved, but when posts are created from guests.... issue exist.


ReplyQuote
Astghik
(@astghik)
Support Team Admin
Joined: 2 years ago
Posts: 3458
12/09/2019 5:23 pm  

@anonimniq,

Please let us know, how have you enabled the guest posting? Which plugin do you use? 


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
12/09/2019 5:28 pm  

I use Gravity Forms + Gravity Forms User Registration Add-On + Lastform for front end guest posting.


ReplyQuote
ANONIMNIQ
(@anonimniq)
Eminent Member
Joined: 2 months ago
Posts: 21
13/09/2019 5:10 pm  

Any solution for this? I can make function to assign an author with needed privileges to all posts but that's not a perfect solution.


ReplyQuote
Page 1 / 2
Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: