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.

 

Email address is always required

10 Posts
2 Users
0 Reactions
3,026 Views
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22
Topic starter  

Hello,

 

I unclicked field is required for email, but it does not work.  Your script doesn’t produce dummy email for commenters like before.  A bug?

You told me:

It becomes not required, but it doesn't hide the fields. Commenters can comment without filling the Email and Name fields.

For further support please register and open a support topic at gVectors.com support forum.

 

So how to hide it?

 

 

Thanks.


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6450
 

Hi Haobo Hu,

you'd like to disable email field or set just set this field as none required?  

email field

   
ReplyQuote
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22
Topic starter  

Hello,

 I would like to hide/disappear the email field.

 

Thank you for the advice.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6450
 

Haobo Hu,

There is no option for disabling it. I suggest you use the following CSS code.

  #wpcomm .wpdiscuz-item:nth-child(2){
display: none !important;
}

Please navigate to Dashboard > Comments > Settings > Styling admin page, put it in "Custom CSS Code" textarea.  Save it delete all caches do CTRL + F5 on frontend.


   
ReplyQuote
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22
Topic starter  

Sorry, the email input still appears.

Why not making a "enable" switch, like "Web"?

And if I look into the code, when setting email "not required":
<div class="wpdiscuz-item wpd-has-icon">
<div class="wpd-field-icon"><i class="fas fa-at"></i></div>
<input value="" required="required" class="wc_email wpd-field" type="email" name="wc_email" value="" placeholder="邮箱">

You can see your code: required="required"

Perhaps that is the bug source?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6450
 

Could you please leave your website URL? 


   
ReplyQuote
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22
Topic starter  
Posted by: Astghik

Could you please leave your website URL? 

pm

 

Thank you!


   
ReplyQuote
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22

   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 8 years ago
Posts: 6450
 

Hi Haobo Hu,

Please use this CSS code:

.wpd-has-icon:nth-child(2){
display: none !important;
}

Don't forget to delete all caches and do CTRL + f5 on the frontend. 

I will say same error/bug:

https://gvectors.com/forum/how-to-and-troubleshooting/second-anonymous-comment-returns-email-address-is-invalid/

There is another issue, we'll fix it on next update.


   
ReplyQuote
(@meken)
Member Customer
Joined: 9 years ago
Posts: 22
Topic starter  

Thank you for the code, it works!

 

BTW: will you make a "enable" switch in the next update?


   
ReplyQuote
Share:
Scroll to top