Hi there,
I am using Chrome. I have a custom field - text and file attachment addon for the wpDiscuz plugin.
When I fill in the custom field first, the comment field is not able to be typing any words. If I type in the comment field first, everything is fine.
The second issue is, i am not able to upload any attachment using the attachment function.
Please advise.
Thanks
Patrick
https://jdclab.com/diamond-collection/%E9%91%BD%E7%9F%B3%E9%A6%96%E9%A3%BE/
login: dennisma
password: spurspur
Non-admin account.
We don't find such an issue on your website, please watch the video.
https://www.screencast.com/t/ZvvPxboZM
Please make sure there are no extensions installed on the crome like Grammarly, etc.
Hi there
The comment issue is solved. But the upload function is not.
I tested few times, if we upload small files such as a 10kb image, it is fine. If we upload large file such as 2-5 mb, it keeps loading without uploading the image.
I have set the uploading limit to 10mb.
ok, I'm going to check it.
we see some 500 internal server error as a request. We'll need admin accesses to check if this can be fixed by our side. If it possible please change the role of the current user to admin for deeper support.
Hi
Changed. Thanks for your help!
Does that relate to server side issue?
Hi team
thanks for your hard work. Any clue yet?
Hi @pyue6299,
The wpDiscuz Media Uploader add-on uses exif library so as to allow images to be uploaded in the right way. For example, if you take a photo with IOS it rotates when you publish the comments. And the exif library is not installed in your server, so this problem takes place.
There are two ways to solve the issue. For now, we commented out the part of the code that uses the exif lib, and it working now. But I'd suggest you contact your hosting support and ask them to install this lib.
Hi thanks
I have just installed php71-php-exif , can you please help me to check if the image uploading issue is gone when the exif library code is on?
Also, for the Comment Author Info add on. I would like to change the a link target with a CSS class of wcai-comment-link, how should i do with my child theme? Or i need to change the plugin code directly? or there is any third party plugin which can help me to do that?
Thanks!
I have just installed php71-php-exif , can you please help me to check if the image uploading issue is gone when the exif library code is on?
ok, please confirm us to log-in one more time and revert back the changes, we'd made.
Also, for the Comment Author Info add on. I would like to change the a link target with a CSS class of wcai-comment-link, how should i do with my child theme? Or i need to change the plugin code directly? or there is any third party plugin which can help me to do that?
I'm sorry, but I don't follow you. Please try to explain in other words.
1. please log in one more time to check
2. In the Comment Author Info add on, the default URL link target is _blank, and i want to change it to _self, how can i do that?
It seems you've changed the user role. Please make sure we're still admins.
In the Comment Author Info add on, the default URL link target is _blank, and i want to change it to _self, how can i do that?
I this cannot be reached by CSS you should use js code for this purpose. You should add the js code in your child theme's js file.
1. Changed back to admin.
2. Not to achieve by CSS. I mean can i amend the plugin code directly using Child theme so that the target changed to _self?
1. Changed back to admin.
Please check the issue should be solved.
Not to achieve by CSS. I mean can i amend the plugin code directly using Child theme so that the target changed to _self?
Please show on the screenshot what link you mean.
Hi author
The above issues have been solved. But i have another one issue related to the user profile linking.
I am using Userpro in conjunction with your plugin. I have added the following custom button to the comment area which aims to link to user's Userpro profile.
$commentOutput .= '<span class="comment-author-custom-button ' . $uNameClasses . '"><i class="far fa-comment fa-2x" style="text-align:center;"><p style="font-size:13px;margin-top:8px;margin-bottom:-3px;"> ' . $user['authorName'] . '</p></i></span>';
I added this to class.WpdiscuzWalker.php. However, it keeps directing me to the User's website which is one of the user information in the Userpro backend.
And now, i want to make a button that ONLY link user to his/her Userpro profile, what's wrong or missing in the above code?
Thanks
Patrick
Hi @pyue6299,
I'm sorry, but I don't follow you. We don't see any URL links in the code you've provided in the previews code.