drupal6 course reports

I created a course using Drupal6 and the Course module.

I need report on student progress , ie how may people have completed the course , what percentage they have completed etc.

I can get quiz reports to work . When I go to Reports/Course Reports on admin menu I get : You do not have any administrative items.

Any help is much appreciated.

Many thanks

Omer

Can anyone explain how to fix this

quiz

The above is displayed in quiz view for all of my quizzes. I believe it is some sort of database issue but don't know where to start. At one point I was running 2 sites from the same database. This occurred when I stopped using the 2 sites, synched them and deleted one. Any suggestions? This only happens in Quiz view, no other nodes. Thanks in advance

using theme_select() and form_select_options() to auto select from a dropdown list

I am not sure if this is the most elegant way to do this but it helped me do something that I could not find any other solution for. I was looking for a way to auto select the forum taxonomy on a new forum topic based on the taxonomy of the previous page or the forum to which the topic was supposed to belong to. I had a taxonomy id attached to the url of the add forum topic page. and I needed to use the Taxonomy id to influence the markup inside of the drop down field in the add form.

I copied theme_select into my template.php, changed it to
_select() and decided to rewrite the form_select_options() function which controls output of the select tags.
I changed the reference to form_select_options() to
_form_select_options()

above
_select. I pasted all the code for form_select_options() and changed the name to
_form_select_options()

inside of that I added code to pull the term id out of the url of the page:

$current_url = 'http://' .$_SERVER['HTTP_HOST'] .$_SERVER['REQUEST_URI'];
$curl2 = filter_var($current_url, FILTER_SANITIZE_NUMBER_INT);

added an if statement to set "selected" to options that match the url string:

if ($value_valid && (!$value_is_array && (string) $element['#value'] === $key || ($value_is_array && in_array($key, $element['#value']))) || $key === ($curl2)) {

Changing Block ID's for manually created blocks

Is there a way to change the ID in the database? I've looked in the Block table with phpMyAdmin and though the "delta" column and "bid" column seem likely, it doesn't seem to work.

Somehow, after I created a new menu and then dragged that block to a region in block admin, the ID on another block (manually created) changed.

Node saving is not working anymore...

Right now I cannot edit any nodes after they get flagged as paid and/or a workflow state changes I'm not sure which.

This problem came up recently and I am not sure where to look for the answer.

Also the search_total table in my DB is corrupted I believe. Every time I download from my live site and attempt to re-upload it I get errors and manually remove the data in the table, I don't think they area related issues though.

Thanks in advance.

~Martin - MLB

--Update--
Checked DBLog, acknowledgement of change being made,but no errors reported

Proposal: One anti-spam module to rule them all

As I prepared to turn on comments and forums, I researched the anti-spam techniques out there for Drupal. There are a lot of great tools, but then it occurred to me: There is a lot of redundancy, and no coordination. See the wonderful list of anti-spam modules.

Would it be a good idea to have a module to coordinate all of these modules, and bind them?

It seems that all of these modules do some or all of the same basic five things:

  • Detect spammy behavior (especially bots).
  • Block spammy behavior.
  • Cache information about potential sources of spam.
  • Report sources of spam to a central repository.
  • Clean up spammy accounts and content.

Now, they all do this in different ways, particularly the detection part.

However, it seems to me that there could be some sort of "Grand Central Bad Behavior Blocker" (GCBBB) module. It would coordinate all of the actions above amongst different modules. Individual modules would provide one or some of the above services, but wouldn't need to provide all of them.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x