Something odd going on with membership buttons..

Home Forums Legacy Support Support queries How-to & Troubleshooting Something odd going on with membership buttons..

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #7214
    DrSchmenge
    Spectator
    This is on individual course pages. Private comment following.
    #7215
    DrSchmenge
    Spectator
    I customized function bp_course_get_course_credits and made my own plugin to override your version (thx for making it pluggable). It works but there is something odd going on. If you go to any course at http://dev.drawlike.me/all-courses the Membership option is selected by default. No matter what the course is, the customized link shows the user_login for a single instructor (masterpiece). Only after clicking the dropdown to select Membership does the customized course link show the correct user_login. For example - go to http://dev.drawlike.me/?post_type=course&p=2942 By default, the membership link is http://dev.drawlike.me/membership-account/membership-levels/art/masterpiece Only after clicking the dropdown below the Take This Course link and choosing membership does the link change to http://dev.drawlike.me/membership-account/membership-levels/art/geoffreyjacobs (matching the name of the instructor whose course it is). Why is this? Also, none of the buy links in course widgets or the all courses page are working.
    #7357
    Anshuman Sahu
    Keymaster
    Please note that the course credits function also genrates the links on the button . Its key is the link and the value is the price  to show. So please make sure that the key of the credits array must be link . You can have look at original  course credits function  .
    #7443
    DrSchmenge
    Spectator
    Where is the course credits function located and is it pluggable? (FYI a good support response would have included this info instead of making me ask it)
    #7511
    Anshuman Sahu
    Keymaster
    YEs we have included the check for this function . It is in the vibe-course-module/includes/bp-course-template.php file . Find for " bp_course_get_course_credits " function .
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Something odd going on with membership buttons..’ is closed to new replies.