WordPress.org

Ready to get started?Download WordPress

Forums

Facebook Album Sync
Duplicate albums, wrong albumphoto as albumcover etc... (20 posts)

  1. Northwave
    Member
    Posted 6 months ago #

    Hi,

    great plugin, however, after I updated to version 0.3 the album page is messed up.
    It duplicates albums and puts wrong album photos as the "album cover" image. And the page-sync-icon does not stop animating.
    The cover-page-album is now removed, which is nise, but it still shows the coverpage-albumphoto as some "album cover" image.

    Any solutions?

    https://wordpress.org/plugins/facebook-album-sync/

  2. Dwain Maralack
    Member
    Plugin Author

    Posted 6 months ago #

    Please send me a link to your Facebook page and the website where the gallery is. I'd like to see why it's breaking .

  3. Northwave
    Member
    Posted 6 months ago #

    Thanks for a quick reply :)

    The gallery is here.
    And the Facebook album page is here.

  4. JP
    Member
    Posted 6 months ago #

    Hello there, I got same problem,so I think the problem is in the plugin (WP 3.8)..Thanks

  5. JP
    Member
    Posted 6 months ago #

    Quick fix: Replace "albums.php" from version 0.2, everything works perfect ;)

  6. Dwain Maralack
    Member
    Plugin Author

    Posted 6 months ago #

    Hey JP, thanks for the update . I'll have to see why the issue is occurring in any case and patch up the plugin.

  7. Jorgeana
    Member
    Posted 6 months ago #

    Yes JP .. Now it works!

    One suggestion: Here I changed the CSS to have round edge in the albums using CSS3

    -webkit-border-radius: 15px;
    border-radius: 15px;

    Add this code in fbasstyles file to:
    . photothumblarge
    . albumthumb
    . PhotoLink
    . albumlink

    -------------------------------------------------- ------
    In the lightbox file:

    . lightbox image-lb.
    . lb-outerContainer
    . lb-DataContainer

    Change 4px 15px for all

  8. Birdy
    Member
    Posted 6 months ago #

    If somebody is searching for the version 0.2, here is the link:
    https://github.com/dwainm/Facebook-Album-Sync/archive/0.2.zip

  9. stoopk
    Member
    Posted 6 months ago #

    downgrading the album.php file to 0.2 works but i loose half of my albums.

    these albums did show up with 0.3 just with many duplicates.

    Facebook - http://www.facebook.com/mixedmedia.uk/photos_albums

    Page - http://www.mixedmedia.me.uk/?page_id=24

  10. Northwave
    Member
    Posted 6 months ago #

    Hi,

    has there been any progress on this issue and patching up the plugin?

  11. stoopk
    Member
    Posted 6 months ago #

    no update yet!, can anyone recommend another plugin that works happy to pay if it works :d !!!

  12. internationalkenpo
    Member
    Posted 6 months ago #

    I too am having the same issues. Running WP 3.8.1

    I attempted to copy the album.php file, but it shows up with half the albums the same as if i downgrade to 0.2.

    I am no code junkie and tried to follow what Jorgeana mentioned, but those lines of code are already in the .css file.

    Any other suggestions or updates would be great!

  13. m_mangold
    Member
    Posted 5 months ago #

    hi there, i also use wp 3.8.1 and i have albums not only twice but multiple times displayed?!

    here's my site - lamarsurf.com/impressionen/fotos/ can somebody help me with this!? please and thank you!

  14. Birdy
    Member
    Posted 5 months ago #

    The exchange of the "albums.php" didn't work?

    "Quick fix: Replace "albums.php" from version 0.2
    https://github.com/dwainm/Facebook-Album-Sync/archive/0.2.zip"

    Btw. great homepage, did you link from the german to the english pages manually or do you have a plugin for this?

  15. m_mangold
    Member
    Posted 5 months ago #

    thx! now it worked, but somehow it does limit the number of albums and doesn't show all of them? is there a way to "fix" this too?

    and thx for the thumbs up on the page! you're always welcome to come surf with us ;-)

    for the multi-language i use the polylang-plugin it's a really simple way to make a site mulit-lingual, can really recommend it.

  16. DiZeX
    Member
    Posted 5 months ago #

    I rewrote the albums.php entirely. And now it works much better and faster. Though it doesn't contain any error checking.

    Replace the "albums.php" by following code and remember to change the FBUSERID to the right one:

    <?php
    
    $fb_albums = file_get_contents('http://graph.facebook.com/FBUSERID/albums/?fields=id,name,type&limit=2000');
    
    $json = json_decode($fb_albums);
    
    $i = 0;
    echo '<div class="fbalbum_thumb_row">';
    foreach($json->data as $item) {
        if ($item->type == 'normal') {
            if ($i <= 3) {
                echo '<div class="fbalbum_thumb"><a href="?fbasid='.$item->id.'"><img src="http://graph.facebook.com/' . $item->id . '/picture"><br />';
                echo '' . $item->name . '</a></div>';
                $i++;
            }
            else {
                echo '</div> <!-- .fbalbum_thumb_row -->';
                echo '<div class="fbalbum_thumb_row">';
                $i = 0;
            }
        }
    
    }
    echo '</div> <!-- .fbalbum_thumb_row -->';
    
    ?>

    and add to fbasstyles.css:

    .fbalbum_thumb_row { width: 100%; text-align: center; }
    .fbalbum_thumb { display: inline-block; width: 20%; margin: 0 1em 1em; vertical-align: top; }
    .fbalbum_thumb img { height: 120px; margin: 0; max-width: 160px; margin-bottom: 0.5em;}
  17. Dwain Maralack
    Member
    Plugin Author

    Posted 5 months ago #

    Hey guys , please feel free to submit all changes as pull requests to https://github.com/dwainm/Facebook-Album-Sync .

    Thank you for your help in making this the best solution to show your Facebook albums in WordPress.

  18. thesixthpoint
    Member
    Posted 4 months ago #

    I had the same duplicate albums issue that others have experienced. I replaced albums.php with the one from version 0.2, which solved the duplications issue, but now my cover photos are not showing up properly...

    Instead of the album thumbs being small versions of the cover photos, they are thumbnail-sized zoom-in's of the top left corner of the cover photo. Has anyone else experienced this issue? Know a way to resolve it?

    Also, I notice that Timeline Photos and Profile Pictures are excluded. Does anyone know a workaround to also exclude Mobile Uploads and Cover Photos?

  19. anshumanwd
    Member
    Posted 4 months ago #

    Thanks DiZeX

    I have worked and its properly working!

    I have modified the css to look more cool, you guys can use it :

    .fbalbum_thumb_row { width: 100%; text-align: center; }
    .fbalbum_thumb { display: inline-block; width: 20%; margin: 0 1em 1em; vertical-align: top; background: #F8F8F8;
    border: 1px solid #F7F2F2;
    min-height: 226px;
    width: 200px;
    padding: 22px 4px 7px;}
    .fbalbum_thumb:hover {background: #FDA200;}
    .fbalbum_thumb:hover a {color: #fff;}
    .fbalbum_thumb img { height: 120px; margin: 0; max-width: 160px; margin-bottom: 0.5em;  border: 1px solid #CCC; background: #FFF;
    outline: none; padding: 4px; position: relative;}

    For PHP : refer DiZeX comment.

  20. the_new_intern
    Member
    Posted 3 months ago #

    Hi, It so nearly works. I replaced the original album code with the one kindly supplied by DiZeX, because of the duplicates and pixaleted thumbnails(even though we shouldnt have to!), but I'm still getting albums showing up with no photos. I know theres some fixes on the github site but I'm not sure which ones to use.

    Its so frustrating that there isnt a proper well made plugin for this, you would think there would be by now.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.