[wp-hackers] jQuery x-editable with update_user_meta?

Gregory Lancaster greglancaster71 at gmail.com
Tue Nov 5 21:52:12 UTC 2013


Hey man - Can I hire you to code this jquery file upload plugin into the
plugin I have so far?  Along with the php print image thing so people can
share an image from their profile?    How much would that run (estimated
obv)?

Here is the plugin:  http://blueimp.github.io/jQuery-File-Upload/


On Mon, Oct 28, 2013 at 3:45 PM, Gregory Lancaster <
greglancaster71 at gmail.com> wrote:

> Yea you're right, realized it right after I posted.  I logged out, which
> fixed the issue.  I have no idea what is causing this.  :-/  Ill post on
> github and maybe someone can target the issue.  Its def odd though, that it
> only works when logged out.  I compared the loaded html side by side with a
> coparison tool and they are nearly identical.
>
>
> On Mon, Oct 28, 2013 at 2:57 PM, J.D. Grimes <jdg at codesymphony.co> wrote:
>
>> That really doesn’t make sense. Is this code you pasted an exact copy of
>> the code in your theme?
>>
>> On Oct 28, 2013, at 5:40 PM, Gregory Lancaster <greglancaster71 at gmail.com>
>> wrote:
>>
>> > Damn that was incredibily useful, thanks man.  I fixed the double
>> headers
>> > but unfortunately this still wont work unless I am logged out.  I found
>> the
>> > culprit though, the same block of code that was an issue previously:
>> >
>> > */
>> > function themeblvd_redirect_admin(){
>> > if ( ! current_user_can( 'edit_posts' ) && (! defined('DOING_AJAX') || !
>> > DOING_AJAX ) ){
>> > wp_redirect( site_url() );
>> > exit;
>> > }
>> > }
>> > add_action( 'admin_init', 'themeblvd_redirect_admin' );
>> >
>> > commenting out that block fixed it.   What do I need to add to this so I
>> > can still block wp-admin access but keep the ajax call working?  Add a
>> > jQuery exception as well?
>> >
>> >
>> > On Mon, Oct 28, 2013 at 2:26 PM, J.D. Grimes <jdg at codesymphony.co>
>> wrote:
>> >
>> >> You could add a debug_print_backtrace() in head.php. That will print
>> the
>> >> stack for each inclusion.
>> >>
>> >> -J.D.
>> >>
>> >> On Oct 28, 2013, at 5:20 PM, BenderisGreat <greglancaster71 at gmail.com>
>> >> wrote:
>> >>
>> >>> I think I see the issue, when I am logged in the head.php gets loaded
>> >> twice.
>> >>> Not sure why exactly though. Is there a way to show all files being
>> >> loaded
>> >>> in sequence as they are fired?
>> >>>
>> >>>
>> >>>
>> >>> --
>> >>> View this message in context:
>> >>
>> http://wordpress-hackers.1065353.n5.nabble.com/jQuery-x-editable-with-update-user-meta-tp42641p42650.html
>> >>> Sent from the Wordpress Hackers mailing list archive at Nabble.com.
>> >>> _______________________________________________
>> >>> wp-hackers mailing list
>> >>> wp-hackers at lists.automattic.com
>> >>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >>
>> >> _______________________________________________
>> >> wp-hackers mailing list
>> >> wp-hackers at lists.automattic.com
>> >> http://lists.automattic.com/mailman/listinfo/wp-hackers
>> >>
>> > _______________________________________________
>> > wp-hackers mailing list
>> > wp-hackers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>
>


More information about the wp-hackers mailing list