The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Not work correctly ...
 
Share:
Notifications
Clear all

Not work correctly with LearnPress

4 Posts
3 Users
0 Likes
1,351 Views
Posts: 1
Topic starter
(@derzzale)
New Member
Joined: 4 years 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: 7105
 Asti
Support
(@asti)
Illustrious Member
Joined: 6 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
Posts: 1
(@mobileappmogul)
New Member
Joined: 3 years 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: 6 years ago

Illustrious Member
Posts: 7105

@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: