Title: tomcat23's Replies | WordPress.org

---

# tomcat23

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[IntenseDebate Comments] How does IntenseDebate interact with WordPress' Discussion Settings?](https://wordpress.org/support/topic/how-does-intensedebate-interact-with-wordpress-discussion-settings/)
 *  Thread Starter [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/how-does-intensedebate-interact-with-wordpress-discussion-settings/#post-2073960)
 * A followup to clarify. In the WordPress settings>discussion page, they had
 * “Before a comment appears – (unchecked) – An administrator must always approve
   the comment”
    “Before a comment appears – (checked) – Comment author must have
   a previously approved comment”
 * and I changed it to:
    “Before a comment appears – (checked) – An administrator
   must always approve the comment” “Before a comment appears – (unchecked) – Comment
   author must have a previously approved comment”
 * In hopes that these comments would now sync properly. They do not want people
   having to register and login to their site to make a comment — and in googling
   an answer I’m seeing some people complain that the setting “Users must be registered
   and logged in to comment” causes a user to have to log in to a site twice to 
   comment? (Once for the site, once for ID.)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Hikari Krumo] [Plugin: Hikari Krumo] Hangin up state](https://wordpress.org/support/topic/plugin-hikari-krumo-hangin-up-state/)
 *  [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-hikari-krumo-hangin-up-state/#post-1743207)
 * I still ran into this error 4 months later…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Bind user to category] Half works on 3.2 beta](https://wordpress.org/support/topic/plugin-bind-user-to-category-half-works-on-32-beta/)
 *  [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-bind-user-to-category-half-works-on-32-beta/#post-1494050)
 * I was looking for a similar solution to this plugin. I had researched making 
   my own, but found that editing the admin page to remove, replace or modify the
   category display in the post edit window is harder than it seems. (No filters
   or hooks in the code.)
 * In 3.0, one can use the get_terms filter to modify the categories of a post. (
   Described here: [http://soulsizzle.com/wordpress/filtering-wordpress-categories-using-an-undocumented-hook](http://soulsizzle.com/wordpress/filtering-wordpress-categories-using-an-undocumented-hook))
 * I’ve found [this advice](http://www.technokinetics.com/bind-user-to-category-wp-28/),
   which really only moves the menu item for the plugin to the USERS menu.
 * This plugin sets it so that each user can be constrained to a specific category.
   I’d like to make it so that each user will have their posts assigned to a specific
   category in addition to whatever they set their category to. Nothing in this 
   plugin (or the code in the forums) will hide the category box in the edit page
   under 3.0
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Contact Form 7] Feature Request – add onclick action](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/)
 *  [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/#post-1093678)
 * I’m trying it below line 75 in the 2.0.7 version…
 * Oh,it works. basically, me slug of code just adds to the html before it gets 
   all rendered properly. Pretty simple. Just add my if statement before the line
   that reads
    `$html = '<input type="text" name="' . $name . '" value="' . esc_attr(
   $value ) . '"' . $atts . ' />';`
 * Oh, and thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Contact Form 7] Feature Request – add onclick action](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/)
 *  [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/#post-1093648)
 * I believe the same line I just posted could be added to line 70 of modules/text.
   php in the new 2.0 version, but I’m not sure about the block of code above it.
   So I’d suggest using
 *     ```
       if ( $value != '' ) {
       	$atts .= ' onfocus="if (this.value == \'' . esc_attr( $value ) . '\') {this.value = \'\';}" onblur="if (this.value == \'\') {this.value = \'' . esc_attr( $value ) . '\';}"';
       }
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: Contact Form 7] Feature Request – add onclick action](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/)
 *  [tomcat23](https://wordpress.org/support/users/tomcat23/)
 * (@tomcat23)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-feature-request-add-onclick-action/#post-1093647)
 * I am going to try adding this into line 216 of includes/classes.php (version 
   1.10.1)
 *     ```
       $atts .= ' onfocus="if (this.value == \'' . esc_attr( $value ) . '\') {this.value = \'\';}" onblur="if (this.value == \'\') {this.value = \'' . esc_attr( $value ) . '\';}"';
       ```
   
 * This is tested and working.
    Cheers!

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