• [MOD] Slideshow II 4 0 5 1
Currently:  

Author Topic: [MOD] Slideshow II  (Read 265406 times)

0 Members and 1 Guest are viewing this topic.

Offline STL

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Wismut-Veilchen
Re: [MOD] Slideshow II
« Reply #45 on: April 06, 2006, 01:19:11 PM »
Habe die Slideshow 1.3 so weit installiert und möchte nun gern das Fenster der Slideshow anpassen.
Ich möchte eigentlich nur, dass die Bilder gezeigt werden, ohne meinen eigentlichen Banner der Seite, der ja immer mit gezeigt wird.
Auch die Suchfunktion stört mächtig, wenn man sich doch "nur" eine Diashow ansehen möchte.

An welcher Datei bzw. an welcheer Stelle müssen diesbezüglich Änderungen gemacht werden?
Vielen Dank für eure Mithilfe.

MfG STL.

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #46 on: April 07, 2006, 01:21:55 PM »
if you don't want to include the header and footer to the slideshow.html you have just to edit
templates/xxx/slideshow.html
xxx ... the name of your style directory

search for:
Code: [Select]
{header}and remove it

search for:
Code: [Select]
{footer}and also remove it

greets deejay_

Offline STL

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Wismut-Veilchen
Re: [MOD] Slideshow II
« Reply #47 on: April 17, 2006, 09:50:03 AM »
Super, das hat schonmal gut funktioniert. Hab auch gleich noch ein paar andere Änderungen an der slideshow.html vorgenommen.
Jetzt würde mich noch folgendes interessieren:
Kann man bei der Slideshow auch den Bildnamen mit anzeigen lassen?
Im Controlpanel hab ich dazu nix gefunden.

Vielen Dank für eure Mithilfe.

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #48 on: April 17, 2006, 11:05:52 AM »
In the current version their is no possibillity to show the name of the current image in the slideshow.
To do this you have to change a little bit of the code.
If you are so gentle an put this request in my mantis (http://www.the-deeja.yom/mantis) then i would include this feature in the next release.

best regards deejay_

Offline fabian

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: [MOD] Slideshow II
« Reply #49 on: May 04, 2006, 06:46:03 AM »
hi! i have some problem, i read this help,this

OPEN    /4images/scripts/4images.js (if not available /4images/templates/default/header.html)

but,i can't fine "4images.js" in my scripts file, so i will paste this code in header.html, right??

//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
  if (new_window == 2 || new_window == 1) {
    var width_avail = screen.availWidth-15;
    var height_avail = screen.availHeight-60;
    var width_full = screen.width;
    var height_full = screen.height;

    // Callculate the spaces from left and top to center the new window:
    var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
    var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
    if (new_window == 2) {
      window_width = width_avail;
      window_height = height_avail;
      left_space = 0;
      top_space = 0;
      url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
    } // if complete picture (whole window)

    slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
  } // if new_window
  else {
    window.location.href=url;
  } // else new_window
} // openslideshow

and, where are add to this code in the header.html, i add to last below, but it's can't work!! error,i fine this code show to my homepage!!
so~how do i work??  :?:

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #50 on: May 04, 2006, 06:32:18 PM »
hy fabian!

you are right.
but you have to souround the code with
Code: [Select]
<script language="JavaScript" type="text/javascript">and
Code: [Select]
</script>
this should work for your.

at least let me ask a question:
why, if you are not familiar with html,javascript and php, do you install mod's?

best regards deejay_

Offline STL

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • Wismut-Veilchen
Re: [MOD] Slideshow II
« Reply #51 on: May 05, 2006, 04:26:58 PM »
To do this you have to change a little bit of the code.
at which place must the change be made?

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #52 on: May 05, 2006, 09:17:52 PM »
the change has to be made in slideshow.php.
you have to expand the array wich contains information about the imagepath etc. with the imagename.
what you have to do exactly i could not tell you because there would it be easier to make the change and offer a new release.
but present i have no time for this.

best regards deejay_

Offline sullyirl

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • http://www.thenet2k.com
Re: [MOD] Slideshow II
« Reply #53 on: May 08, 2006, 03:25:46 AM »
Any chance of some english buttons?

I also noticed that the english langugage file (for the adminCP at least) isnt all english - it contains some dutch also.

osuejm

  • Guest
Re: [MOD] Slideshow II
« Reply #54 on: May 21, 2006, 11:33:16 PM »
I am using this mod on my website, but the only thing I haven't seen answered is how you do you input the name of the current picture in the slideshow and description above or below the picture.  All my pictures are before and after pictures and without any captions on the slideshow, it really doesn't make any sense what you  are looking at.  Can someone please help me?
« Last Edit: May 23, 2006, 08:05:29 PM by osuejm »

Offline Greifenvogel

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] Slideshow II
« Reply #55 on: May 30, 2006, 05:31:36 PM »
Hallo,

Ich habe das gleiche Problem allerding keine lösung hier im Forum gefunden.

Question:
After I click on "Diashow" a new window opens and displays the first image of the respective category. However, the Diashow doesn't start and both dropdown menus remain empty. I also get the following error messages:

Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\4images\slideshow.php on line 259
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\4images\slideshow.php on line 270

Could anyone please help me?!

Thanks a lot in advance!
JJBK

My specs:
- 4images V 1.7.1
- PHP: 5.0.5
- Apache 2.0.54
- MySQL 4.1.14

Offline pda

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: [MOD] Slideshow II
« Reply #56 on: May 30, 2006, 10:59:24 PM »
Thanks for this excellent mod!
It works like a charm. I guess that's one of the best documented mod which I've ever seen. Wow! Even with a update script.
Well, there is actually just one thing to improve this mod. Something which has been able the include in the old version. A Lighbox slideshow (also for the multi lightbox mod). What do you think about that, is that possible or i it already done and I am just to stupid to find it  :roll:

Thansk again to all 4images "modder's"

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: [MOD] Slideshow II
« Reply #57 on: June 04, 2006, 10:51:15 AM »
i get this error for some reason  :?:



Using firefox nothing happens at all, using IE the page loads with an error, which is the above message.

would be greatful for any suggestions



pay attention on       
Code: [Select]
OPEN    /4images/scripts/4images.js (if not available /4images/templates/default/header.html)

END ADD

//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
function openslideshow(url,window_width,window_height,new_window) {
  if (new_window == 2 || new_window == 1) {
    var width_avail = screen.availWidth-15;
    var height_avail = screen.availHeight-60;
    var width_full = screen.width;
    var height_full = screen.height;

    // Callculate the spaces from left and top to center the new window:
    var left_space = ((width_avail - window_width) > 0) ? parseInt((width_avail - window_width) / 2) : 0;
    var top_space = ((height_avail - window_height) > 0) ? parseInt((height_avail - window_height) / 2) : 0;
    if (new_window == 2) {
      window_width = width_avail;
      window_height = height_avail;
      left_space = 0;
      top_space = 0;
      url += "&maw="+(window_width-97)+"&mah="+(window_height-194)+"&msw="+width_full+"&msh="+height_full;
    } // if complete picture (whole window)

    slideshow_window = window.open(url,"slideshowwindow","resizable=yes,dependent=yes,hotkeys=no,location=no,menubar=no,scrollbars=yes,status=yes,toolbar=no,width="+window_width+",height="+window_height+",left="+left_space+",top="+top_space+"");
  } // if new_window
  else {
    window.location.href=url;
  } // else new_window
} // openslideshow

when script is in header it works perfect when in other place it wont ;)

but....
I found another problem

on the end of slideshow (in new window) when we can see info about end and must click [ok]
then... when click on image (last) it wont close window and go to image in parent window

explorer shows script error
Quote
Line:1
Char:2
Code:0
Error:'theimage[...].2' is empty or its not object
URL:http://say10.pl/slideshow.php?action=slideshow&cat_id=52&maw=1168&mah=742&msw=1280&msh=1024

« Last Edit: June 04, 2006, 06:34:23 PM by Zyga »

Offline Delirium

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: [MOD] Slideshow II
« Reply #58 on: June 14, 2006, 10:36:15 AM »
Habe dieses Problem auch.
Gibt es eine Lösung?

Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/web1/html/gallery/slideshow.php on line 259

Warning: Invalid argument supplied for foreach() in /srv/www/htdocs/web1/html/gallery/slideshow.php on line 270

Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #59 on: June 14, 2006, 11:06:25 AM »
@all and in special case @Delirium:

Please always post the link to your gallery, so I could take a look at the problem.
That makes it easier to solve the problem  :lol:

@Delirium: Please send me a PM with the link to your gallery!

best regards deejay_