WordPress.org

Ready to get started?Download WordPress

Profiles

bcwp

Profile picture of bcwp
  • Member Since: September 29th, 2011
  • Posted a reply to "Displaying output from one table based on the info of another", on the site WordPress Support Forums:
    Glad we could help. With regards to output, in the examples you've provided so far…

    1 year ago

  • Posted a reply to "Query on Security", on the site WordPress Support Forums:
    Actually, I may be wrong. It appears $wpdb->insert() and $wpdb->update() have some security mechanisms built…

    1 year ago

  • Posted a reply to "Query on Security", on the site WordPress Support Forums:
    I think sanitize_text_field() already does what your check_input() function is doing (i.e., stripping tags and…

    1 year ago

  • Posted a reply to "Displaying output from one table based on the info of another", on the site WordPress Support Forums:
    You're pretty close. First, I'd encourage you to use more descriptive variable names rather than…

    1 year ago

  • Posted a reply to "Bulk insert of data into a custom table", on the site WordPress Support Forums:
    Awesome. Glad I was able to help. :)

    1 year ago

  • Posted a reply to "Bulk insert of data into a custom table", on the site WordPress Support Forums:
    I think you misunderstood me regarding phpMyAdmin. I was suggesting you use it to create…

    1 year ago

  • Posted a reply to "Bulk insert of data into a custom table", on the site WordPress Support Forums:
    If I understand you correctly, then I'd first caution you that any solution you come…

    1 year ago

  • Posted a reply to "Displaying output from one table based on the info of another", on the site WordPress Support Forums:
    It's been a long day, so I'm providing the following SQL, untested and off the…

    1 year ago

  • Posted a reply to "SCARY! Limit Login Attempts lockout bypassed?", on the site WordPress Support Forums:
    Thanks for looking into this. I manage several WordPress websites across different hosts, and I've…

    2 years ago

  • Posted a reply to "CSS style selectors", on the site WordPress Support Forums:
    I recommend you use the standard HTML tags for this task, unless you have a…

    3 years ago

  • Posted a reply to "Too many urls on homepage", on the site WordPress Support Forums:
    I'm not sure how to remove the tags from all your posts, en masse... unless…

    3 years ago

  • Created a topic, Widgetized Home Pages - Best Approach?, on the site WordPress Support Forums

    3 years ago

  • Created a topic, Bypass Default Search Query Behavior with Custom SQL Query, on the site WordPress Support Forums

    3 years ago

  • Posted a reply to "Free and Open Source Alternative Databases for WordPress", on the site WordPress Support Forums:
    And, if in doubt, it's always best to get the advice of a lawyer before…

    3 years ago

  • Posted a reply to "Free and Open Source Alternative Databases for WordPress", on the site WordPress Support Forums:
    Sorry if my replies sounded angry. I don't think you're going to run into any…

    3 years ago

  • Posted a reply to "Free and Open Source Alternative Databases for WordPress", on the site WordPress Support Forums:
    BTW, you might want to consider all the unnecessary fires you'll be putting out in…

    3 years ago

  • Posted a reply to "Free and Open Source Alternative Databases for WordPress", on the site WordPress Support Forums:
    I don't really care whether you like my answer or not. You failed to answer…

    3 years ago

  • Posted a reply to "Free and Open Source Alternative Databases for WordPress", on the site WordPress Support Forums:
    Honestly, I don't have an answer for you. I suppose you could hack the core…

    3 years ago

  • Posted a reply to "php echo not working correctly with multiple statements...", on the site WordPress Support Forums:
    Remove the ; before the { on both if statement lines. The format for if…

    3 years ago

  • Posted a reply to "How to limit taxonomy term selection", on the site WordPress Support Forums:
    This might help: http://wordpress.stackexchange.com/questions/3633/how-to-filter-post-post-content-prior-to-save A crude solution (or maybe the only solution) would be to…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    It's really not about the money. I'd gladly write the function for you for free.…

    3 years ago

  • Posted a reply to "Customizing admin page", on the site WordPress Support Forums:
    There is no Settings->Background in the latest version of WordPress I'm using. You should look…

    3 years ago

  • Posted a reply to "help with gmail password please", on the site WordPress Support Forums:
    How the heck are WE supposed to reset YOUR gmail password?! Does this look like…

    3 years ago

  • Posted a reply to "Customizing admin page", on the site WordPress Support Forums:
    Yes, there are admin hooks like admin_init and plenty of ways to add custom features…

    3 years ago

  • Posted a reply to "Help creating shortcode for inline style (CSS)", on the site WordPress Support Forums:
    Off the top of my head, I'd suggest changing this line: return '<quote class="citation '…

    3 years ago

  • Posted a reply to "$wpdp->insert or update for poll plugin?", on the site WordPress Support Forums:
    Hi, smilesX. You would only use an insert statement to insert new records. To change…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    Sorry, but this topic is really going beyond the purpose of this forum. You really…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    "Can you please make a post with the arrays on first post and please explain…

    3 years ago

  • Posted a reply to "Form can only be submitted once?", on the site WordPress Support Forums:
    I must admit that, while I've spent years working with SQL professionally, I haven't spend…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    Sorry, my example was rushed. Change the $i+1 to ($i + 1) For example: $videos…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    I see. Well the code I posted above would do what you asked in your…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    I'm not sure I follow the logic completely. I see what you're saying about this…

    3 years ago

  • Posted a reply to "Form can only be submitted once?", on the site WordPress Support Forums:
    Wouldn't you want $wpdb->insert() and not $wpdb->update() ? The latter updates existing records. Since you…

    3 years ago

  • Posted a reply to "Foreach with multiple arrays custom field", on the site WordPress Support Forums:
    Use a good ol' fashioned for loop: if ( count( $href ) === count( $name…

    3 years ago

  • Posted a reply to "Including dynamically generated, locally hosted JavaScript using a plugin", on the site WordPress Support Forums:
    You shouldn't pass parameters that way. The proper way to pass parameters to JavaScript in…

    3 years ago

  • Posted a reply to "Undefined Function in JavaScript Plugin", on the site WordPress Support Forums:
    On second thought, what you're trying to accomplish is trivial enough that there's little point…

    3 years ago

  • Posted a reply to "Undefined Function in JavaScript Plugin", on the site WordPress Support Forums:
    My suggestion was to delete that line of code entirely. There's no reason to define…

    3 years ago

  • Posted a reply to "wp_nav_menu remove link from highlighted item", on the site WordPress Support Forums:
    This can easily be accomplished with jQuery: jQuery(document).ready(function($){ var caption = $('.current-menu-item a').text(); $('.current-menu-item').html(caption); });…

    3 years ago

  • Posted a reply to "How to create a plugin with textareas?", on the site WordPress Support Forums:
    You want the Settings API. Do a Google search for "wordpress settings api tutorial" and…

    3 years ago

  • Posted a reply to "Undefined Function in JavaScript Plugin", on the site WordPress Support Forums:
    OK, try this: Start with a fresh copy of the script you got from the…

    3 years ago

  • Posted a reply to "Undefined Function in JavaScript Plugin", on the site WordPress Support Forums:
    I think there's some code missing. I would contact the developer.

    3 years ago

  • Posted a reply to "Undefined Function in JavaScript Plugin", on the site WordPress Support Forums:
    Yes it is. But that looks like some interesting code... As far as I was…

    3 years ago

  • Posted a reply to "How to change page order programatically?", on the site WordPress Support Forums:
    The only way to do it programmatically would be to create an array of pages…

    3 years ago

  • Posted a reply to "Add Meta Boxes not saving or retrieving", on the site WordPress Support Forums:
    It takes a while for people to get the hang of regular expressions. They're a…

    3 years ago

  • Posted a reply to "What´s wrong with this shortcode function?", on the site WordPress Support Forums:
    WTH? Ok, since I can't get it to paste correctly, just make sure all your…

    3 years ago

  • Posted a reply to "What´s wrong with this shortcode function?", on the site WordPress Support Forums:
    Grrr... that didn't paste correctly. foreach($poll_sel_data as $poll_sel_item){ $poll_sel_output = " "; <--- change this…

    3 years ago

  • Posted a reply to "What´s wrong with this shortcode function?", on the site WordPress Support Forums:
    Your problem should be here: $poll_sel_output = " "; change = to .= otherwise you'll…

    3 years ago

  • Posted a reply to "What´s wrong with this shortcode function?", on the site WordPress Support Forums:
    edited

    3 years ago

  • Posted a reply to "help! wp_enqueue_script is including my javascript.", on the site WordPress Support Forums:
    Yes, it sounds like you're calling wp_enqueue_script() too late to be included in the header.…

    3 years ago

  • Posted a reply to "Need Help with Custom filer-Plugin", on the site WordPress Support Forums:
    No, that's not what I was referring to. Rev. Voodoo was telling people NOT to…

    3 years ago