Code4Lib Journal WordPress Customizations

Revision as of 00:54, 2 August 2009 by 60.208.64.177 (Talk) (Plugins)

Revision as of 00:54, 2 August 2009 by 60.208.64.177 (Talk) (Plugins)

x9AhUb <a href="http://pkkxgxdjftmn.com/">pkkxgxdjftmn</a>, [url=http://cmbhpwxlksxh.com/]cmbhpwxlksxh[/url], [link=http://srsvnfvgiqvn.com/]srsvnfvgiqvn[/link], http://etvyayqliutx.com/

Upgrading

These fixes were necessary for WP < 2.5, but should not be needed any longer.

Save the <div>s

Edit wp-includes/js/tinymce/tiny_mce_config.php, around line 25.

$valid_elements = '-strong/-b[*],-em/-i[*],-font[*],-ul[*],-ol[*],-li[*],*[*]';

"Submit for Review"

Edit wp-admin/includes/post.php. After line 71 (in version 2.3.3) add:

// START FIX
if ('publish' == $_POST['post_status'] && !current_user_can( 'publish_posts' )) {
	$post =& get_post( $post_ID );
	if ('publish' != $post->post_status)
		$_POST['post_status'] = 'pending';
}
// END FIX

Issue Manager Plugin

To Publish an Issue

  1. Assign timestamps to the articles in the order you want them to appear on the page (newest timestamps go at the top of the page)
  2. Go to the Issue Manager page in the "Manage" tab.
  3. Click "Publish" next to the category for the issue you want to publish.
  4. All "Pending Review" articles with the given category (that don't also have an "unpublished" category) will be published, with the timestamps updated to about now, retaining the order established earlier.

To Prevent Early Publication of Articles

  1. Go to the Issue Manager page in the "Manage" tab.
  2. Click "Unpublish" next to the category for the issue you want to keep unpublished.
  3. Any published articles with that category will revert to "Pending Review" status. Any new articles you attempt to publish will instead be set to "Pending Review".