User:Ilya/OpenWetWare/Blogging

From OpenWetWare

< User:Ilya | OpenWetWare(Difference between revisions)
Jump to: navigation, search
(Themes)
Current revision (22:31, 17 March 2008) (view source)
(Miscellaneous)
 
(36 intermediate revisions not shown.)
Line 1: Line 1:
-
*[[Blogs]] [[Talk:Blogs|discussion]] on OWW
+
==Miscellaneous==
 +
*[http://blog.openwetware.org/wp-admin OWW blogs admin interface]
 +
*[[OpenWetWare:Blogs|Blogs]] [[OpenWetWare_talk:Blogs|discussion]] on OpenWetWare
*[http://blogsavvy.net/multi-user-blog-tools-overall-ratings-and-reviews Multi user blog tools] - overall ratings and reviews
*[http://blogsavvy.net/multi-user-blog-tools-overall-ratings-and-reviews Multi user blog tools] - overall ratings and reviews
*[https://wikis.mit.edu/confluence/display/WBE/Background+on+Movable+Type Movable Type is used by MIT]
*[https://wikis.mit.edu/confluence/display/WBE/Background+on+Movable+Type Movable Type is used by MIT]
 +
*[http://www.blogherald.com/2007/10/02/writing-a-blog-disclaimer/ Writing a Blog Disclaimer]
 +
 +
===Biology blogs===
 +
[http://www.eyeondna.com/ Eye On DNA]
==[http://codex.wordpress.org/Main_Page Wordpress]==
==[http://codex.wordpress.org/Main_Page Wordpress]==
Line 16: Line 22:
===Antispam===
===Antispam===
-
*[http://www.homelandstupidity.us/software/bad-behavior/ Bad behavior]: kills 99% of all spam on contact
+
*[http://www.mustech.net/2007/03/wordpress-comment-plugins-building-a-fortress-to-defend-against-spam/  Wordpress Comment Plugins: Building A Fortress To Defend Against Spam!]
-
*[http://unknowngenius.com/blog/wordpress/spam-karma/ Spam Karma]: kills the other 1%
+
**Bad Behavior: Your First Line of Defense (The Moat)
 +
**Peter’s Custom Anti-Spam: The 2nd Line of Defense (The Gate and Outer Wall)
 +
**AKISMET: The Final Defense (The Keep)
 +
*From a [http://books.slashdot.org/comments.pl?sid=232195&threshold=1&commentsort=0&mode=thread&cid=18882637 Slashdot comment]:
 +
**[http://www.bad-behavior.ioerror.us/ Bad behavior]: kills 99% of all spam on contact
 +
***[http://www.homelandstupidity.us/software/bad-behavior/installing-and-using-bad-behavior/on-wordpress/ Installing and Using Bad Behavior on WordPress]
 +
**[http://unknowngenius.com/blog/wordpress/spam-karma/ Spam Karma]: kills the other 1% ([http://unknowngenius.com/blog/wordpress/spam-karma/false-positives/ false positives])
===[http://codex.wordpress.org/WordPress_MU WordPress MU]===
===[http://codex.wordpress.org/WordPress_MU WordPress MU]===
*[http://mu.wordpress.org/ Homepage]
*[http://mu.wordpress.org/ Homepage]
-
*[http://trac.mu.wordpress.org/ WordPress MultiUser Trac]
+
*[http://trac.mu.wordpress.org/ WordPress MultiUser Trac] - home for the bug database and the SVN for the WordPress MultiUser project, a collection of assistance files and FAQs for your WPMu install
-
*[http://trac.mu.wordpress.org/wiki/UpgradingWpmu Upgrading recent versions]
+
*[http://codex.wordpress.org/Upgrading_WPMU Upgrading WPMU]
-
*Shares [http://mu.wordpress.org/about/ 99% of codebase] with Wordpress
+
**version 1.3: all the functions previously found in <tt>wp-content/mu-plugins/</tt> have been moved into <tt>wp-includes/wpmu-functions.php</tt>
*[http://trac.mu.wordpress.org/browser/trunk/README.txt README.txt]
*[http://trac.mu.wordpress.org/browser/trunk/README.txt README.txt]
*[http://mu.wordpress.org/forums/ Forums]
*[http://mu.wordpress.org/forums/ Forums]
Line 30: Line 42:
*[http://mu.bloggles.info/ WP MU plugins]
*[http://mu.bloggles.info/ WP MU plugins]
*[http://www.learningwordpress.com/component/option,com_mtree/task,listcats/cat_id,135/Itemid,26/ WordPress MU Plugins]
*[http://www.learningwordpress.com/component/option,com_mtree/task,listcats/cat_id,135/Itemid,26/ WordPress MU Plugins]
 +
*[http://mywordpress.ru/ WordPress Russia]
====Logins====
====Logins====
*[http://blog.openwetware.org/wp-login.php Login] and [http://blog.openwetware.org/wp-signup.php signup] links
*[http://blog.openwetware.org/wp-login.php Login] and [http://blog.openwetware.org/wp-signup.php signup] links
-
*[http://wordpress.org/tags/signup Support - tags - signup]
+
*[[User:Ilya/OpenWetWare/Blogging/Signup restrictions|Signup restrictions]] - this functionality is built-in starting from version 1.3
-
**[http://www.google.com/search?q=disable+signup&sitesearch=mu.wordpress.org disable signup] - search result from mu.wordpress.org
+
**set Allow new registrations to Disabled in Site Admin -> Options
-
**[http://mu.wordpress.org/forums/topic.php?id=2361&page disable "create a new blog"] - has a plug-in that disables signups without modifying core files
+
**in <tt>wp-signup.php</tt>: replace or comment out the line <code><nowiki>_e( "Registration has been disabled." );</nowiki></code> with the line <code><nowiki>_e( "<strong>If you would like to get a blog and you are already a user of the <a href='http://openwetware.org/wiki/Main_Page'>OpenWetWare wiki</a>, please send email to admin at openwetware org.</strong>" );</nowiki></code>
-
**[http://mu.wordpress.org/forums/topic.php?id=4937&page Disallow registration] (only the admins can create blogs for the users)
+
-
***search for "disable signup" turns up much relevance
+
-
***delete or rename the wp-signup.php file or put in a die(); right at the beginning. The only other way new blogs would then be created is via the form at the bottom of the Dashboard -> Site Admin -> Blogs page
+
-
**[http://mu.wordpress.org/forums/topic.php?id=2452&page Moderating Blog Signups]
+
-
*:You can use the 'wpmu_activate_blog' action to deactivate a newly created blog. Look at line 1131 of wpmu-functions.php. I'd set the deleted field in wp_blogs for the new blog to '1', filter the welcome message using the 'update_welcome_email', and/or edit it through the site admin options page to inform the user that they're blog must be moderated. You'll have to build a page to moderate new signups too, but that shouldn't be too hard. It should of course send a welcome email to the new blog owner
+
-
**[http://mu.wordpress.org/forums/topic.php?id=4064&page Restricting registration] - by IP and by monitoring the site-wide feed
+
-
**[http://wordpress.org/support/topic/83562 Adding WP to an existing site]
+
-
*:Wordpress' important user functions and such are in the <tt>wp-includes/pluggable.php</tt> file and have been designed to be overridable; a plugin could replace those functions and implement its own user login and authentication scheme.
+
-
**[http://mu.wordpress.org/forums/topic.php?id=5184&page Non-Public Sign-up]
+
-
*:Best bet would be to use the Limit the email registrations feature at Dashboard -> Site Admin -> options and set it to only your companies email domain; remove the all of the links to the signup page as well even getting rid of the signup file
+
-
**[http://mu.wordpress.org/forums/topic.php?id=5370&page MU for multisite install]
+
-
*:put a redirect in the top of wp-signup that redirects them to a "custom" form on your site that mimics the signup process; then, create a blog in the back end (or add a user) if you want to "approve" it
+
-
**[http://mu.wordpress.org/forums/topic.php?id=2550&page Limited Email Registrations]
+
-
*:From site admin panel we can restrict registration to the users who have emails in certain domains. Use regexp in wpmu-functions.php to provide wildcard.
+
*[http://mu.bloggles.info/2007/02/10/updated-wpmu-captcha-registration/ WPMU captcha registration]
*[http://mu.bloggles.info/2007/02/10/updated-wpmu-captcha-registration/ WPMU captcha registration]
*[http://mu.wordpress.org/forums/topic.php?id=4646&page Sign up Splogs Stopper Plugin request]
*[http://mu.wordpress.org/forums/topic.php?id=4646&page Sign up Splogs Stopper Plugin request]
Line 80: Line 79:
**<tt>#header_title2</tt>: increase the font size to 20px, add ITC Franklin Gothic Book to the font list and remove <tt>text-transform: uppercase</tt>
**<tt>#header_title2</tt>: increase the font size to 20px, add ITC Franklin Gothic Book to the font list and remove <tt>text-transform: uppercase</tt>
**darker links (<tt>a{color:#3178FF; ...}</tt>) and text (<tt>#bg{color:#333333; ...}</tt>)
**darker links (<tt>a{color:#3178FF; ...}</tt>) and text (<tt>#bg{color:#333333; ...}</tt>)
-
*<tt>footer.php</tt>:
+
**darker comments: <tt>.comment{color:#555555; ...}</tt>
-
**replace copyright notice and year with [http://creativecommons.org/licenses/by/2.5/ Creative Common Attribution License]
+
**darker quote sections inside posts: <tt>blockquote p{color:#555555; ...}</tt>
 +
*add the following to <tt>footer.php</tt>:
 +
:<tt><nowiki><a href="http://openwetware.org/wiki/Copyright">Creative Commons BY-SA or GNU FDL</a> - <a href="http://openwetware.org/wiki/OpenWetWare:General_disclaimer">Disclaimer</a></nowiki></tt>
 +
*<tt>searchform.php</tt>:
 +
**to enable the [http://trac.mu.wordpress.org/ticket/101 blogsearch] to search each individual blog instead of the main blog, replace the 1st line as follows:
 +
**:<tt><form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>"></tt>
 +
**:<tt><form method="get" id="searchform" action="<?php bloginfo('home'); ?>"></tt>
==Wikia==
==Wikia==
-
[http://inside.wikia.com/wiki/Wiki_to_blog Wiki to blog] extension
+
*[http://inside.wikia.com/wiki/Wiki_to_blog Wiki to blog] extension
 +
*[http://inside.wikia.com/wiki/MediaWiki:Blog_snippet MediaWiki:Blog_snippet] - wiki snippets are exported to a blog
==Notes==
==Notes==
-
*science blog feeds (from Jason):
+
*science blog feeds (via Jason):
:looks like this: http://feeds.feedburner.com/scienceblogs/pharyngula
:looks like this: http://feeds.feedburner.com/scienceblogs/pharyngula
:we might consider setting ours up like that as well.  e.g. http://feeds.feedburner.com/openwetware/shareyourscience would be the name of mine.
:we might consider setting ours up like that as well.  e.g. http://feeds.feedburner.com/openwetware/shareyourscience would be the name of mine.
Line 100: Line 106:
:Warning: reset() [function.reset]: Passed variable is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 30
:Warning: reset() [function.reset]: Passed variable is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 30
:Warning: Variable passed to each() is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 31
:Warning: Variable passed to each() is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 31
-
*Edit wp-content/themes/home/home.php to customize the home page
+
 
 +
===Architecture===
 +
The / (root) blog is currently unused and serves a placeholder that redirects requests to the dewikified [http://blogs.openwetware.org/ version] of the [[Blogs]] page on the OpenWetWare wiki.
 +
 
 +
===Front page===
 +
*a single front page that lists all the blogs in an easy to read manner; an RSS feed with the latest posts from any of the blogs, etc. (via Jason)
 +
*To customize the front page, edit home.php in the theme folder (e.g., wp-content/themes/home/home.php)
 +
*Since WordPress 2.1, there’s an option in the Reading options panel that lets you select a static page as the front page (wpmu => admin menu => options => reading)
 +
*[http://codex.wordpress.org/Creating_a_Static_Front_Page Creating a Static Front Page] ([http://mu.wordpress.org/forums/topic.php?id=3053&page reported to be working with MU])
 +
**[http://turbochargedcms.com/2006/11/building-a-true-home-page-into-your-wordpress-blog/ Building a true home page into your wordpress blog] - currently using this solution (it only requires adding home.php file to the current theme; however, this doesn't work if internal redirection is enabled in WPMU config - see above)
 +
**[http://turbochargedcms.com/2007/01/creating-a-dynamic-home-page-in-wordpress/ Creating a dynamic home page in wordpress]
 +
**[http://www.nyceducated.info/blog/internet/the-real-ultimate-static-front-page/ The real ultimate static front page]
 +
*[http://mu.wordpress.org/forums/topic.php?id=5815&page Blog of the day]
 +
 
 +
===Renaming blogs===
 +
*Site Admin -> Blogs -> Edit blog
 +
*make sure that all necessary options are updated (some may be repeated twice on the page): Path, Siteurl, Home, Fileupload Url

Current revision

Contents

Miscellaneous

Biology blogs

Eye On DNA

Wordpress

Antispam

WordPress MU

Plugins, Widgets, SVN Repository

Logins

Avatars

  • New feature on Wordpress.com: avatars available since 2006
  • WPMU Avatar widget users will be able to navigate to their Profile page and upload their own photo. The photo will appear next to their comments across your WPMU site, and, if they use my Author Profile Enhanced widget, in their sidebar next to their “About Me” text (demo)
    • based on Profile Pics plugin
    • The "can't upload" issue:
      • Subdirectory fix, subdomain fix (don't work?)
      • Upload form fix (for IE7 only?) open up wp-admin/profiles.php, find the form line about 15 lines down and change it to this: <form name="profile" id="your-profile" action="profile-update.php" method="post" enctype="multipart/form-data">
  • Post Avatar allows choosing from a predetermined set of images
  • Gravatar allows you to generate a gravatar URL complete with rating, size, default, and border options; it also shows LiveJournal userpics in comments
  • Localized comment avatar allows readers to specify a name, e-mail address and/or URL that they will always use when commenting, and to upload and assign an image to this combination of specified values
  • Sexy Comments plugin has avatar support

Themes

  • Theme Development
  • techdesigns.co.uk 005 v10
  • style.css:
    • #topimg: change header picture (header_dkblue.jpg)
    • #header_title: increase the font size to 30px, add ITC Franklin Gothic Book to the font list, change change padding-top from 155px to 70px and remove text-transform: uppercase
    • #header_title2: increase the font size to 20px, add ITC Franklin Gothic Book to the font list and remove text-transform: uppercase
    • darker links (a{color:#3178FF; ...}) and text (#bg{color:#333333; ...})
    • darker comments: .comment{color:#555555; ...}
    • darker quote sections inside posts: blockquote p{color:#555555; ...}
  • add the following to footer.php:
<a href="http://openwetware.org/wiki/Copyright">Creative Commons BY-SA or GNU FDL</a> - <a href="http://openwetware.org/wiki/OpenWetWare:General_disclaimer">Disclaimer</a>
  • searchform.php:
    • to enable the blogsearch to search each individual blog instead of the main blog, replace the 1st line as follows:
      <form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
      <form method="get" id="searchform" action="<?php bloginfo('home'); ?>">

Wikia

Notes

  • science blog feeds (via Jason):
looks like this: http://feeds.feedburner.com/scienceblogs/pharyngula
we might consider setting ours up like that as well. e.g. http://feeds.feedburner.com/openwetware/shareyourscience would be the name of mine.
EasyPG is a Wordpress plugin adding shortcuts to create correct markup for Postgenomic parsing
  • Message during installation:
Warning: reset() [function.reset]: Passed variable is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 30
Warning: Variable passed to each() is not an array or object in /data/web/root/wordpressmu-1.2.3/wp-content/mu-plugins/pluggable.php on line 31

Architecture

The / (root) blog is currently unused and serves a placeholder that redirects requests to the dewikified version of the Blogs page on the OpenWetWare wiki.

Front page

Renaming blogs

  • Site Admin -> Blogs -> Edit blog
  • make sure that all necessary options are updated (some may be repeated twice on the page): Path, Siteurl, Home, Fileupload Url
Personal tools