Notifications
Clear all

comment publishing bugs

19 Posts
2 Users
0 Likes
1,864 Views
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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


   
Quote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

Hi @pyue6299,

Please let us know where we can check the issue? 


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

https://jdclab.com/diamond-collection/%E9%91%BD%E7%9F%B3%E9%A6%96%E9%A3%BE/

login: dennisma

password: spurspur

Non-admin account.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

@pyue6299,

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.


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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.


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

ok, I'm going to check it. 


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

@pyue6299,

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.


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

Hi

Changed. Thanks for your help!

Does that relate to server side issue?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

Thank you @pyue6299,

We're not sure yet. I'll let you know asap. 


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

Hi team

thanks for your hard work. Any clue yet?

 


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

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.


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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!


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

@pyue6299,

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. 


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

 @pyue6299

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. 


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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?


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

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.  


   
ReplyQuote
(@pyue6299)
Member Customer
Joined: 6 years ago
Posts: 53
Topic starter  

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


   
ReplyQuote
Astghik
(@astgh)
Illustrious Member Admin
Joined: 6 years ago
Posts: 5872
 

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. 


   
ReplyQuote
Share:
Scroll to top