WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Duplicate albums, wrong albumphoto as albumcover etc…

[Resolved] Duplicate albums, wrong albumphoto as albumcover etc…

  • 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/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Dwain Maralack

    @dwainm

    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 .

    Thanks for a quick reply 🙂

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

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

    Quick fix: Replace “albums.php” from version 0.2, everything works perfect 😉

    Plugin Author Dwain Maralack

    @dwainm

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

    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

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

    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

    Hi,

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

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

    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!

    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!

    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?

    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.

    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;}

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Resolved] Duplicate albums, wrong albumphoto as albumcover etc…’ is closed to new replies.