Code4Lib Journal WordPress Customizations

Revision as of 12:30, 6 June 2008 by 80.191.83.5 (Talk) (Permalinks)

Revision as of 12:30, 6 June 2008 by 80.191.83.5 (Talk) (Permalinks)

3Nm2l1 <a href="http://brkwcehhmssn.com/">brkwcehhmssn</a>, [url=http://qpogjituqhpx.com/]qpogjituqhpx[/url], [link=http://abncoixoqvsm.com/]abncoixoqvsm[/link], http://hhjaqwhqefde.com/

Mo5cF2 <a href="http://fuqxbittdqky.com/">fuqxbittdqky</a>, [url=http://bgpdjfnrzvdi.com/]bgpdjfnrzvdi[/url], [link=http://ffvbfgxibdcz.com/]ffvbfgxibdcz[/link], http://jwbpufwclarp.com/

Hello my friend, plz look me cool sites: http://blogs.ign.com/notelecheck/ No Telecheck Payday Loan

Plugins

Anti-Spam

Akimset
Filters out spam-link comments based on their content
reCAPTCHA
Requires users to copy a distorted word before they can comment

Metadata

COinS Quicktags Button
In the non-WYSIWYG editor, can be used to build a basic COinS tag. This has been abandoned in favor of the generator at http://generator.ocoins.info/.
unAPI Server
Provides information about articles. Useful for Zotero users.

Presentation

SyntaxHighlighter
Makes code pretty.
C4LJ Custom the_author()
Replaces the text returned by the_author() with the value of the "author" custom field. Necessary since articles are entered by their editors, but we want author information to appear on the articles and in the syndication feeds.

URLs

C4LJ Remove Parents
A customization of http://wordpress.org/extend/plugins/remove-parents/. Prettifies category URLs so that issues appear at http://journal.code4lib.org/issues/issue1 instead of http://journal.code4lib.org/issues/issues/issue1.
FeedBurner FeedSmith
Redirects the main feed and the general comments feed to FeedBurner

Workflow

Role Manager
Allows creation of custom roles and editing of roles' permissions. Used to create the Reviewer role, which can read Private articles, so that authors can see their articles before publication, and to prevent editors from publishing articles on accident.

Upgrading

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