Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author SocialBlogsite

    (@socialblogsite)

    Did you try it in a REAL website?

    You are running it on a simulated server on your computer. It’s not even a real Apache server. I’m not sure Facebook API allows every mutant configuration we want.

    Second: There’s no plugin_sandbox_scrape() function in the whole plugin (the part I build nor the original fotobook plugin)

    Third, the the loop looks fine. I just run it by itself.
    You can test it anywhere online like here https://writecodeonline.com/php/

    $albums = array ('album1', 'album2');
    function fb_display_album(){
    return true;
    }
    foreach($albums as $album):
    			$page_id = $albums[$curr_album]['page_id']; ?>
    			<div class="album" id="album-<?php echo $curr_album; ?>" style="left: <?php echo ($curr_album-1) * 100/sizeof($albums); ?>%; width: <?php echo 100/sizeof($albums) ?>%; ">
                    <div class="sub-album">
                            <?php echo fb_display_album($page_id); ?>
                    </div>
                    <div class="descr_cont"><p class="descr"><?php echo trim($album['name']); ?></p></div>
    			</div>
    			<?php $curr_album ++;
    			endforeach;

    Let me know if it doesn’t work online, or in a real Apache server (Apple computers have its own, and every day it’s easier to setup)

    Plugin Author SocialBlogsite

    (@socialblogsite)

    Can you rate it “works” if you make it work in any other installation?
    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Darkroom Facebook Photo Gallery] It is broken with the latest versino of WP’ is closed to new replies.