Forum Replies Created
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).
hmm 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.
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)
thanks, 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 registration
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 regardsin reply to: Add second user role at registration3 years, 11 months ago gsjaak_118Participant
Thanks 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 regardsin reply to: Buddypress woocommerce sync4 years ago gsjaak_118Participant
hmmm okay bit strange, but for me it only works if i edit the code like this:
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 status4 years ago gsjaak_118Participant
thanks 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
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