Skip to:
Content
Pages
Categories
Search
Top
Bottom

I can'y crop my avatar!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @techknowledgic
    Sounds like a theme issue. Have you tried activating twenty twelve theme to see if you can isolate it down to the theme? It sounds like a jquery issue at first glance. So try that and report back your findings.

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    Thanks for ur reply!

    how can I activate twenty twelve theme? and activating the theme will it cause to lose any data in the website?

    knowing that I am using Pravda – Retina Responsive WordPress Blog Theme

    ty

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @techknowledgic
    I have never heard of anyone losing data by activating a different theme. That sounds kinda nuts to be honest. You may have to re-assign your menu though if you have made a custom menu and switch themes. I personally don’t know that theme and I shy away from anything that would make my content reliant on a particular theme. Just my opinion, but when push comes to shove it is a lot easier to transition from theme to theme when a theme uses WP standards. Activating twenty twelve is simple just go to dashboard/appearance/themes and activate it. If you decide to re-activate that other theme it should retain the data you previously had in the database. No harm no foul!

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    Actually I am the owner of the website and not the developer so I don’t know how to fix something is I lose any data like the menu as you mentioned. so if I switch the theme and it works what should I do? and also if after changing the theme it doesn’t work what should I do?

    I mean let’s try all the options better than losing data

    ty

    Avatar of Jigesh
    Jigesh
    Participant

    @jigesh

    alright, please give me your site name in personal message, i will try to fix it. thanks.

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    No need a PM because it’s already in this topic http://www.techknowledgic.com/wp-content/uploads/avatars/3/profile-Copy-300×450.jpg :D

    here is the website http://www.techknowledgic.com/

    Thanks!

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    I am sorry for bumping but it has been around 4 days and no solution so far

    any help?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @techknowledgic the link to the image in your first post leads to 404 page. Basic troubleshooting involves changing to Twenty Twelve theme and deactivating all plugins except BuddyPress. I recommend setting up a development site if you’re going to grow and maintain your BP site with the same environment as your production/live site. That way, you could test plugins and themes before installing/activating them.

    Back up your database, then deactivate plugins batch by batch to identify the conflict. Start with the avatars plugin you have activated in your site.

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    About the image it’s true because I tried to change it after I did some changes to the website and also it didn’t work

    and about what you said, if I switch to theme to twenty twelve, will I lose any data in my website or saved settings even if I back up the database?

    and about my problem, I found someone having exactly the same problem as me and he fixed it but I didn’t understand exactly how http://buddypress.org/support/topic/avatar-crop-not-working-2/

    bu I am using a different theme so if you could help me with doing what he did it’s gonna be great :D

    Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @techknowledgic upon further check, the problem is that your theme is loading the old jquery 1.7.2 version from Google
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    while WP/BP are using jQuery v1.10.2
    <script type='text/javascript' src='http://www.techknowledgic.com/wp-includes/js/jquery/jquery.js'></script>

    This is a theme issue. Themes and plugins should use the jQuery version packaged with WordPress. Please contact theme author.

    Avatar of Techknowledgic
    Techknowledgic
    Participant

    @techknowledgic

    OK , so I will try to ask for support from the theme developer

    and BTW, I asked a question in the other topic yesterday and not today which is before u reply here :)

    Thanks!

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @techknowledgic looking at the theme demo, there’s no script like that in source code. So it could very well be an old plugin enqueueing the old jQuery version. Did you deactivate plugins batch by batch as I mentioned above?

    Avatar of 4ella
    4ella
    Participant

    @4ella

    @mercime is right this is a javascript issue, cropping function conflicts with some code or plugin, happily I have discovered yesterday the same issue immediately after installing ajax message box in single.php from this site http://flintmaker.com/code/jquery-fade-message-in-or-out/ which I wanted to use to greet people with ajax message conditionally by knowing where are they from (using maxmind geoip which already works) and if they come from search engines, after removing that
    line
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    from header.php cropping function start to work again, on wordpress.stackexchange.com are many answers (one of them cropping related and most of them speaks about this solution in code below in functions.php or bp_custom.php what are solutions which doesn’t work for me too :(

    // Javascript conflict
    function mytheme_enqueue_scripts() {
           wp_deregister_script('jquery');
           wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"), false, '1.4.2');
           wp_enqueue_script('jquery');
    }
    add_action('wp_enqueue_scripts', 'mytheme_enqueue_scripts');

    Hopefully @mercime should help me how to avoid this js conflict, I am unfortunately not able to use ajax-admin.php instead jquery as most people there advice to use.
    WP 3.6 and BP 1.8 beta2 and I use bp default theme

    Avatar of 4ella
    4ella
    Participant

    @4ella

    http://stackoverflow.com/questions/5070490/buddypress-jquery-google-hosted-library-conflict-with-image-crop

    @techknowledgic This solution doesn’t work for me, but if you made some customization as I did you can try it, but I would bet that in your case it is some old plugin issue related.

Viewing 14 replies - 1 through 14 (of 14 total)

You must be logged in to reply to this topic.