Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Follow us on Facebook
Follow us on Google+
View Thread
Who is here? 1 guest(s)
 Print Thread
Latest Photo SlideShow
AT0m
www.php-fusion.co.uk/infusions/addondb/img/screenshots/t_1311.jpgThis Infusion is a Upper Center Panel For Show Latest Photos in Flash Slide Show.

-- View this Addon --
 
supersonic
panel does not show up content i see a quick circle flash then gone a blank panel
 
afoster
I have not installed this yet, but wanted to know how to eliminate two album_id's from being shown. I'm thinking the code would be something like this:

Download source  Code
SELECT photo_filename, photo_title, photo_description, photo_thumb2, album_id
   FROM ".DB_PHOTOS."
   WHERE album_id <> 2 OR <> 3
   ORDER BY photo_datestamp
   DESC LIMIT 0,10




Am I on the right track?
 
PolarFox
Download source  Code
WHERE album_id <> 2 OR album_id <> 3




or

Download source  Code
WHERE album_id NOT IN (2,3)




PS yep, on route!
 
http://unlogic.info
supersonic
see if anyone else can get this to show up content ???? as thats bamboozled me tried a few times so its time to roll up sleves and check code out ...........
 
afoster
Just tested and the content is visible, however the photos appear in full size...have to figure out how to shrink size of photo as in many photos size of panel is too small for photo.
 
KasteR
supersonic, you have content residing in your photo gallery and still having this issue? Forgive me, I'm not trying to insult you. Might be able to help you out.
 
http://kaster.us
supersonic
KasteR wrote:

supersonic, you have content residing in your photo gallery and still having this issue? Forgive me, I'm not trying to insult you. Might be able to help you out.


yeah KasteR here is my url

www.v-o-l-v-o.org...

i will enable the panel and pop it on public view i did pop firebug on and it said "NetworkError: 404 Not Found - http://www.v-o-l-....xml" ..............

thank you for the help it would be nice to get this working Smile
Edited by supersonic on 31-01-2013 21:35
 
afoster
Isn't the name of the file FlashSlide.swf rather than FlashSlide.xml or is my coding ignorance showing?
 
supersonic
that was my first thought i did try editing that line but no luck

Error: file_put_contents(../infusions/latest_photo_slideshow_panel/FlashSlide.xml): failed to open stream: Permission denied Line: 43

Source code (Line: 33 - 52)
33 <slide>
34 <file>".$settings['siteurl']."images/photoalbum/album_".$data['album_id']."/".$data['photo_filename']."</file>
35 <tnfile>".$settings['siteurl']."images/photoalbum/album_".$data['album_id']."/".$data['photo_thumb2']."</tnfile>
36 <title>".$data['photo_title']."</title>
37 <description>".$description."</description>
38 </slide>
39 ";}
40
41 $XML_File .= "</slideshow>";
42
43 file_put_contents(INFUSIONS."latest_photo_slideshow_panel/FlashSlide.xml",$XML_File);
44
45 echo "\n<!-- SlideShow -->\n";
46 echo "<div align='center'>\n";
47 echo "<embed src='".$settings['siteurl']."infusions/latest_photo_slideshow_panel /FlashSlide.swf' ";
48 echo "type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' ";
49 echo "quality='high' allowscriptaccess='always' allowFullScreen='true' wmode='transparent' ";
50 echo "width='100%' height='259' align='middle'></embed>\n";
51 echo "</div>\n\n";
52
 
KasteR
afoster wrote:

Isn't the name of the file FlashSlide.swf rather than FlashSlide.xml or is my coding ignorance showing?

I thought the same thing at first, check out the original thread. This was addressed there.

The XML file is being created. It's not going to come with the addon because XML is like HTML. There's no variables. So this panel is generating the XML based on your photo galleries current content.

supersonic, bare with me. Let me see what I can do for you. I had the same issue, but my problem was that I didn't have any thumbnail image specified for my category. I see you do, so I'll have to look into this.

Ref: http://www.php-fusion.co.uk/forum/viewthread.php?thread_id=32047&pid=176321#post_176319
 
http://kaster.us
supersonic
cheers buddy Smile will keep checking back for updates

--
Edited by HobbyMan on 01-02-2013 08:54
 
AT0m
supersonic wrote:

panel does not show up content i see a quick circle flash then gone a blank panel


Hi Check items:

1 - Go to \images\photoalbum Check exist Images
2 - Go to Source Code view in your browser and check both address
Check yoursite.com/infusions/latest_photo_slideshow_panel/FlashSlide.swf
Check yoursite.com/infusions/latest_photo_slideshow_panel/FlashSlide.xml

3- use normal char and ASCII char for pictures name
4- format valid : gif, jpg, png, jpeg
Edited by AT0m on 01-02-2013 13:52
 
KasteR
supersonic, I'd follow AT0m's advice. There shouldn't be a reason for this to not work, unless the files are missing or something he's specified above.

Looks like you currently have FlashSlide.swf on your server, with thumbnails for your album categories. I'll admit, the issue is weird.
 
http://kaster.us
jekov
Nothing can be done with the Cyrillic charset on the background of pictures, how to iconv insert to swf? Thank you!
 
http://troyanovo.comyr.com
AT0m
jekov wrote:

Nothing can be done with the Cyrillic charset on the background of pictures, how to iconv insert to swf? Thank you!


i test this version with utf-8 file name, Worked!

for Cyrillic charset to other charset iconv is good but not need.
http://www.php.ne....iconv.php
 
jekov
Just for Cyrillic encoding Latest Photo SlideShow is useless and really is needed converting because displayed nonsense.But it is hardly possible to make with iconv to swf.
 
http://troyanovo.comyr.com
AT0m
jekov wrote:

Just for Cyrillic encoding Latest Photo SlideShow is useless and really is needed converting because displayed nonsense.But it is hardly possible to make with iconv to swf.


i test with UTF-8 filename title and description string good worked!
my flash player is 11.6
file_put_contents() format is unix utf8
swf font is 'Verdana'

i can change only font name for fix your problem!
Edited by AT0m on 02-02-2013 07:43
 
supersonic
i went right through list before but have re checked again all above and nothing works !!!! all i can put it down to is another infusion is goofing with it maybe a fresh install would work all ok but for people like me fully modded and heavily installed i would say it has issues ! as i just canny get to work shame but never mind i can hand it to my coder to re write to work when i link up with him so no biggy i will post a flawless update when i gain it from my coder
 
AT0m
supersonic wrote:

i went right through list before but have re checked again all above and nothing works !!!! all i can put it down to is another infusion is goofing with it maybe a fresh install would work all ok but for people like me fully modded and heavily installed i would say it has issues ! as i just canny get to work shame but never mind i can hand it to my coder to re write to work when i link up with him so no biggy i will post a flawless update when i gain it from my coder


you can add manual any Slide Show
copy html code to panel
http://www.google...+slideshow
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
user photo gallery Official releases [Infusions] 18 24-04-2014 17:25
Users can edit/replace their own submitted photo Modifications and Requests 6 08-04-2014 22:46
Horizontal Latest Articles Ticker Panel Official releases [Panels] 11 19-03-2014 07:30
Latest comments - page Panels and Infusions 5 04-03-2014 17:25
Photo Gallery Content Administration 6 01-03-2014 17:01
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel fromVenue