Forum Replies Created
I called `get_total_subgroup_count` function in `bp_group_hierarchy_classes.php` passing the group id of 0, which returns the total count for the top-level parent groups.
@sushkov The content is there, all 32 courses which happen to be all the same one. Is this normal? Lectures have no entries however.
I am using WP 3.2.1, BP 1.5 and CW 0.9. I upgraded CW from 0.9 pre-release to 0.9 prod downloaded from this group. Would removing the plugin and all of its database data be a good place to start? Maybe there is some data issue where relationships got messed up? What should I look for in MySQL to remove everything related to CW? Thanks for the help.
@sushkov I agree that the message is a warning but interestingly I do not have WP_DEBUG set to true. If I do set WP_DEBUG to true, then I get all the WP notices and warnings.
Yes, I did update the course page before adding a lecture. I can add a lecture but the lecture count in the “At a glance” section does not increment. It remains at zero.
Also, in the “At a glance” section, the first bullet reads “Groups course class started by and managed by 0 teacher(s) for this group”. The course name, started by name and teacher count is not updating correctly.
In addition, when creating a new assignment, the lecture I had created does not appear in the Linked Lecture dropdown list and the Assignment does not save the info either.
It seems as though there is a relationship problem when storing course info and anything related to it. What other information do you need to help troubleshoot this issue? Thanks!
Just an FYI, the new release (0.9) I downloaded from this group works fine. Must have been some mix up in the downloadable archives (most likely on my part!).
Great job on the plugin! It’s looking good.
@sushkov Oh, OK. Thanks. Any suggestions as to where I should start looking? What code processes the “Edit Course” button action? What should the URI be? Also, where is the code that decides on whether to show the Courseware tab or not? Thanks.
BTW, this is the zip file I downloaded is:
Is this the correct one? If not, where do I download the latest build on github?
After a fresh WP 3.2.1 install, a fresh BP 1.5 RC1 install and a fresh CW 0.9 install, as well as a brand new MySQL database, I’m still having the problem of “Page not found” when clicking the “Edit course” button. The Courseware tab does not show up for the group either and it has been enabled for the group.
Thanks for information. I resolved the title issues by clearing my cache and cookies. Seems to be working well now. The button alignment issue was resolved by wrapping the bullet text so it doesn’t push out the button over and down.
By the way, I am using the version combination because I rely on a plugin for membership called s2member. It is currently not compatible with WP 3.2 and BP 1.5 RC1 so even if I wanted to upgrade to the latest CW, I can’t because of version incompatibilities.