1) I go into a test course as an administrator and turn editing on.
2) I choose 'Add and activity' and choose 'Simple blog'.
3) I then add various blogs, i.e. teacher, student, student and teacher and community.
4) I log off and log on as a student. If i choose a teacher blog I can read it but cannot add a blog entry. If i choose a student, community, or student and teacher entry I have the option of choosing 'Add a blog entry'. So I add entries.
5) I log off and log on as an administrator again. If I choose any of the blog types and choose 'Edit this entry' then I can add the text but when I choose 'Save' the text disappears and the blog is not updated.
6) Note: When I first installed the simple blog I had to comment out the following lines in the bottom of the files 'edit.php', 'post.php' and 'blogpost.php' in order to get it to work
----------------------------------------------------------------------------------------------
/// FOUR LINES BELOW COMMENTED OUT TO GET SIMPLEBLOGS TO WORK - (SW - 29032006)
/// print_header_simple(format_string($simpleblog->name), "",
/// "<a href=\"index.php?id=$course->id\">$strblogs</a> ->
/// <a href=\"view.php?id=$cm->id\">".format_string($simpleblog->name,true)."</a> -> $stredit", "",
/// "", true, "", navmenu($course, $cm));
-----------------------------------------------------------------------------------------------
If these lines are uncommented the message 'Fatal error: Call to undefined function: format_string() in 'C:\wampp2\htdocs\mod\simpleblogs\post.php on line 167' is displayed for example.
Could this be why it isn't working? Why is this format_string message displayed anyway. Thanks in advance. Steve Walker.