Title: ICanHazCode's Replies | WordPress.org

---

# ICanHazCode

  [  ](https://wordpress.org/support/users/icanhazcode/)

 *   [Profile](https://wordpress.org/support/users/icanhazcode/)
 *   [Topics Started](https://wordpress.org/support/users/icanhazcode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/icanhazcode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/icanhazcode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/icanhazcode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/icanhazcode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/icanhazcode/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Adminimize] How to hide but not disable?](https://wordpress.org/support/topic/how-to-hide-but-not-disable/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years ago](https://wordpress.org/support/topic/how-to-hide-but-not-disable/#post-3773356)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Adminimize] How to hide but not disable?](https://wordpress.org/support/topic/how-to-hide-but-not-disable/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years ago](https://wordpress.org/support/topic/how-to-hide-but-not-disable/#post-3773346)
 * 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](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Get Comment Author Meta](https://wordpress.org/support/topic/get-comment-author-meta/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/get-comment-author-meta/#post-2981472)
 * Can you put that together please?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Intentionally want to treat images as ads](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/#post-2648264)
 * Using doubleclick.net achieved this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Privatizing uploaded files](https://wordpress.org/support/topic/privatizing-uploaded-files/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/privatizing-uploaded-files/#post-2869405)
 * Achieved this using Amazon S3 storage.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Omni Secure Files] [Plugin: Omni Secure Files] Is there a way to view files?](https://wordpress.org/support/topic/plugin-omni-secure-files-is-there-a-way-to-view-files/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/plugin-omni-secure-files-is-there-a-way-to-view-files/#post-2885911)
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Resetting Pingback Counter?](https://wordpress.org/support/topic/resetting-pingback-counter/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/resetting-pingback-counter/#post-2882319)
 * 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;
       	}
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] [Plugin: Advanced Access Manager] Update screwed things up](https://wordpress.org/support/topic/plugin-advanced-access-manager-update-screwed-things-up/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-access-manager-update-screwed-things-up/#post-2732328)
 * 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 170
       ```
   
 * This appears in place of some posts. Problem goes away if I deactivate plugin.
 * Will need to get back to you on the error log.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Advanced Access Manager – Access Governance for WordPress] [Plugin: Advanced Access Manager] Update screwed things up](https://wordpress.org/support/topic/plugin-advanced-access-manager-update-screwed-things-up/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-advanced-access-manager-update-screwed-things-up/#post-2732259)
 * 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Intentionally want to treat images as ads](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/#post-2648165)
 * Bump. Anyone?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Intentionally want to treat images as ads](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/)
 *  Thread Starter [ICanHazCode](https://wordpress.org/support/users/icanhazcode/)
 * (@icanhazcode)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/intentionally-want-to-treat-images-as-ads/#post-2648056)
 * Oh, guess I need to display it in code:
 * `<a href="sitelinkedto.com" target="_blank"><img src="image.gif" /></a>`

Viewing 11 replies - 1 through 11 (of 11 total)