How to give “author” user role appropriate capabilities to add PollDaddy polls? WordPress multisite

Open the file “polldaddy.php” and look near the first few dozen lines for this: $this->is_admin = (bool) current_user_can( ‘manage_options’ ); Change that to $this->is_admin = (bool) current_user_can( ‘edit_posts’ ); That would in theory grant authors and above the same access as an admin – you have to test yourself to be sure. See the admin_menu() … Read more

Subsite theme mystery man replacement with Buddypress on main site [closed]

The following code needs to placed in the functions.php file of any theme that has a replacement mystery man avatar. Adding it to bp-custom.php will not work in this instance. <?php // Use a differnt image than default mystery man function bp_custom_set_avatar_constants() { define( ‘BP_AVATAR_DEFAULT’, get_stylesheet_directory_uri() . ‘/images/mystery-man.jpg’ ); define( ‘BP_AVATAR_DEFAULT_THUMB’, get_stylesheet_directory_uri() . ‘/images/mystery-man-50.jpg’ ); … Read more

making a few sites in wordpress

You can use WP Network to manage multiple websites through a single WP installation. But, It is not always recommended unless your scenario closely fits with its concept. If each of your website is exclusive to each other (each site require different set of plugins and theme) and you have just started to use WordPress, … Read more

Get image paths from RSS feeds

Images are in the feed, if the feed is a fullfeed, not a excerpt. Check the xml snytax in atom format for <content:encoded> or in RSS2 for <description>. In this tags you can find the images of the content.

Custom PHP-coding in MU installs

With the Apache web server, one would create a rule in the .htaccess file. I believe the equivalent in IIS7 is the web.config file. This page appears to point in the right direction. I would be more specific about where to place the file or how to construct the rule, but I have no experience … Read more

Generate aggregated feed from member blogs

Here’s one option we use for a high volume global RSS feed. It’s worked out really well for us and has lower load times than trying to do some runtime combination. http://premium.wpmudev.org/project/post-indexer/ http://premium.wpmudev.org/project/recent-global-posts-feed/