Forum Replies Created
-
hi thanks!
well the strange thing is that the vendor is the course author. so unfortunately this is not the fix.
Only the user role instructor seems to be able to assign it (admin). But i don’t know by which capability this is filtered. It does not seem to be handled with in the code you pointed out earlier. (as changing that if statement does nog change anything).
in reply to: Assign certificates to studentshmm sure? Then where are these divs created (<span style=”color: #4b4d4d; font-family: Lato; font-size: 14px;”>https://prnt.sc/omk7zx)</span>? I cant find these in the file you pointed out.
The problem is dat i am using a custom user role so instructors have a different role then instructor. Admins can still use this function. So i guess there should be an if statement somewhere that only allows instructors or admins.
in reply to: Assign certificates to studentsHi!
Thanks, i tried modifying this so it would show up for my custom user role but unfortunately the issue is not here.
I see that the div that handles these functions is not loaded on the page (see https://prnt.sc/omk7zx)
So i guess there is user role check that determines whether this is printed yes or no. Could you tell me where I can find this (so this class: bulk_assign_students)
Kind regards
in reply to: Assign certificates to studentsthanks, i dont need a plugin
i just want to know all the capabilites that wplms assigns by default to an instructor. could you provide me this list?
in reply to: Add second user role at registrationHi Diana,
I was thinking about this indeed. I am trying to find a list of all the capabilities that are assigned to the instructor user role (i am pretty sure i saw a document about this the other day but i cant find it anymore..).
Could you provide me this list of capabilities?
Kind regards
in reply to: Add second user role at registrationThanks for looking into it!
I figured out that the issue was due to caching so the changes wouldnt be shown.
Without caching it seems to work fine. However, the woocommerce sync seems broken. So when I update my buddypress profile the changes do not get synced with the woocommerce profile fields.
Kind regards
in reply to: Buddypress woocommerce syncthanks!
hmmm okay bit strange, but for me it only works if i edit the code like this:
$(document).ready(function() {
if($(window).width()
it needs to use the timeout function.
It still remains a glitchy, you see the menu going hiding and showing.
why doesnt this work?
in reply to: Default open navigation menu in course statusthanks for the reply!
Tho this is not what I mean.
I want to show the left panel (completly) by default on a mobile device.
I have rewritten the code a bit
$(document).ready(function() {
setTimeout(function() {
$(“#hideshow_course_pursue_panel”).trigger(‘click’);
}, 0);
});
So this does opens the panel on pageload, but it first closes and then opens the panel. This looks a bit glitchy. Is there a way to just prevent the panel from hiding on pageload?
Also how can I restrict this code to mobile devices?
in reply to: Default open navigation menu in course status