Followed my own instructions to upgrade the blog code to B2Evo 1.9.3.
We're now down to 0 for the second value -- we've gone 50, 40, 30, 0.
It would be really nice if the blog name could be displayed for the posts in the All Blogs view. It is confusing the way it is now; the titles are like "Notes from meeting", but there is no way to tell what blog or project it is referring to.
We often need a simple grid table for use in posts, and the post handling code won't allow the use of inline styles or stylesheets in the post. I added a new class, hcmcGridTable
, to the custom.css
stylesheet which can be set on the table to give it borders and vertical-align text to the top.
This is a preparatory analysis of the changes for this version, and the accompanying action we need to take.
File | Differences | Recommended action |
---|---|---|
\conf\_application.php | The only significant change is in the version number. | We have two customizations in this file. Recommend that we keep our file, and just change the version number in it. |
\plugins\ basic_antispam.plugin\ _basic_antispam_plugin.php | Addition of one line, "return true", plus version number changes. | Adopt the new version. |
inc\VIEW\ collections\ _blogs_list.php | One change plus version number update. We have no customizations in this file, so we should just take the new one. | Adopt the new file. |
inc\MODEL\items\ _item.class.php | Most differences involve our own customizations, but there are some minor changes. | We should integrate the new changes into our existing file; that is less onerous than the reverse. |
inc\MODEL\items\ _itemquery.class.php | Only two changes: version info, and a one-line addition. We have no customizations in this file. | Adopt the new file. |
\skins\wpc_default\ _linkblog.php | One small fix and one extra carriage return. | Adopt the new file. |
\skins\wpc_default\ _main.php | Three minor changes, and no customizations. | Adopt the new file. |
\inc\_misc\ _plugin.class.php | One change plus version info update. No customizations. | Adopt the new file. |
\inc\_misc\ _plugins.class.php | Numerous small updates but no customizations. | Adopt the new file. |
\inc\MODEL\users\ _user.class.php | Version info plus one small change; no customizations. | Adopt the new file. |
\inc\VIEW\users\ _users_form.php | Version info plus one small change; no customizations. | Adopt the new file. |
\inc\CONTROL\users\ b2users.php | Version info plus one small change; no customizations. | Adopt the new file. |
\inc\CONTROL\collections\ blogs.php | Version info plus one small change; no customizations. | Adopt the new file. |
\rsc\js\bozo_validator.js | One change, no customizations. | Adopt the new file. |
\doc\changes.html | Documentation of changes. | Adopt the new file. |
\blogs\charts.txt | Doesn't exist in the original, and is a 0KB file. | Ignore. |
\rsc\js\styleswitcher.js | Multiple changes but no customizations. | Adopt the new file. |
xmlsrv\xmlrpc.php | Two changes plus version info, no customization. | Adopt the new file. |
The new 1.9.3 upgrade zip is waiting on your desktop. A cursory look suggests that there may not be any files in it in which we've made changes, but each one will have to be checked manually for customizations in our install tree, before we overwrite them.
Got some spam comments over the weekend, so we tweaked the deletion factor, reducing it from 50 to 40. If that doesn't work, we'll bring it down another 10 points until it does.
There's been a long-standing request for a trap to prevent people creating posts with no title (because this makes RSS feeds look odd, among other things).
Implemented this by adding the trap to this file:
blogs/rsc/js/hcmc_functions.js
This file now traps for two things: whether a value has been inserted for Minutes worked (when creating a post in the Activity log category), and whether the title (trimmed for leading and trailing whitespace) has a length of more than one character.