WordPress.org

Ready to get started?Download WordPress

Forums

Frontend Edit Profile
[resolved] FEP conflicts with WordPress Media Uploader Pop-Up Window (8 posts)

  1. spinc
    Member
    Posted 3 years ago #

    Front End Profile plugin conflicts with the Image (Media) Upload Pop-Up Window functionality on the back end.

    When activated, the media upload window doesn't pop up in either the Edit Page or Edit Post panel. The contents of that pop up open in another tab/window and uploading an image doesn't work.

    Error message:

    fep.js:8

    Uncaught TypeError: Property '$' of object [object DOMWindow] is not a function

    $(document).ready(function(){

    $('#your-profile').after('<div style="text-align: center"></div>');

    ----

    When I deactivate the FEP plugin, my back-end media upload pop-up window is back to normal and I can upload media as normal.

    Anyone else come across this or developed a solution?

    http://wordpress.org/extend/plugins/frontend-edit-profile/

  2. abdul_ibad
    Member
    Plugin Author

    Posted 3 years ago #

    You can change $ to jQuery.

    See JQuery NoConflict

  3. ttoine
    Member
    Posted 3 years ago #

    Hi,

    SO, in order to share, I have a similar problem with the Woothemes framework: javascript don't work when FEP is enabled.

    I tried first to remove

    if($ == undefined){
     $ = jQuery;
     }

    then, to remove

    <script type="text/javascript">
    	if($ == undefined){
    		$ = jQuery;
    		$(document).ready(function() {
    		$(':checkbox').iphoneStyle();
    	});
    </script>

    As you told me by email, but the problem is still there. What should I do if i want to completely remove jquery from your plugin ?

    Toine

  4. ttoine
    Member
    Posted 3 years ago #

    So ok, I just remove all javascript related code in the fep.php, it's working fine.

    If someone is interested about getting a .zip with my modifications, just ask and I'll send it.

    Toine

  5. Jakob Smith
    Member
    Posted 3 years ago #

    @ttoine: I would like to get the zip with your modifications. My mail-address is jakob @ omkalfatring.dk

    I'm experiencing another Javascript conflict between FEP and My Calendar.

  6. ttoine
    Member
    Posted 3 years ago #

    Look at this page :

    http://libre-factory.com/2011/02/04/plugin-frontend-edit-profile/

    You will find a link to a tar.gz file containing the plugin without javascript. Sorry for the delay, I have a lot of work at the moment.

    Toine

  7. Jakob Smith
    Member
    Posted 3 years ago #

    Thank you very much.

    The conflict with My Calendar was solved with the newest version of My Calender, but maybe there will be other conflicts where I can use your modification.

  8. julianislief
    Member
    Posted 3 years ago #

    The problem is the fep.js! It's password strength meter! If you disable this function, the problem is gone!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic