show un-approved comments at wordpress front end

I’ve almost finished coding up a function that allows contributers when they are the post author to manage comments left on their own post (portfolio) couldnt find a plugin to do it so had to get myself dirty. It will basically work like this: 1) User leaves a comment on post_authors portfolio. 2) Post_author is notified by email that they have a comment for moderation (this bit is handled by a plugin « notify-on-comments »). 3) Post_author logs in and goes to his/her portfolio page and in the comments are two links…

how to create child WordPress plugin

I like to create child plugin.. Explanation :- I have one parent plugin named X. This will work independently (like other existing plugins). Now I decided to add some extra features to that plugin X (think of it as an upgrade). So I want to create extra features by way of another plugin Y, which will depend on (and inherit from) X. This plugin Y will not work with out plugin X. How can I do this? Source: https://wordpress.stackexchange.com/feeds

prevent users from changing their email address

does anybody know how to hook or filter the user-edit.php file so that an user’s email address is disabled from editing akin to how the username is disabled ..??.. i can edit the core file (gasp) and include disabled= »disabled » in the form and this works but i’m at a loss as to how to add the disable via hook or filter .. i can also run a function like this that hides the email address via css /* Change WordPress dashboard CSS */ function custom_admin_styles() { echo ‘<style type= »text/css »>#email {…

Is there a way to prevent the Editor from modifying my HTML

Is there a way to prevent the Visual Editor from modifying my HTML when creating a post or a page? I know it has good intentions in doing what it does, but sometimes I’d prefer it not to touch my HTML, yet render the HTML in visual mode. Thank you! Sample of code used in editor: <td width= »124″ align= »left » valign= »top »> <p style= »line-height: 140%; font-size: 10px; color: #333; font-family: Arial; margin: 0; padding: 0 0 12px 0; »> <strong>Team Demo of the New Shake Table</strong> </p> <p> <strong>May 17, 4-6pm</strong> </p> <p…