User:Ilya/OpenWetWare/Blogging

From OpenWetWare

< User:Ilya | OpenWetWare
Revision as of 17:26, 20 December 2007 by Ilya (Talk | contribs)
Jump to: navigation, search

Contents

Miscellaneous

Wordpress

Antispam

WordPress MU

Plugins, Widgets, SVN Repository

Logins

  • Login and signup links
  • Support - tags - signup
    • disable signup - search result from mu.wordpress.org
    • disable "create a new blog" - has a plug-in that disables signups without modifying core files
    • 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
    • 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
    Wordpress' important user functions and such are in the wp-includes/pluggable.php file and have been designed to be overridable; a plugin could replace those functions and implement its own user login and authentication scheme.
    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
    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
    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.
  • WPMU captcha registration
  • Sign up Splogs Stopper Plugin request
  • Signup Anti Spam plugin blocks the user from sign-up if his IP address blacklisted in spamhaus.org
  • OpenID

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

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