Notifications
Clear all
Search result for: field value invalid
Commenting seemed to still dependent on deprecated /wp-commentsrss2.php. As I removed all deprecated Wordpress files from the root of the website, creating comments stopped working with the error: Nonce is invalid
I flushed the WP Rocket cache, wpDiscuz cache, browser cache on many different devices with different logins. Didn't work.
It startet to work as soon as the file wp-commentsrss2.php was uploaded again, but I am not sure if it a coincidence as the error "Nonce is invalid" still shows up sometimes, but usually when I try to post the comment again it works.
Also another error occured with our Front-end Moderation plugin.
Now the menu Edit doesn't work. Delete from that menu is ok, but not edit. What might be wrong?
I get this invalid argument error appear with comments. When I go in to edit the comment, it is categorized in the Extra Comment part where I can't delete that line of error. What should I do? Attached are screenshots of the error.
Warning: invalid argument supplied for foreach() in /home/customer/www/onohawaiianrecipes.com/public_html/wp-content/plugins/master-addons/inc/modules/header-footer-comment/inc/comments/class-comments-builder.php on line 199
Attachment : image.png
Attachment : image.png
Hi,
Thank you for the great work of the wpDiscus plugin. It is awesome.
I am trying to customize the style of post rating but I cannot find the correct path and file to edit.
Could you help to advise them?
I am going to edit the following classed.
.wpd-rating .wpd-rating-wrap .wpd-rating-value.wpd-rating .wpd-rating-wrap .wpd-rating-value.wpd-rating .wpd-rating-wrap .wpd-rating-value .wpdrv.wpd-rating .wpd-rating-wrap .wpd-rating-value .wpdrc.wpd-rating .wpd-rating-wrap .wpd-rating-value .wpdrt
Thank you in advance!
... a form or edit the default form and use multiple custom rating fields with it. Set "allow post rating" to no in the form. Create a post and use the shortcode with that post. Publish the post. Leave a comment on the post that gives ratings for each field. Publish the comment. You will then see the averages for each custom rating field in the post. Everything looks fine and is working as it should at this point. Now go to the Wordpress dashboard to manage your comments. Delete the comment with the ratings that you just published. Return to the post you creat ...
...
I debugged the code we use, and confirmed that the filter _always_ returns the right image URL even in the WP Discuz comments section, but, for some reason WPDiscuz seems to alter that _after_ (or independently of) WP avatar filter, thus resulting in an `img src` value that is not filtered and therefore our custom images are not loaded, instead, the _gravatars_ of those users are loaded.
So I suspect, just like you have a filter to alter the _url_ applied to that avatar (and username) on WPDiscuz (`wpdiscuz_profile_url`) you probably have a filter to alte ...
Thank youI checked a lot of code in wordpress and discase but I couldn't implement what I need because I don't have a good command of php language.Thank you for your help, how exactly should I do this customizationI have put a meta field in the user profile of the media type with the ID user_image_profile so that any user can upload an image to my WordPress in the front of his profile.I just want to do something that discase gets the value of users profile picture from the value of this field and display it in commentsThis is very important for me and I will ...
Hi!
How can it be achieved to display some custom meta field value made for user in commet section. Best near User Label (something like in myCred integration but i want only text value from meta field).
Hello, How can I filter the comments displayed under a page based on a custom field? For example, if the custom field has a value of a, that comment should be displayed, and if it does not have this value, it should not be displayed.
Hello. When posting comments, I need to automatically set the value of the global ID field with the generation of a random number, like this 'default_value' => time (). rand (10000, 99999).How do I add a hidden field to a php comment form so that a random number is generated when it is submitted to the value?
@taraknathgorai,
Everything is correct. Those numbers are not the length of the fields. Those are just the available values that you can enter in the field. For example, if the values are set as below:
Min value: 10
Max value: 16
Then the number that you can enter in the field should be in the range of 10 - 16. That is only the 10, 11, 12, 13, 14, 15 and 16 numbers are allowed.
So, I've disabled the Website field on the form, and it is not showing in the comments:
Attachment : Untitled.png
But, we are still getting spam comments daily with data inside that field. For example, field URL has data inside:
Attachment : Untitled2.png
Any ideas on how to fix this?
Thanks!
How to add conditional field in wpDiscuz (field visibility depends on other field value)
Thanks
@asti See attached screen capture. The steps to reproduce were to add text to the comment field and click 'Post Comment'. I then receive the red 'Som of field value is invalid' notification.
Attachment : screencapture-csblog-202306-lyjo-study-terms-2023-06-19-07_46_12.png
See also that I am not logged in but the comment block still has me logged in as 'Wendell Odom'
A guest user is prompted to enter their name. However, whenever a logged in user enters a comment it is listed as 'anonymous'.
Attachment : logged in user listed as anonymous author.jpg
If 'name' is listed as a required field, an error message appears saying "some of field value is invalid"
Attachment : field invalid.jpg
The problem persists with all other plug ins disabled and the cache purged. I am using the default WordPress Twenty Twenty theme
Can you please assist with debugging this issue
Ross

