Friday, June 25, 2010

Installing Knowledge Building plugin "FLE4" on WordPress 3.0

Once you have super-admin status on the WordPress 3.0 site you can add the Knowledge Building plugin, you can do it from the wp control panels you don't need server access. (Note: I've added comments where there are changes in WordPress 3.1.  Where upgrading to WP 3.2 note the green text directions.)  Here's how I did it:
  1. I clicked on the Plugins panel, then "Add New" as this sub-menu.
  2. In the Search field I typed in "Knowledge Building", pressed search and the top one that appeared was "knowledge building".  I clicked, "Install Now".
  3. And it did!
  4. I selected, "Activate Plugin".
  5. Click on the "Posts" control panel and select "Categories".
  6. In the name field I typed, "Knowledge Building", gave a quick description then pressed, "Add New Category".
  7. Click on the "Settings" control panel, select, "knowledge building".
  8. Under the "Knowledge Building" column I clicked on "Progressive Inquiry", then pressed, "Save Changes".
  9. [When you update your version of WordPress you must repeat steps 9-23] Click on the Appearance control panel (or in WordPress 3.1 in the upper right hand corner of your dashboard, click on "Site Admin", (in version 3.2.1-3.4.1 go to the upper right corner and select the dropdown menu 'Howdy, username' and select 'Network Admin'--note, this little menu is how you toggle back and forth between your regular user account and network admin account: Site admin and Network admin.)), then click on "Themes" then click on the "Editor" sub-menu.
  10. I'm using the Twenty Ten theme--make sure it says the name of the theme you are editing where it says, "select theme to edit".
  11. Under the Templates list on the right hand side, select "Comments" (comments.php).
  12. If you have a wide display and you're not a programmer, make your browser window as wide as possible--makes the code easier to read. 
  13. Use Firefox's page search function and search for the following: "wp_list_comments( array( 'callback'' ) );"  excluding the quotation marks (In WordPress 3.4.1 I found: "wp_list_comments( array( 'callback'", excluding quotations)
  14. I cut that and replaced it with this.  Note, the content between the "/*" and the "*/" are ignored, I included this copy of the original code so that it would be easy to revert to it if necessary, by just removing the commenting-out marks.
  15. knbu_list_comments();
                        /* wp_list_comments( array( 'callback' =>; 'twentyten_comment' ) );
                        */
  16. In 3.4.1 it is seen as: 
  17.  /*wp_list_comments( array( 'callback' => 'twentyten_comment' ) );
                        */
    knbu_list_comments();
  18. Remember to do steps 10-17 for each theme you are using!
  19. **remember to change the twentyten to twentyeleven so you backup works if you are using the twentyeleven theme!**
  20. Then I pressed, "Update File".
  21. I just had to the "Plugins/Installed Plugins" control panel and "Network Activate" both the Knowledge Building" and "Disable Check Comment Flood" plugins.  The latter plugin is useful if you will be having a classroom of students KBing at the same time.
  22. Then go back to the "Settings" control panel (in 3.2.1 you have to go back to the Site Admin in upper right hand corner) and select, "Discussion" then, (In 3.4.1, still as Network Admin, I clicked on "Sites" control panel, then selected the site I was updating--will have to do to all?--and clicked on the "Settings" menu tab, then searched for "Close Comments", changed the "Close Comments Days Old" from 14 to 0 (so it never closes), and changed the "Comments Per Page" from 50 to 150.  So for 3.4.1 can skip next step as I described it in this one.)
  23. Put a check next to: Enable threaded (nested) comments levels deep, scroll to the bottom and select, "Save Changes".   Actually, I kind like 7 deep when I do the optional settings listed below (but in theme 2011 seems to not be necessary)...  Also, scroll down to the bottom and select the "monsterID" it is fun!  do Save Changes.
Optional settings (must also repeat steps 1-6 when WordPress is updated)
--I prefer to use more of the page on the comments and not the narrow space provided by 2010 theme so I made the following alterations:
  1. Click on the Appearance control panel, then click on the "Editor" sub-menu. (In 3.1 go to the dashboard of any site and click on "Site Admin" (in 3.2.1 select "Network Admin"!) in upper right-hand corner.  Then drop-down the "Themes" menu on the left side and select, "Editor".)
  2. I'm using the Twenty Ten theme--make sure it says the name of the theme you are editing where it says, "select theme to edit".
  3. Under the Templates list on the right hand side, select "Stylesheet" (style.css) near the bottom.
  4. Use Firefox's page search function and search for the following: "=Structure".
  5. In that section, change, "940" to "1140" as this will make the comment column wider. 
  6. Press, "Update File".  You'll see that your discussions are wider, now. 
 --(And these steps must also be repeated when the Knowledge Building plugin is updated) I prefer to use the word, "Question/Problem" in place of the word, "Problem" in the knowledge type set.  Also, I haven't found the sentence starters for each knowledge type to be useful, on the contrary, they are almost invariably deleted, so I also get rid of most of them:
  1. Go to the proper dashboard, select "Appearance", then, "Plugins" then "editor" (In Wordpress 3.1 go to "Plugins" then "Editor").
  2. Where it says, "Select plugin to edit:" select, "Knowledge Building" and press the "Select" button.
  3. Click on the Plugin File: "knowledge-building/kbsets/progressive_inquiry.xml" in its name. 
  4. Do a Firefox search for: "Name="Problem"" (Don't include the 'outside' quotation marks here).
  5. Then simple change "Problem" with "Problem-Question".
  6. I also searched for the different sentence starters for each knowledge type, deleted the words and pasted in: "Name..." as a reminder for students to put the name/names of the authors of the post at the start of the post.
  7. I also changed the for each knowledge type.
  8. I posted my version of the file with the changes in wording.

    No comments:

    Post a Comment