ICanHazCode
Forum Replies Created
-
Forum: Plugins
In reply to: [Adminimize] How to hide but not disable?Right, so I’m trying to figure out a way to hide certain backend widgets for some roles without disabling the widgets’ functionality.
Forum: Plugins
In reply to: [Adminimize] How to hide but not disable?I assumed that as well, but it doesn’t seem to be the case. WP to Twitter settings are correct, and it didn’t stop autotweeting all authors until i installed Adminimize and blocked restricted the WP to Twitter box in New Post.
Forum: Hacks
In reply to: Get Comment Author MetaCan you put that together please?
Forum: Fixing WordPress
In reply to: Intentionally want to treat images as adsUsing doubleclick.net achieved this.
Forum: Fixing WordPress
In reply to: Privatizing uploaded filesAchieved this using Amazon S3 storage.
Forum: Plugins
In reply to: [Omni Secure Files] [Plugin: Omni Secure Files] Is there a way to view files?The plugin looks interesting, but I don’t see how it keeps files private? Perhaps I am missing something.
The most important part of this plugin is that only members can view the content.
Forum: Fixing WordPress
In reply to: Resetting Pingback Counter?Resetting the ping and comment count was resolved by placing the following code in functions.php:
add_filter('get_comments_number', 'comment_count', 0); function comment_count( $count ) { //Ugly Patch if ( ! is_admin() ) { global $id; $comments_by_type = &separate_comments(get_comments('status=approve&post_id=' . $id)); $comments_by_count = count($comments_by_type['comment']); $pings_by_count = count($comments_by_type['pings']); $sum_total = $comments_by_count + $pings_by_count; return $sum_total; } else { return $count; } }The two big errors are that the AAM settings page is blank in the dashboard, and in IE there are errors on my homepage due to:
Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '1' was given in /home6/mysite/public_html/wp-includes/plugin.php on line 170This appears in place of some posts. Problem goes away if I deactivate plugin.
Will need to get back to you on the error log.
User roles no long spitting errors, plugin conflicts with “Edit Flow,” deactivating that fixed it.
Other errors still there, currently have AAM deactivated.
Forum: Fixing WordPress
In reply to: Intentionally want to treat images as adsBump. Anyone?
Forum: Fixing WordPress
In reply to: Intentionally want to treat images as adsOh, guess I need to display it in code:
<a href="sitelinkedto.com" target="_blank"><img src="image.gif" /></a>