MrBrian
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin cets_blog_defaults] Undefined index "reset" line 1402You’ll get lots of those with WP_DEBUG on. It’s just a PHP notice and doesn’t affect anything.
Forum: Plugins
In reply to: Cimy User Extra Fields in Multisite mode (WP 3.0)I’m sorry, I posted the fix earlier incorrectly. It’s not wp_version it’s
$wpmu_version = '3.0';
Forum: Networking WordPress
In reply to: Using subversion to upgrade from WPMU 2.9.2 to WordPress 3.0You should be able to just checkout on top of the install without moving anything. If SVN still gives some error, I would just delete all the SVN data in the directory where you have WPMU installed and then checkout. You can use something like this to delete the svn data (basically just hidden .svn folders):
find /home/yoursite/public_html -name ".svn" -type d -exec rm -rf {} \;
Forum: Plugins
In reply to: Cimy User Extra Fields in Multisite mode (WP 3.0)I just added
$wp_version = '3.0';
to the top of the plugin file. That variable is no longer defined in the latest wordpress and seemed to be what was causing the issues.1. Yeah, that’s how it shows for me.
2. I had this problem. You just need to go to the pages and change the slug manually and also in the settings.Forum: Plugins
In reply to: Filter Custom Fields (Post Meta)I’m surprised this hasn’t been implemented yet fully. There are no filters for get_post_meta or get_meta, and I could really use it right now.
Forum: Plugins
In reply to: [Plugin: WP Super Cache] cached files aren’t servedSame issue. On my WMPU install, the cached files just don’t get served. Inside of wp-content/cache/ there are files being created such as
wp-cache-mydomain.com39ee02ce8db8690f39f1623b98fab502.html
wp-cache-baldnesshair.mydomain.comdf740ae4f70d119e3efda13963608ed4.htmlI’m not sure, but isn’t it supposed to go into the supercache directory? It’s weird, because it creates empty folders inside the supercache folder that mimick the site structure, but the .html files are stored in the root of wp-content/cache with just different md5 hashes in the filename.
The .htaccess auto-updating thing seems a little buggy too, i had to do it manually because it was cutting off half of the code or wiping the .htaccess completely.
I’ve double checked permissions/ownership on all directories and files and made sure i was logged out and cleared my cookies when testing a cached page. I’ve tried with supercache on and off also, still doesn’t served cached pages. I’ve made sure wp-config has the right define value and i even hardcoded the document root into the .htaccess file. All i can figure is either the .htaccess is not pointing to the cached files correctly or the cached files arent being stored in the right spot.
Forum: Your WordPress
In reply to: Newest WP Creation: WebunloadI love it! Listed some of my free templates with a link back to my site.
Forum: Fixing WordPress
In reply to: Error: Category not updated.Same issue…
Forum: Plugins
In reply to: Hack the user’s dashboard optionFrom investigating, i can tell you theres no way at the moment to create a plugin to only show the comments of author posts and not allow them to see other comments, so i made some hacking instructions you can use (and i’m using on https://www.webunload.com). This hack will basically only show comments to a user that has permission to
-
edit the post
that the comment was made on. If you want to remove the IP address information, do it manually.
This modifies a core file, so take note when upgrading.
File to hack: wp-admin/edit-comments.php
First part
Search for this line:
$class .= ('unapproved' == $comment_status) ? ' unapproved' : '';
Put this on the next line:
<?php if ( current_user_can('edit_post', $comment->comment_post_ID) ) { ?>
Find this line:
} // end foreach
Put this on the next line:
}
For the second part..
You actually don’t need to edit another file. Instead of needing to edit template.php, you only need to edit the edit-comments.php further. Find this line:
get_comment( $comment ); // Cache it
And put the following on a new line after it:
if ( current_user_can('edit_post', $comment->comment_post_ID) )
There are two places you will need to put it.
Forum: Fixing WordPress
In reply to: Single category RSS Feed URL outside LoopBlah, forgot code tags:
https://www.yourdomain.com/?feed=rss2&cat=<?php echo get_query_var('cat'); ?>
Forum: Fixing WordPress
In reply to: Single category RSS Feed URL outside LoopOr you could do this:
“>Forum: Fixing WordPress
In reply to: How do I remove THE FIRST <p> from the_content ?Why not just ADD it to the beginning?