wpDiscuz - WordPress Comment Plugin
Not work correctly ...
 
Share:
Notifications
Clear all

Not work correctly with LearnPress


derzzale
Posts: 1
Topic starter
(@derzzale)
New Member
Joined: 1 year ago

The code I used was this to perform the integration wit LearnPress.

 

//add wpdiscuz to learnpress

function wpdiscuz_options($options) {

if ( LP_Global::is_course_item_type('lp_lesson') ) {

$lesson = LP_Global::course_item();

$options['wc_post_id'] = $lesson->get_id();

return $options;

}

return $options;

}

add_filter('wpdiscuz_js_options', 'wpdiscuz_options', 10, 1);

The problems I am having are:
- Comments with AJAX up to a certain limit work, but after 50 or more they load disorderly (without reloading the page).
- many of the options don't work like changing Custom Ajax functions
- The pagination does not work, only "Load more comments".

Topic Tags
3 Replies
Asti
Posts: 3623
 Asti
Support
(@asti)
Support member
Joined: 4 years ago

Hi @derzzale,

- Comments with AJAX up to a certain limit work, but after 50 or more they load disorderly (without reloading the page).
- many of the options don't work like changing Custom Ajax functions

Please leave some example URL to allow us to check the issues. 

- The pagination does not work, only "Load more comments".

Please record some video of the issue. 

Reply
mobileappmogul
Posts: 1
(@mobileappmogul)
New Member
Joined: 8 months ago

I am having the same issue as everybody else is. The comments won't post on my lessons pages in learnpress it displays in the lessons page, but when I post a comment, it goes to the course page. Has anyone found a work around to this issue? I have googled, tried the missing comments solutions 1-6 and everything else. I see a code at the top of this post. is this the solution? and if so, where do you place this code?

Reply
1 Reply
Asti
 Asti
Support
(@asti)
Joined: 4 years ago

Support member
Posts: 3623

@mobileappmogul,

Please read this support topic. The same issue is discussed here: https://gvectors.com/forum/how-to-and-troubleshooting/wpdiscuz-not-showing-on-learnpress-lessons/#post-17396

Reply
Share: