via PayPal / credit card
Vanilla 1.1.10 is a product of Lussumo. More Information: Documentation, Community Support.
1 to 5 of 5
I've been trying to figure out for two days now what could possibly be wrong. I've read through a lot of the forum discussions, but still can't find an answer. From my understanding, the nggplugin will create the slideshow by pulling from the nggallery, instead of having to upload images and thumbnails to an album and creating xml files by hand. However, after installing and activating the plugin and uploading mss.swf to the uploads folder, as directed on the installation site, the only message i get is "no images found in .xml-file"
I'm hoping this is the issue (http://www.monoslideshow.com/forum/discussion/1258/) and I was wondering if any of the experts here (monokai, christoph, jed?) can see if there's anything wrong with the xml (which comes in form of xml.php in the nggallery-monoslideshow plugin; from what i can see it tells mss where to find the gallery/pics?)
<?php
if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You are not allowed to call this page directly.'); }
global $wpdb;
$ngg_options = get_option ('ngg_options');
$options = get_option ('monoslideshow');
$siteurl = get_option ('siteurl');
// get the gallery id
$galleryID = (int) $_GET['gid'];
// check if someone send the preset value
$preset = ( isset($_GET['preset']) ) ? $_GET['preset'] : '';
// get the pictures
if ($galleryID == 0) {
$pictures = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE tt.exclude != 1 ORDER BY tt.{$ngg_options['galSort']} {$ngg_options['galSortDir']} ");
} else {
$pictures = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->nggallery AS t INNER JOIN $wpdb->nggpictures AS tt ON t.gid = tt.galleryid WHERE t.gid = '$galleryID' AND tt.exclude != 1 ORDER BY tt.{$ngg_options['galSort']} {$ngg_options['galSortDir']} ");
}
// read some default options
$delay = (int) $options['delay'];
$randomize = ($options['randomize']) ? 'true' : 'false';
$scaleMode = $options['scaleMode'];
$kenBurnsMode = $options['kenBurnsMode'];
$onAlbumEnd = $options['onAlbumEnd'];
$controls = ($options['controls']) ? 'normal' : 'none';
$backgroundColor = ($options['bgTransparent'] == true) ? 'transparent' : '#' . $options['backgroundColor'];
$displayMode = $options['displayMode'];
$config = false;
//look for a preset file
if ( !empty($preset) )
$config = nggMonoslideshow::read_preset( $preset );
// Create XML output
header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
echo '<?xml version="1.0" encoding="' . get_option('blog_charset') . '"?'.'>';
echo "<album>\n";
if ($config === false) {
echo "\t<configuration onAlbumEnd='$onAlbumEnd' fullScreenScaleMode='$scaleMode' scaleMode='$scaleMode' backgroundColor='$backgroundColor' delay='$delay' randomize='$randomize'>\n";
echo "\t\t<caption displayMode='$displayMode' />\n";
echo "\t\t<controller type='$controls' />\n";
echo "\t\t<transition kenBurnsMode='$kenBurnsMode' />\n";
echo "\t</configuration>\n";
} else
echo "\t$config\n";
echo "\t<contents>\n";
if (is_array ($pictures)){
foreach ($pictures as $picture) {
$description = htmlspecialchars ( strip_tags( stripslashes( nggGallery::i18n($picture->description) ) ) , ENT_QUOTES );
if (!empty($picture->alttext))
$title = stripslashes( htmlspecialchars (nggGallery::i18n($picture->alttext) , ENT_QUOTES) );
else
$title = $picture->filename;
$path = $siteurl . '/' . $picture->path . '/' . $picture->filename;
$thumbnail = $siteurl . '/' . $picture->path . '/thumbs/thumbs_' . $picture->filename;
echo "\t\t<image id='$picture->pid' source='$path' title='$title' description='$description' thumbnail='$thumbnail' />\n";
}
}
echo " </contents>\n";
echo "</album>\n";
?>
Any advice appreciated.
oh i forgot to add, here's the website page that i'm testing it out on;
http://www.wallstreetbar.jp/bar2/mono-tst/
the mss is trying to access the same gallery as the nggallery, using the shortcode [monoslideshow id=9]
Sorry, I think just Monokai himself will be of any help. Try using the contact form; he seldom visits this forum.
Christoph
Hi,
I'm having the exact same issue, but I can't find a way to make this work, can someone help out?
My test link is here:
http://mkdigitaldirect.com/blog/gem-ebox-customers/
What I've done so far:
1. Purchased monoslideshow
2. Installed the NextGen Monslideshow plugin for Wordpress (http://wordpress.org/extend/plugins/nextgen-monoslideshow/installation/)
3. Activated the plugin
4. Uploaded the SWF (flash) file to the correct folder in my blog, and saved settings on Monslideshows WP settings
5. Create a WP page with the code: [monoslideshow id=1 w=450 h=350] (NOTE: I have of coarse, already created a gallery with photos).
When I preview the page, I still get an error...
What should I do?
Works for me. On both IE8 and FF
1 to 5 of 5