Hey @ebar, here’s a video where I set up from the very beginning everything.
Warning 30MB, ogv format, 8 minutes:
http://stas.nerd.ro/pub/stuff/cw.ogv
Looks like @andremartin also has a problem setting up Courseware, so I really hope we can solve it.
Thanks.
Stas – looked at the full video. Is there any reason to create a second user, as you did with ‘teacher’?
One more thing I noticed – everytime I change the profile to ‘teacher’ it reverts back to ‘student’
Stas,
Could you tell me what the database table names are – I want to check what’s happening there.
@ebar, there’re no tables, the plugin is only BuddyPress/WordPress API.
Courses are saved as custom post type, users are users, and roles are managed by Profile Fields from BuddyPress.
There’s a debugging option, but it will allow you see the post types, nothing else.
It’s poetry 
Back to the issue,
looks like there’s some problem with roles.
Is it possible to get somehow access to your setup?
Or, if you have plugins, and stuff, could you disable them?
Thanks.
Also, I created the second user, just to show that roles assignment works. It’s up to you.
I’ve send you an admin login. – thanks Stas
I can’t see any custom post types …
@ebar, can’t find message 
@sushkov – posted it again. Please let me know if you’ve got it. Otherwise, simply register on schoolofgrace(dot)net and I’ll upgrade your role.
@ebar, forward me the message with the password at stas@nerd.ro
Thanks.
@ebar, ok looks like devs disabled messages on BP.org.
And I also didn’t get your e-mail. 
@sushkov, seems like the email is not going to work! Have you checked your junk/spam folder – might be in there. So to resolve this (without email) please register at schoolofgrace.net and I will upgrade your account to administrator.
Andre
Private Messaging is disabled on here because we haven’t got a spam solution for it yet. We’re trialling something on testbp.org.
Thanks @djpaul, it’s ok for now.
@ebar check username: sushkov
Thanks.
@ebar,
the problem happens here:
http://github.com/scholarpress/buddypress-courseware/blob/stable/courses/bpsp-courses.class.php#L238
I can’t explain why, `get_objects_in_term()` is a core function and the parameters it receives, are correct,
all I can suppose some plugin is doing some nasty things there.
My advice, rather disable all the plugins, or get a clean install.
Sorry.
@ebar, cab you post your plugins list in this topic,
we might find some plugins in common we should test to see if there are conflicts:
http://buddypress.org/community/groups/buddypress-courseware/forum/topic/roles-mixed-up/#post-70533
Thanks.
@sushkov, I did try to disabled all plugins and switch to the default theme – still the same problem.
@sushkov, I’ve also re-installed WP 3.01 and upgraded BP to 1.2.6-bleeding ….. still no change.
@ebar, can you send me a zip archive with the code you use and a database dump?
Thanks.
@sushkov, I’ve send it – check your email.
@ebar, got it.
I will test it today.
Also, I don’t need the whole wp-content, just send me the theme, or test it by yourself with theme and see if the problem persists.
Thanks.
@ebar, thanks a lot!
We found the bug, @boonebgorges helped 
Please report if it works and read the changelog.
@sushkov – yipeeee! Where can I get the fix?
Andre
I released 0.1.3 so you should get it via wp-admin.
@sushkov, @boonebgorges, thanks a lot guys – seems like all is working now.
Andre