Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'lazy load'

Viewing 20 results - 51 through 70 (of 70 total)
  • Author
    Search Results
  • #247761
    @mercime
    Participant

    @nattlyharris Required JS enqueued by BP including jquery.Jcrop.min.js are missing from source code caused possibly by a plugin. I think one culprit is the bj-lazy-load plugin but to be sure, deactivate all plugins except BuddyPress and check if you can crop the avatar. Then activate plugins one by one to see which is/are causing the issue.

    Edit – took too long to answer. didn’t know henry already posted.

    #241512
    djsteveb
    Participant

    @d_enajetic – I am playing with a few plugins that deal with a similar issue with animated gifs. A few say they will take a gif and make a thumbnail that you click to play… instead of having a dozen animated gifs playing in the activity stream and sidebar from users posts – hoping one of these will work.

    Luckily I have not had the same issue with videos yet (currently most of my users just add videos to activity stream directly, not in a blog post which would double display – glad to be thinking of that as a possible issue now)

    In your situation, I wonder if you create a screenshot thumbnail and put a “play icon” on it – then put that at the top of your post… would that show up in the activity stream instead of the video embed? I’d try making that the featured image as well to see if that static image showed up in my sidebar display (instead of the actual video itself)

    I would put the screen shot thumbnail image at the top of the post, and then add an H2 tag below something like <h2 id=”playjuneseminar> – then make the screenshot / thumbnail linked to the anchor tag – so that if people clicked the image in the activity stream, or on the actual post itself, it would scroll down to the video.

    I’d consider adding a lazy load / play type thing to the video so it does not auto play unless it’s in focus or something.

    Not sure if this is what you are going for, or if it would even work, but it’s what I would try first.

    Of course it would be cool to see a plugin that combined the “if activity stream item and detect video in post, create a thumbnail, show thumbnail instead of embedded video, link to that section of post, kind of thing.

    like a mashup of the wp video posts plugin, with one of these gif stop/create single frame-click-to-play instead of auto, with an added “if image is from a post link to post”

    random thoughts from my limited bp / wp experiences.

    #241236
    deklein
    Participant

    Another Update! A GOOD ONE

    I downloaded two more plugins and resolved the issue to about 80% satisfaction, although I’d still like some ideas if you’ve got some.

    I downloaded lazy load for images
    I downloaded lazy load for video

    This has caused a drastic increase in the page loading and scrolling speed. I was able to change the number of items loaded to 12 and it scrolls smoothly other than past the soundcloud links. Lazy load for videos has plans to become compatible with soundcloud links as well which will be great when that happens.

    Im still so curious as to how hard it would be to format the activity stream into excerpts of the post into small squares with a sentence of text and a thumbnail image to be able to show 16 or more posts without having to scroll. Lets hear it from the coding experts! (:

    #241235
    deklein
    Participant

    Update, downloaded two more plugins and resolved the issue to about 80% satisfaction, although I’d still like some ideas if you’ve got some.

    I downloaded lazy load for images
    I downloaded lazy load for video

    This has caused a drastic increase in the page loading and scrolling speed. I was able to change the number of items loaded to 12 and it scrolls smoothly other than past the soundcloud links. Lazy load for videos has plans to become compatible with soundcloud links as well which will be great when that happens.

    Im still so curious as to how hard it would be to format the activity stream into excerpts of the post into small squares with a sentence of text and a thumbnail image to be able to show 16 or more posts without having to scroll. Lets hear it from the coding experts! (:

    #183170
    godavid33
    Participant

    Sorry, I’m a bit too lazy for jsfiddle but here is the code

    
    			jQuery('#send_reply_button').click(function(){
    				var submit_butt = jQuery(this);
    				
    				submit_butt.hide();
    				submit_butt.attr('disabled', 'disabled');
    				
    				if(!submit_butt.parent().find('.ajax-submit-gif').get(0))
    					submit_butt.parent().append("<img class='ajax-loader' src='ajax-loader.gif'/>");
    				
    				jQuery(document).ajaxComplete(function(e, xhr, options){
    					submit_butt.show();
    					submit_butt.removeAttr('disabled');
    					submit_butt.parent().find('.ajax-submit-gif').remove();
    					
    					jQuery(e.currentTarget).unbind('ajaxComplete');
    				});
    			});	
    

    My one suggest, and why I was looking for an alternative, is that as is now, if you have other ajax processes going on in the window, then they may trigger ajaxComplete in this code.

    #179154

    In reply to: Performance issue.

    Henry Wright
    Moderator

    Version 2.0 which is due for release in about 2 months time will have quite a few improvements in place related to performance. Caching is one of the main focus areas and reducing the number of queries is another.

    In the mean time, you could disable and remove some of the plugins you don’t use (I noticed you have 46). You could make sure JavaScript files load in the footer, implement lazy loading of images on long pages, optimse and compress images, ask your host if any server improvements can be made, choose your theme carefully and customise your Twitter Bootstrap install so you’re only loading the features you need…

    #177628

    In reply to: Avatar cropping errors

    Matt
    Participant

    Hmmm I wouldn’t call that a solution. Can you narrow it down to any particular plugins?

    In my case it was ‘BJ Lazy Load‘ that needed disabling to make the difference. Do you have that plugin on your site, or is it a different one?

    Either that plugin is the issue, or if it’s multiple ones then we could try and figure what they have in common and fix that.

    #176432
    Henry
    Member

    @synaptic not a stupid question – always a good idea to improve performance. That said, removing comments isn’t where you should start.

    1. Try minifying your scripts that haven’t already been minified.
    2. Run your site through a tool such as tools.pingdom.com to identify all of the unnecessary resources your page is using – and remove them where appropriate
    3. Deactivate unused plugins and so on…

    Some more ideas:

    a) Lazy loading of images on long pages
    b) Defer loading of javascript

    So many ways to improve performance – cutting back on comments, though, isn’t a way I’d recommend.

    #140030

    Another issue I just discovered is when you use Lazy Load js it doesn’t load the avatars until you reach the footer.

    #139365

    In reply to: One lazy plugin

    Paul Wong-Gibbs
    Keymaster

    There are many, many different things that could affect load time of your site. BP and BBP are large plugins, so they’re probably taxing some aspect of your server setup. Are you running your own server, or are you hosted with someone? If the latter, I’d suggest you start by getting in contact with their support and see if they are prepared to help you find where the slowness is.

    #129307
    pachoolee
    Member

    Crosswider, I fixed mine.
    I also don’t have a BP theme, I used the BP template pack plugin.
    I read where this image cropping issue often happens with a plugin conflict.
    So, I first deactivated all my plugins (except BP), and voila! the crop worked.
    I then systematically reactivated the plugins until I found the culprit.
    In my case, it was the BP mobile plugin. It was an easy fix in my case, b/c BP mobile had an option to “lazy load images”, which loaded a conflicting jquery file. I just unchecked the option and everything worked fine.
    I hope you can use this method to find your culprit too.

    #112179
    DoctorDR
    Member

    I would probably just use wp-pagenavi, which I’ve been using on wordpress sites for years now – https://wordpress.org/extend/plugins/wp-pagenavi/. Otherwise there are a host of possibilities. You’re using a

    container for your images, whereas I would normally use an unordered list, but you could do anything from using a continuous page (such as ‘load more’ on the activity stream), or you could load the 24 images in a single page block and then use a content slider combined with lazy loading to scroll from page to page – loading and displaying a further 24 images with each click.

    Really, there’s nothing wordpress/buddypress specific once you’ve queried and gathered the content, thereafter you’ll find endless ways in which to present and scroll through it which applies to any type of website.

    Would you mind sharing your code for aggregating your images from across the network? I’m about to do the same for blog posts and it would provide a good reference point.

    #101672
    Chris_McD
    Member

    Try installing Email Log (https://downloads.wordpress.org/plugin/email-log.zip), which records all mails sent from the WP+BP installation, this will at least let you know if the activation email has been processed from the Site (According to the site itself).

    There is also another plugin (https://buddypress.org/community/groups/wp-activate-users/) which will allow you to activate users that dont seem to get the email or are just plain lazy.

    #89714
    @mercime
    Participant

    @lazyym create a file remove-login.php and then open in text editor and paste in code PerS, save the file and upload to wp-content/plugins/ folder.
    OR

    open your active theme’s functions.php file and add the code from the “add action” part to just before the ? and the ‘>’

    #73408
    jordashtalon
    Member

    @Gene53 @foxly

    Just thought I’d mention for my needs i’ll need to be able to support extremely large files (I plan on allowing people to upload wallpapers, even dual-screen wallpapers). So i’ll need to allow as much width/height as possible. Maybe even greater than 4000px sometimes.

    On a side note I love the way BP-Album automatically splits up the different thumbnails (Original, Large, Medium,etc..) That is a stroke of genius!

    – One Feature request would be to by default have a Download Link pointing to the raw image file (Kind of Like DeviantArt.com) I figured out a way to add that into the template file using one of the url template tags to point to the original image so that may not be necessary, but I could see a lot of users wanting that by default.

    – Another cool feature would be to have a way to show the main focused image like it is now, and have a list of thumbnails under the main image (in addition to the next / previous links), kind of like this page http://www.e2interactive.com/e2_photo_gallery/demo/ (except not Ajax based because that’s not Search Engine Friendly)

    – One last Feature I would suggest is to have a “Default Album” e.g. if someone doesn’t select or even create an album they can still upload to their “Default Album” I can see some of my users getting lazy and not wanting to deal with Albums and stuff like that (Although I really like the Album feature my users may be confused when they don’t have an Add Image button and they *have* to create an album to upload pictures)

    Thanks for the great work, I love the direction this plugin is heading.

    #73031
    21cdb
    Participant

    MrMaz: I’m still on vacation, but heared that you are now part of the buddypress-dev team! Congratulations, i’m really excited about the API you are working on. I guess the abilty to post Links as Activity-Item-Attachement from the “John Doe Postbox” won’t be there before BP 1.4?

    I have a small question. Does the “Automatic thumbnail picker” in BP-Links only works for certain websites and what are the criteria to get Rich Media detected? I’m asking because most of my Links show up without an automatic detected thumbnail, but the articles i’m “linking” have a lot of pictures on it? Do you see any potential to improve the “Automatic thumbnail picker”. Links Directory looks really great with thumbnails, but my users are to lazy to upload them manually.

    One of the sites that doesn’t get detected is http://www.spiegel.de/wissenschaft/natur/0,1518,688472,00.html

    Kudos to all your hard work!

    #73131
    21cdb
    Participant

    MrMaz: I’m still on vacation, but heared that you are now part of the buddypress-dev team! Congratulations, i’m really excited about the API you are working on. I guess the abilty to post Links as Activity-Item-Attachement from the “John Doe Postbox” won’t be there before BP 1.4?

    I have a small question. Does the “Automatic thumbnail picker” in BP-Links only works for certain websites and what are the criteria to get Rich Media detected? I’m asking because most of my Links show up without an automatic detected thumbnail, but the articles i’m “linking” have a lot of pictures on it? Do you see any potential to improve the “Automatic thumbnail picker”. Links Directory looks really great with thumbnails, but my users are to lazy to upload them manually.

    One of the sites that doesn’t get detected is http://www.spiegel.de/wissenschaft/natur/0,1518,688472,00.html

    Kudos to all your hard work!

    #69838
    modemlooper
    Moderator

    Played with latest version and I’m afraid users are not going to get the workflow. The tagging to create groups is going to throw people off.

    People are used to:

    Creating album and name it

    Uploading images to album

    Naming, tagging images and saving

    The create album part of this workflow is mushed into tagging and people will not want to add tags to all their photos. They are lazy. It would be easier if they clicked an album and then upload button in that album says “add to album”. If they are on the main albums page and click upload then there should be a drop down that lists the current albums and the image being uploaded gets placed in that album.

    The tagging system should just be a categorization method.

    Example you have an Album of movie posters called action films and in this folder you have several posters with the actor Brad Pitt. So you tag these. Well Brad may have posters in a comedy album as well. So you could tag them and then sort through all images via the Brad Pitt tag.

    #62586
    @mercime
    Participant

    ACTIVATE PLUGINS FOR ALL BLOGS – First and foremost, one has to read the installation instructions of plugin authors. Some plugins might require uploading to wp-content/mu-plugins folder and some to the regular plugin folder or some plugins require to be uploaded to both mu-plugins and regular plugins folder.

    Plugins uploaded to mu-plugins folder (per plugin author instructions) are already activated site-wide and will not be seen in Plugins > Installed unless that’s the way the plugin author set it up. Some mu-plugins do not need further configuration in Site Admin > Options or anywhere else, but some mu-plugins still need additional configurations in Site Admin > Options or somewhere else the plugin author specified.

    Plugins uploaded to regular plugins folder may need to be activated sitewide in Plugins > Installed panel or may only be activated for a specific blog AND some plugins made for single WP may not be compatible with WPMU. Some Site Admins use the Plugin Commander plugin to activate a specific plugin sitewide. Even so, in certain cases where such plugin is not WPMU-ready/aware, Site Admin has configure settings of such plugin in each new blog or create a function to do so.

    Finally, as DJPaul mentioned above, a better way to check if a plugin for single WP works in WPMU install, is to check out the WPMU forums or WPMU related forums and always check installation instructions of plugin authors.

    THEMES ONLY FOR MEMBERS – BuddyPress setting – if you allow the BP members to create blogs and these members purchased a theme for their use only, you could activate the theme for that specific blog via Site Admin > Blogs > Edit link and associate that theme with the specific blog. Only that member will see the premium theme in his/her Appearance > Themes panel.

    Site Admin needs to be vigilant about uploading free or premium themes in that there might be obfuscated or encrypted codes within the theme as you don’t exactly know where theme was downloaded from. In addition, some advanced themes would require uploading different theme files in root of installation to wp-admin and/or wp-includes folder which might totally break your install.

    Excuse the long post, going thru a lazy rainy afternoon.

    r-a-y
    Keymaster

    I find strange things like this happen if I FTP a file directly from inside a zip file, rather than unzipping it and uploading it.

    That’s exactly what I did… uploaded from a .ZIP file. I’m rather lazy that way! ;)

    I was stressing out over this for a couple of days!

Viewing 20 results - 51 through 70 (of 70 total)
Skip to toolbar