Difference between revisions of "User:Ilya/OpenWetWare/Blogging"

From OpenWetWare
Jump to: navigation, search
([http://codex.wordpress.org/WordPress_MU WordPress MU])
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
*[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]
*[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 43: Line 46:
*[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 117: 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
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===
===Front page===

Latest revision as of 18:31, 17 March 2008


Biology blogs

Eye On DNA



WordPress MU

Plugins, Widgets, SVN Repository



  • 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


  • 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'); ?>">



  • 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


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