Reputation
575
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
2 12 36
Impact
~120k people reached

  • 0 posts edited
  • 0 helpful flags
  • 6 votes cast
Apr
30
asked How to check user role?
Apr
26
asked Custom Fields Value As Taxonomy
Apr
25
comment Author must complete profile info before they can publish a post?
after one day of scratching my head...I still unable to find the solution. I have no clue how to start. I am not a programmer and I am new in WP...more advice will be appreciated.
Apr
25
comment How to limit user to publish post per day and per role?
I figure it out the what causing the error, the $bapl=> should be $bapl->.
Apr
25
comment Author must complete profile info before they can publish a post?
ok thanks....will take a look at it
Apr
24
asked Author must complete profile info before they can publish a post?
Apr
24
comment How to limit user to publish post per day and per role?
I am sure I already installed the plugin. And the updated function still give me the fatal error.
Apr
24
comment How to limit user to publish post per day and per role?
Oh, thank you for the suggestion...will take a look at it..
Apr
24
comment How to limit user to publish post per day and per role?
When I paste this code to functions.php, the site get fatal error, any idea why?
Apr
24
comment How to limit user to publish post per day and per role?
Well, what I am doing is a real estate site, which different from the content website. The limitation is intended to avoid spam and in the meantime to monetize from it.
Apr
24
comment How to limit user to publish post per day and per role?
If I not mistaken, your codes is limit the post on all user, not particular on user's role, right?
Apr
23
asked How to limit user to publish post per day and per role?
Apr
23
accepted How to add field above password section in profile page
Apr
23
comment How to add field above password section in profile page
Finally I make it right, turn out there is a conflict in my <div>. Anyway thanks a lot.
Apr
22
comment How to add field above password section in profile page
nope, no error at the console. Seem I need the use the css hack and jquery to hide. By the way, your plugin seem so interesting :).
Apr
22
comment How to add field above password section in profile page
No luck. I wondering if I using ob_start will affect the result, because I am using it to remove the biography info section function remove_plain_bio($buffer) { $titles = array('#<h3>About Yourself</h3>#','#<h3>About the user</h3>#'); $buffer=preg_replace($titles,'<h3>Password</h3>',$buffer,1); $biotable='#<h3>Password</h3>.+?<table.+?/tr>#s'; $buffer=preg_replace($biotable,'<h3>Password</h3> <table class="form-table">',$buffer,1); return $buffer; } function profile_admin_buffer_start() { ob_start("remove_plain_bio"); } function profile_admin_buffer_end() { ob_end_flush(); }
Apr
22
comment How to add field above password section in profile page
I don't know why, the code fails in my test. My custom profile is a table which contain input fields in <tr> so I wrapped the table in a div like this: <div id="mycustomtable"><table><tr><th>field 1</th><td>custom field hre</td></tr><tr><th>field 2</th><td>custom field hre</td></tr>... </table></div>, so I use $("#your-profile").before($("#mycustomtable"));. am I done something wrong?
Apr
22
revised How to add field above password section in profile page
edited title
Apr
22
asked How to add field above password section in profile page
Apr
22
revised Remove Personal Options section from Profile
edited title