[Solved] Comment Author Info pagination stopped working  


pmsanz
Posts: 7
Customer
(@pmsanz)
Member
Joined: 1 year 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: 258
Moderator
(@elvina)
Reputable Member
Joined: 3 months 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
pmsanz
Customer
(@pmsanz)
Joined: 1 year 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
Moderator
(@elvina)
Joined: 3 months ago

Reputable Member
Posts: 258

@pmsanz,

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

 

pmsanz
Customer
(@pmsanz)
Joined: 1 year ago

Member
Posts: 7

@elvina

Hi,

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

Astghik
Admin
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3476

@pmsanz

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

pmsanz
Customer
(@pmsanz)
Joined: 1 year 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
(@astghik)
Joined: 2 years ago

Support Team
Posts: 3476

@pmsanz

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

Astghik
Posts: 3476
Admin
(@astghik)
Support Team
Joined: 2 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
pmsanz
Customer
(@pmsanz)
Joined: 1 year ago

Member
Posts: 7

@astghik

Thank you very much, it is perfectly solved.

Share:
Green
Default
Pear
Black Emo
{green}:grinning:
{green}:wink:
{green}:face:
{green}:inlove:
{green}:sweaty:
{green}:surprised:
{green}:lovekiss:
{green}:laugh:
{green}:formalsmile:
{green}:displeased:
{green}:cool:
{green}:resent:
{green}:nerd:
{green}:screaming:
{green}:amazed:
{green}:sad:
{green}:deceitful:
{green}:starryeyes:
{green}:evil:
{green}:shocked:
{green}:tears:
{green}:sulky:
{green}:smile:
{green}:vomited:
{green}:hi:
{green}:afraid:
{green}:crazy:
{green}:rabid:
{green}:fighting:
{green}:nonoise:
{green}:blushed:
{green}:idontknow:
{green}:scared:
{green}:razz:
{green}:kiss:
{green}:eat:
{green}:shutmouth:
{green}:gape:
{green}:suspicious:
{green}:laughingoutloud:
{green}:bruise:
{green}:crying:
{green}:pray:
{green}:serious:
{green}:excitement:
:)
:d
:wink:
:mrgreen:
:neutral:
:twisted:
:arrow:
:shock:
:???:
:cool:
:evil:
:oops:
:razz:
:roll:
:cry:
:eek:
:lol:
:mad:
:sad:
:!:
:?:
:idea:
:hmm:
:beg:
:whew:
:chuckle:
:silly:
:envy:
:shutmouth:
{pear}:happy:
{pear}:smile:
{pear}:laugh:
{pear}:laughingoutloud:
{pear}:crying:
{pear}:exhausted:
{pear}:nerd:
{pear}:surprised:
{pear}:veryhungry:
{pear}:wink:
{blackemo}:laughtertotears:
{blackemo}:gift:
{blackemo}:love:
{blackemo}:inlove:
{blackemo}:shamefaced:
{blackemo}:heart:
{blackemo}:crazy:
{blackemo}:anguished:
{blackemo}:bruise:
{blackemo}:easymoney:
{blackemo}:exhausted:
{blackemo}:vampire:
{blackemo}:shutmouth:
{blackemo}:wink:
{blackemo}:carnival:
{blackemo}:flowers:
{blackemo}:hotdrink:
{blackemo}:party: