Michael Bishop
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: trying to rewrite custom rss feed URLThis works for me
add_action('init', 'my_add_feed'); function my_rewrite_rules( $wp_rewrite ) { $new_rules = array( 'feed/(.+)' => 'index.php?feed='.$wp_rewrite->preg_index(1) ); $wp_rewrite->rules = $new_rules + $wp_rewrite->rules; } function my_add_feed( ) { global $wp_rewrite; add_feed('custom-feed', 'my_create_feed'); add_action('generate_rewrite_rules', 'my_rewrite_rules'); $wp_rewrite->flush_rules(); }where /feed/custom-feed/ would be the “pretty” permalink
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsheh, I thought about the space and underscore, but not the lowercase.
At least it was a good exercise for my upcoming project.
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsAnd I can confirm this is a probably a bug in 3.1, as I used similar code in a 3.0.4 install and it works.
Code I used in a 3.1.1 environment and the 3.0.4 install http://pastebin.com/PAVsgabx
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsI will note I’ve managed to be able to create/add new categories from the actual Campaigns edit/add new screens. Just can’t access them from the menu item.
Forum: Networking WordPress
In reply to: Mapping third-party domainsIf you have an A Record pointing to your IP address, or CNAME to the subdomain of the site on the network you want to use, then yes.
That is, if I’m understanding the question.
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsYes. With a normal site admin on a child site with your code, when I click Product Categories, I get the “Cheatin’ uh?” screen.
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsIgnore me. I see where you are getting that error, when you try to click post tags.
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsSomething must be wonky with the user or theme you are testing with, as I just pasted your code as is in twentyten on a test 3.1.1 install and was able to create a new campaign with a regular site admin on a child site.
Are you sure that user has the admin role for the child site?
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsah, yes, probably is manage_categories.
Darn, I really suspected it was a role/capability issue too. Bug?
Forum: Networking WordPress
In reply to: Theme changes are not visible?Silly question, but you are using multisite, yes? If so, are the themes network activated, or activated for the site in question?
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsI see you set capability_type. I don’t see that in the arguments. I see capability, and the options are manage_terms, edit_terms, delete_terms, or assign_terms.
Strictly guessing here.
Forum: Networking WordPress
In reply to: register_taxonomy() producing error with multisite adminsYou might need to set the capabilities arg, it defaults to none.
Forum: Networking WordPress
In reply to: User Id's missing in 3.1The primary thing site ID’s help in is associating the directory in blogs.dir with the site. Having that info handy is helpful in my opinion.
Forum: Fixing WordPress
In reply to: Some category links work and some give page not found error messageSure, no idea how that got there either, and I did open a bug report on this as that shouldn’t have been the expected behavior.
Forum: Fixing WordPress
In reply to: still cannot see pdf after it's uploaded – only the linkJust a note on those links. The first may not be supported in the latest version of WP, and the second is I believe not supported in the latest version of WP, as the embed media button was removed. So mileage may vary.
There are definitely a lot of changes since that version when upgrading, so you may want to look into what has changed. Definitely be sure to follow proper upgrading proceedures.