# |
Post Title |
Result Info |
Date |
User |
Forum |
|
Invalid Argument
|
14 Relevance |
5 years ago |
tbelliston |
Bug Reports |
|
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 |
|
Edit .wpd-rating related CSS
|
14 Relevance |
3 years ago |
fw1002 |
How-to and Troubleshooting |
|
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! |
|
RE: Avatar not Updating
|
13 Relevance |
2 years ago |
smileBeda |
How-to and Troubleshooting |
|
...
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 ... |
|
RE: A non-numeric value encountered in VS 7.1.4
|
13 Relevance |
4 years ago |
wpdiscuzuser300 |
Bug Reports |
|
... 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 ... |
|
RE: Displaying the user's profile picture in Discase's comments through the meta field
|
13 Relevance |
2 years ago |
leo |
General Discussions |
|
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 ... |
|
Display user custom field after label
|
13 Relevance |
3 years ago |
avaccus |
How-to and Troubleshooting |
|
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). |
|
filter comment with custom field
|
13 Relevance |
4 years ago |
vahid13713 |
How-to and Troubleshooting |
|
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. |
|
Adding a hidden field to php
|
13 Relevance |
4 years ago |
WebmasterKww |
How-to and Troubleshooting |
|
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? |
|
RE: The additional field not allowing the comment submission
|
13 Relevance |
5 years ago |
Asti |
Bug Reports |
|
@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. |
|
RE: "You are logged in as" always displayed
|
13 Relevance |
2 years ago |
tjbett |
How-to and Troubleshooting |
|
@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' |
|
Comments by Logged in User list Author as "Anonymous"
|
13 Relevance |
5 years ago |
RossHanrahan |
How-to and Troubleshooting |
|
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 |
|
Website field spam still here even after disabling the field
|
13 Relevance |
2 years ago |
Incomera |
How-to and Troubleshooting |
|
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! |
|
Conditional field
|
13 Relevance |
4 years ago |
rokaya |
wpDiscuz Integration |
|
How to add conditional field in wpDiscuz (field visibility depends on other field value)
Thanks |
|
Conditionally changing comment avatar
|
13 Relevance |
2 years ago |
Billy |
How-to and Troubleshooting |
|
I'm using a custom field that I added to my comment form and I know from there I can target the meta key with a function. If the key equals a certain value, I want to change or hide that comment author's avatar. The following seems like it should work but it doesn't. Does anyone out there know how to hide or change the avatar within wpDiscuz comments if a custom meta key's value is detected? By the way, I know the custom field is set correctly because I'm able to change the author name, and I was able to add a class based on this custom field. Only the avata ... |