Author Topic: Flash Slideshow  (Read 218764 times)

0 Members and 2 Guests are viewing this topic.

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #120 on: November 04, 2006, 05:16:18 PM »
Hallo Erik,

danke für die schnelle Antwort, das Thema Bildgröße habe ich mitbekommen, sollte aber bei mir nicht zutreffen. Alle Bilder werden vor dem Upload - gleich groß gemacht ;-)
Es werden aber immer nur die aktuell angezeigten Bilder einer Kategorie angezeigt... also z.B. 9 von 50 und auf der nächsten Seite dann die Bilder 10-19 von 50... und immer so weiter....
Stelle ich auf der Kategorie_Seite ein daß z.B. 30 Bilder angezeigt werden sollen dann zeigt auch die Slideshow 30 Bilder von 50 an...

Gerne kannst Du es Dir auf meiner Seite ansehen: http://galerie.diefrieds.de   demo/demo

Viele Grüße



Hallo,

das gleiche Verhalten ist bei mir auch, habe aber bisher leider noch keine Lösung dafür gefunden.
Habe gerade beim Quelltext lesen gesehen, daß wohl dort auch Vorbereitungen sind, die Slightshow aus seiner Lightbox aus zu starten und somit nur seine Lieblingsbilder anzusehen.
Hat dazu jemand nähere Infos?

Grüße

Erik

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #121 on: November 04, 2006, 05:37:20 PM »

Habe gerade beim Quelltext lesen gesehen, daß wohl dort auch Vorbereitungen sind, die Slightshow aus seiner Lightbox aus zu starten und somit nur seine Lieblingsbilder anzusehen.

Gerade gefunden: Wenn man

flashshow.php?mode=lightbox

in seinem Gallery Root Verzeichnis startet, wird eine Slideshow aus Bildern der Lightbox angezeigt. Wie bekomme ich jedoch den Butten auf die Lightbox Seite angezeigt?

Hat jemand eine Modifizierte lightbox.php?

Erik

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #122 on: November 04, 2006, 07:32:47 PM »
flashshow.php?mode=lightbox

Hallo,

es hat mich nicht in Ruhe gelassen, habe nun die lightbox.php auch angepaßt, so daß Ihr eine Slideshow von Eurer lightbox starten könnt.

Dazu müßt Ihr als erstes in Eurem Templateverzeichnis die Datei lightbox.html öffnen und {flashshow_button} einfügen, sollte dann so aussehen:

 <td align="right">{download_button}{flashshow_button}</td>

Anschließend tauscht Ihr Eure lightbox.php Datei mit dieser aus. Ist übrigens Version 1.7.4.

Viel Spaß

Erik

Offline egyptsons

  • Newbie
  • *
  • Posts: 47
    • View Profile
    • Egypt Sons
Re: Flash Slideshow
« Reply #123 on: November 05, 2006, 12:31:00 AM »
Quote
Warning: fopen(slideshow_3.xml) [function.fopen]: failed to open stream: Permission denied in /home/egyptson/public_html/gallery/categories.php on line 228

Hi,

this error comes from your php settings in your php.ini. Your options are set to "safe_mode = On ", change it to "safe_mode = Off" and it should work. But you will put down the security level of your web server which could have some risks for hacks.

Please have a look at http://de.php.net/features.safe-mode or search for "safe_mode and php" at google for further information.

Erik


Thanx Erik  8)
I will try to make it off  :roll: :|
Thanx God

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: Flash Slideshow
« Reply #124 on: November 06, 2006, 05:32:02 AM »
I fixed the "upgrade.html not found" Problem in Firefox and Mozilla Browser

open flash_detect.js file in your 4images mail directory

above:
Code: [Select]
   // IE4+ Win32:  attempt to create an ActiveX object using VBScript
   else if (agent.indexOf("msie") != -1 && parseInt(navigator.appVersion) >= 4 && agent.indexOf("win")!=-1 && agent.indexOf("16bit")==-1) {

add:
Code: [Select]
<object type="application/x-shockwave-flash" data="slideshow4.swf" width="800" height="600">
<param name="movie" value="slideshow4.swf" />
<param name="menu" value="false" />
<param name="bgcolor" value="#BFC901" />
Your browser does not support flash.
</object>

Can be that you dont need all the param name, like bgcolor, but i dont know.

Tell me if this worked out for you.


I am having this problem how can i fix this

and what should i edit in categories.php cause on the package it has the option to replace it but i have other mods installed as well so what changes should i really make.... what should i modify
« Last Edit: November 06, 2006, 06:23:34 AM by __G__ »

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #125 on: November 06, 2006, 07:34:05 AM »
I am having this problem how can i fix this

and what should i edit in categories.php cause on the package it has the option to replace it but i have other mods installed as well so what changes should i really make.... what should i modify

Hi,

please open a categories.php from my last posts. If you scroll it down, you will find the modified parts of the file. You must copy and paste all of them to you file at the same positions.

The flashdetect.js file of my post works well on Firefox 1.5 and 2, IE and opera. Please download the latest zip-file and try with this.

Erik

Offline __G__

  • Sr. Member
  • ****
  • Posts: 286
    • View Profile
Re: Flash Slideshow
« Reply #126 on: November 07, 2006, 05:55:06 PM »
wow it works but i have one quick question how come the gif images dont come on the slide show ? and the flashshow.html is comin as a small window how can i make it full screen popup in firefox please someone help me :D
« Last Edit: November 08, 2006, 10:25:02 AM by __G__ »

Offline holzkuchen

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Flash Slideshow
« Reply #127 on: November 11, 2006, 07:11:36 PM »
Hey,

habe:

- wamp
- 4 images 1.7.4
- [MOD] Flash Slideshow - vorne verlinkt

4 images läuft ohne den MOD prima..
aber mit Flash Sideshow bekomme ich ne Fehlermedlung

Alles nach anleitung eingebunden und dann Fehler:

DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id = 1 AND c.cat_id = i.cat_id ORDER BY image_name ASC LIMIT 0, 9
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Programme\wamp\www\4images\includes\db_mysql.php on line 116

Was läuft da nicht???

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #128 on: November 12, 2006, 12:41:57 AM »
DB Error: Bad SQL Query: SELECT i.image_id, i.cat_id, i.user_id, i.image_name, i.image_description, i.image_keywords, i.image_date, i.image_active, i.image_media_file, i.image_thumb_file, i.image_download_url, i.image_allow_comments, i.image_comments, i.image_downloads, i.image_votes, i.image_rating, i.image_hits, c.cat_name, u.user_name FROM 4images_images i, 4images_categories c LEFT JOIN 4images_users u ON (u.user_id = i.user_id) WHERE i.image_active = 1 AND i.cat_id = 1 AND c.cat_id = i.cat_id ORDER BY image_name ASC LIMIT 0, 9
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\Programme\wamp\www\4images\includes\db_mysql.php on line 116

Was läuft da nicht???

Hi,

kann es sein, daß Du php 5 nutzt und eine ältere Version der categories.php in Dein Verzeichnis kopiert hast. Dort sind die SQL Statements noch nicht angepaßt. Nutze bitte die Datei aus dem letzten ZIP-File, die funktioniert mit 1.7.4

Erik

Offline holzkuchen

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Flash Slideshow
« Reply #129 on: November 12, 2006, 04:57:55 PM »
Hey Erik,

danke für deine Antwort.

habe jetzt deine Version benutzt - nicht die von GAGA.
kaum macht man es richtig schon funktionierts  :D!

« Last Edit: November 12, 2006, 05:15:10 PM by holzkuchen »

Offline Yeti

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Bernds Homepage
Re: Flash Slideshow
« Reply #130 on: December 21, 2006, 12:55:42 PM »
Bei mir kommt immer die Fehlermeldung:
"Warning: fopen(slideshow_1.xml): failed to open stream: Permission denied in /www/htdocs/v157014/Gallery/categories.php on line 229 " wenn ich auf eine Kategorie klicke. Genau wie ein paar Postings vorher bei Egyptsons.
Save Mode ist definitiv auf off. (Hat mein Web-Hoster bestätigt)
Des weiteren schreibt er: Die von Ihnen genannten Fehlermeldung bedeutet, dass die Datei slideshow_3.xml keine ausreichenden Zugriffsrechte hat.
Bitte ändern Sie das in Ihrem FTP-Client.

Habe als alle betroffenen Dateien probeweise auf Zugriffsrechte 777 gesetzt. Leider hat das nichts geändert. Ich habe die Dateien aus Flash SlideShow_4_1 benutzt. Meine 4 Images Version ist 1.7.4
Zeile 229 enthält: "if (!$handle = fopen($xmlfile_user, 'a')) {"
Zeile 32 enthält den Code der Statistik-Mod "include(ROOT_PATH.'includes/stats.php');" Aber den zu entfernen hat auch nicht gebracht
Hat noch jemand irgendeine Idee?

After Installation I get the failiure message "Warning: fopen(slideshow_1.xml): failed to open stream: Permission denied in /www/htdocs/v157014/Gallery/categories.php on line 229 " as soon as I click a categorie. As in a few postings earlier discriebs by Egyptsons.
Save Mode is off, as my Web-Hoster confirmed
He told me to change th chmod
For testig i´d set chmod of affected files to 777. No changes, failiure message stays the same. My 4 Images Version: 1.7.4 I used Flash Slide Sow 4_1 Anybody any further ideas?

Row 229 shows    "if (!$handle = fopen($xmlfile_user, 'a')) {"

on row 32 iI added "include(ROOT_PATH.'includes/stats.php');" due to the statistic mod. Removing this had no success

 :cry:

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #131 on: December 21, 2006, 01:41:27 PM »
Zeile 229 enthält: "if (!$handle = fopen($xmlfile_user, 'a')) {"
Zeile 32 enthält den Code der Statistik-Mod "include(ROOT_PATH.'includes/stats.php');" Aber den zu entfernen hat auch nicht gebracht
Hat noch jemand irgendeine Idee?

Hi Yeti,

ich weiß jetzt nicht genau, ob mittels fopen die Datei lokal oder über HTTP angesprochen wird.
Wird sie über HTTP angesprochen, kommt noch das FLAG "allow_url_fopen" zum tragen, das der Provider aus Sicherheitsgründen setzen kann. Ich denke, daß er den Zugriff damit sperrt.

Schau bitte mal hier:
http://de2.php.net/fopen
und
http://de2.php.net/manual/de/ref.filesystem.php#ini.allow-url-fopen

Schau doch einfach mal in Deinen PHP-Einstellunen (phpinfo()), dort wird angezeigt, ob Du das Feature nutzen kannst, oder nicht.

Grüße

Erik

Offline Yeti

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Bernds Homepage
Re: Flash Slideshow
« Reply #132 on: December 21, 2006, 01:54:43 PM »
Da steht eine Menge, aber nichts von "fopen",,,
System  Linux dd8616 2.6.17.8-nmm1 #3 SMP Tue Aug 15 21:25:52 CEST 2006 i686 
Build Date  Nov 3 2005 14:01:23 
Configure Command  './configure' '--prefix=/usr/share' '--datadir=/usr/share/php' '--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include' '--with-lib=lib' '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin' '--disable-debug' '--enable-bcmath' '--enable-calendar' '--enable-ctype' '--enable-dbase' '--enable-discard-path' '--enable-exif' '--enable-filepro' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-imgstrttf' '--enable-gd-native-ttf' '--enable-inline-optimization' '--enable-magic-quotes' '--enable-mbstr-enc-trans' '--enable-mbstring' '--enable-mbregex' '--enable-memory-limit' '--enable-safe-mode' '--enable-shmop' '--enable-sigchild' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-trans-sid' '--enable-versioning' '--enable-wddx' '--with-pdflib=/usr/local' '--with-bz2' '--with-dom=/usr/include/libxml2' '--with-ftp' '--with-gdbm=/usr' '--with-gettext' '--with-gmp' '--with-imap-ssl=/usr/include/openssl' '--with-imap=/usr/local/ext-imap' '--with-jpeg-dir=/usr' '--with-mcal=/usr' '--with-mcrypt' '--with-mysql=/usr' '--with-ndbm' '--with-png-dir=/usr/local' '--with-t1lib' '--with-tiff-dir=/usr' '--with-ttf' '--with-freetype-dir=yes' '--with-xml' '--with-xpm-dir=/usr/X11R6' '--with-zlib=yes' '--with-zlib-dir=/usr' '--with-gd' '--with-openssl' '--with-curl' '--with-imap-ssl' '--with-iconv' '--with-apxs=/usr/sbin/apxs' 
Server API  Apache 
Virtual Directory Support  disabled 
Configuration File (php.ini) Path  /etc/php.ini 
PHP API  20020918 
PHP Extension  20020429 
Zend Extension  20050606 
Debug Build  no 
Zend Memory Manager  enabled 
Thread Safety  disabled 
Registered PHP Streams  php, http, ftp, https, ftps, compress.bzip2, compress.zlib 

Offline Erik

  • Jr. Member
  • **
  • Posts: 83
    • View Profile
    • http://www.koelschwasser.de
Re: Flash Slideshow
« Reply #133 on: December 21, 2006, 02:09:49 PM »
Da steht eine Menge, aber nichts von "fopen",,,
System  Linux dd8616 2.6.17.8-nmm1 #3 SMP Tue Aug 15 21:25:52 CEST 2006 i686 

Hi,

bei mir steht auf der Webseite, mit den PHPinformationen u.a.:

----------------------------------
Configuration
PHP Core
Directive   Local Value   Master Value
[...]
allow_url_fopen   On   On
[...]
----------------------------------
Erik

Offline Yeti

  • Newbie
  • *
  • Posts: 40
    • View Profile
    • Bernds Homepage
Re: Flash Slideshow
« Reply #134 on: December 23, 2006, 08:31:46 PM »
Ich habe jetzt die Slideshow 2 eingebaut anstatt die Flash-Slideshow. Die funktioniert bei mir 1a.

I´d install the Mod SlideShow 2 instead of the Flash Slide Show. It works great on my Website