Forum Replies Created

Viewing 1 replies (of 1 total)
  • arhatiy

    (@arhatiy)

    Hi all.

    I’m working with WP v3.1 and this plug-in works fine.

    Possible for multi site or for newer version of WP it’s bug in adding new record to a database.

    As you can see this plugin is not supported, author’s site doesn’t work.
    I found one issue and fixed it. I want to send sourcecode to author – but his gone ?? , so I post this bugfix here:

    1. If you have more than 10 photoalbums
    2. If your post contain lines like:
    [mpa:id=1,header=false,desc=false]
    [mpa:id=13,header=false,desc=false]
    [mpa:id=15,header=false,desc=false]
    3. Оn post page you will see 3 photoalbums, but all photos here will be from photoalbum #1.

    Fix:
    1. Open for editing file
    /wp-content/plugins/misiek-photo-album/album.php

    2. Search for line with follow text:
    $post = preg_replace(“/\[mpa:id=”.$id.”(.*)\]/”,$content,$post);

    3. Replace it with text:
    $post = preg_replace(“/\[mpa:id=”.$id.”\,(.*)\]/”,$content,$post);

    P.S. Sorry for my poor english

Viewing 1 replies (of 1 total)