WordPress.org

Ready to get started?Download WordPress

Forums

BP Avatar Suggestions
Insert into Post goes nowhere (3 posts)

  1. CharkR
    Member
    Posted 1 year ago #

    I have everything activated and turned on, and when I go to the Add an Avatar button and upload the avatar, when I try to insert into post it does nothing, I get just a blank page.

    http://wordpress.org/extend/plugins/bp-avatar-suggestions/

  2. lenasterg
    Member
    Posted 6 months ago #

    Having the same problem. wp 3.5.2 multisite , bp 1.8.1.
    On console I get
    Uncaught TypeError: Cannot call method 'split' of undefined bp-as-admin.js:17
    window.send_to_editor bp-as-admin.js:17
    (anonymous function)

  3. lenasterg
    Member
    Posted 6 months ago #

    Ok I solve it by changing at /js/bp-as-admin.js file the lines 14-15
    from

    imgurl = $('img',html).attr('src');
    	imgPostIdtoParse = $('img',html).attr('class');

    to

    var item = $(html);
            var imgurl = item.attr('src');
            var imgPostIdtoParse = item.attr('class');

    based on http://stackoverflow.com/questions/9575455/attrclass-is-undefined-on-jquery

    Thanks for the great plugin(s)!!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.