Notifications
Clear all

[Solved] Comment Author Info pagination stopped working

10 Posts
3 Users
0 Likes
1,452 Views
Posts: 7
Customer
Topic starter
(@pmsanz)
Member
Joined: 6 years ago

Hi,

After solving the "bug" with guest users that are registered afterwards and their stats dissapear ( https://gvectors.com/forum/wpdiscuz-comment-author-info/guest-user-author-stats-lost-when-registering-and-using-same-email-solved/#post-14602), we found that pagination in Comment Author Info does not work.

Could you please help us? You can check it in espirituracer.com

Regards.

9 Replies
Elvina
Posts: 1403
(@elvina)
Support
Joined: 5 years ago

Hi @pmsanz,

You have a js error. Please see the screenshot below.

shot 191005 125858

Please exclude wpDiscuz Comment Author Info add-on's js files from Autoptimize plugin settings.
The js files can be found in \wp-content\plugins\wpdiscuz-comment-author-info\assets\js
The issue should be solved.

Please don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

6 Replies
Customer
(@pmsanz)
Joined: 6 years ago

Member
Posts: 7

@elvina

Hi Elvina,

I already did that in Autooptimize, but makes no change. In the tab "Subscriptions" the pagination is working fine, in "Comment Author Info" it does not work.

 

Hope you can find the solution.

Elvina
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@pmsanz,

Please send the admin login detail to the info[at]gvectors.com, to allow us to check the issue.

 

Customer
(@pmsanz)
Joined: 6 years ago

Member
Posts: 7

@elvina

Hi,

I sent us/pass a few days ago. Any update on this?

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@pmsanz

The issue is solved by our team. Please check it. 

Customer
(@pmsanz)
Joined: 6 years ago

Member
Posts: 7

@astghik

Perfect! Now it works as intended. Could you please tell me what file/s did you change? I have another domain to correct also. Thank you.

Astghik
Admin
(@astgh)
Joined: 6 years ago

Illustrious Member
Posts: 5872

@pmsanz

I'll ask the developers and let you know once I get a response from them. 

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

@pmsanz,

Please follow the steps below:

1. Open the /wp-content/plugins/wpdiscuz-comment-author-info/includes/layouts/activity/activity-page.php file

2. Find the 23 line 

3. Replace the code from 23 to 27 lines with the following one:

if (isset($comment->comment_author_email)) {
            $args['author_email'] = $comment->comment_author_email;
        }else if (isset($user->ID)) {
            $args['user_id'] = $user->ID;
        }
1 Reply
Customer
(@pmsanz)
Joined: 6 years ago

Member
Posts: 7

@astghik

Thank you very much, it is perfectly solved.

Share:
Scroll to top