4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: deejay_ on April 05, 2005, 09:36:19 PM

Title: [MOD] Slideshow II
Post by: deejay_ on April 05, 2005, 09:36:19 PM
Hi all!

I have made a MOD which increases the slideshow mod with many features.

If you want to post bugs or problems or any new features
please first look at http://www.the-deejay.com/mantis/ (4images/4images) for allready existing problem/bug/feature.
If you did not find what you want to know you are pleased to post it in the forum.
If someone translates the language files (admin_slideshowII.inc, main_slideshowII.inc) to his mother tongue i will be happy if he/she sends me the translated files, so i can include them in the zipfile for the mod.
And if someone send me additionally the install and update file translated too, then the mod would getting more and more simple to install.

Code: [Select]
SlideshowII MOD for 4images - Image Gallery Management System.

Version: 1.3

Date: 2004-07-11

Author: Daniel Janesch <admin@the-deejay.com> http://www.the-deejay.com

Description:

This MOD shows all pictures of one Gallery as an slideshow. You can choos between three direction (ascending, descending or coincidentally).
The pictures could also changed manually and the time who long a picture is shown could also be changed.
Also you can use crossfade effects for visitors with internet explorer.

For a live-demo you can visit http://www.the-deejay.com.

New in v1.3 - 2004-07-11
    Now it is possible to turn on/off the message after all pictures are shown in the controll panel.
    Also the slideshow could be opend in new a full size window.
    The javascript error is now catched for Opera browsers.

v1.2 - 2004-06-13
    Now you can choose if the slideshow should open in a new window or not in the control panel.
    Additional you can choose if you open the details or not when the visitor clicks on an image.
    And you can set the maximum size (height, width) of the pictures in the slideshow.

v1.1 - 2004-06-04
    All script parts which have to be copied into existing files are now in new files and
    only a reference to the file is inserted in the existing file.
    Now all single quotes (') have been replaced by double quotes (").
    Also the slideshow button is available as simple text link {slideshow_link} .

v1.0 - 2004-05-27
    The release of the slideshow mod II.


Installation Level: Easy
Installation Time: 10 Minutes

Files To Edit: 9
       
        /4images/templates/default/categories.html
        /4images/scripts/4images.js (if not available /4images/templates/default/header.html)
        /4images/templates/default/header.html
        /4images/categories.php
        /4images/admin/index.php
        /4images/lang/english/admin.php
        /4images/lang/english/main.php
        /4images/lang/deutsch/admin.php
        /4images/lang/deutsch/main.php



You can downlod the files (172KB) at: http://www.the-deejay.com/downloads/ (http://www.the-deejay.com/mambo/component/option,com_docman/task,doc_details/gid,7/Itemid,134/)
Also you could donwload an arabic translation at: http://www.the-deejay.com/downloads/ (http://www.fotoeck.at/cms/index.php?Itemid=83&option=com_zoo&view=item&category_id=10&item_id=31)
Thanks to Omar Aziz (mr.omaraziz@gmail.com) for the translation.

A running live-demo could be viewed under http://www.the-deejay.com/

deejay_
Title: Re: [MOD] Slideshow II
Post by: Vincent on April 06, 2005, 09:29:42 PM
would be nice if it would not only work in a catecorie
but also by search keywords and then have a Slideshow!

vincent
Title: Re: [MOD] Slideshow II
Post by: lachendepaul on April 07, 2005, 01:00:52 PM
Hi,

There is a problem.
When i'm logged in with my administrator password i can see in every group the slide show
When i'm logged in with a normal user password i can see the slide show not in all groups, there are some who works and some who dont work

When i'm not logged in i see no slideshow in the groups.

ALSO WHEN I AM CHANGED THIS OPTION IN THE ADMIN:
Should the slideshow button only be shown registred users YES/NO
Title: Re: [MOD] Slideshow II
Post by: max.cady on April 07, 2005, 08:39:22 PM
Same problem here. Even if the settings say the slideshow button should be visible for unregistered users too ... no button shows up unless the user logs in. Otherwise great tool!
Title: Re: [MOD] Slideshow II
Post by: lachendepaul on April 13, 2005, 04:10:20 PM
My problem is not solved right now, so nobody can't see my slideshow (problem is writing 2 message before).

But i'm also busy with the layout of the slide show (and also wait for a comment of my fault),
and there is an another problem. My text for PAUZE, CONTINUE, NEXT, PREVOUIS is BLUE.
But my layout is also blue, so you dont see the text because its the same colour.

But this is the code of my css file:
Code: [Select]
.head1 {
  background-color: #004C75;
  color: #ffffff;
  font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
}

And this is the code of my slideshow:
Code: [Select]
    <table width="700" border="0" cellspacing="0" cellpadding="0" class="tablebottom">
        <tr>
          <td width="6"><img src="{template_url}/images/header_detail_left.gif" width="6" height="19" alt="" /></td>
          <td width="684" align="center" class="head1">
            <b>{first_pic_link}<b>&nbsp;&nbsp;
            <b>{prev_pic_link}<b>&nbsp;&nbsp;&nbsp;
            {current_image_of}
            &nbsp;&nbsp;&nbsp;<b>{next_pic_link}<b>
            &nbsp;&nbsp;<b>{last_pic_link}<b>
          </td>
          <td width="6"><img src="{template_url}/images/header_detail_right.gif" width="6" height="19" alt=""/></td>
        </tr>
        <tr><td><img src="{template_url}/images/spacer.gif" width="1" height="5" alt="" /></td></tr>
        <tr>
          <td colspan="3" align="center" class="head1">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{order_list}&nbsp;&nbsp;&nbsp;
            {stop_play_button}&nbsp;&nbsp;&nbsp;
            {interval_list}
          </td>
        </tr>
      </table>
Title: Re: [MOD] Slideshow II
Post by: max.cady on May 16, 2005, 06:21:41 AM
Hi Paul,
I had the same problem that only registered users could see the slideshow button. However this problem has suddenly dissappeared.

I am not quite sure why ... it must have been due to any other mod I have installed. I am no expert here so I can only guess ... one mod required an updated paging.php (http://mirror2.vano.org/index.php?action=dl&id=18"). Not sure if it really has any influence on the slide show button but it is the only explanation I have for the problem suddenly being solved :wink:

In the meantime the slideshow has become one of my favorite mods  :D
Title: Re: [MOD] Slideshow II
Post by: sicarius on May 17, 2005, 05:56:03 PM
I've the same problem ...  :cry:

Has Anybody Solved This Problem ???
Title: Re: [MOD] Slideshow II
Post by: sicarius on May 18, 2005, 12:29:11 AM
 :D :D :D :D :D

The Reason:

Only when "Upload" is aktiv. "Diashow" will be visible!!!
When Upload is not aktiv. "Diashow" are invisible.


It would be nice when anybod fixed this bug  :mrgreen:
Title: Re: [MOD] Slideshow II
Post by: sicarius on May 18, 2005, 12:45:43 AM
 :? Another Bug:

When the end of die diashow is reached and you click on the last Picture you go not to the detail screen.

I used Firefox.
Title: Re: [MOD] Slideshow II
Post by: max.cady on May 18, 2005, 07:07:48 PM
sicarius,
just download and install the paging.php from v@no
http://gallery.vano.org/file18dl

After I installed it I didn't have any problems with the visibility of the
slideshow button any more. Don't ask me why ... but it solved the problem  :D
Title: Re: [MOD] Slideshow II
Post by: max.cady on May 22, 2005, 11:03:00 AM
I have usually jpg-files and everything works fine.  :D
Now I had a gif-file and the slideshow just skipped it.
Is there a way to enable the mod for gif-files too?

Most of my files are jpg files anyway and if I know it wont work with gif I will stick to my jpg files.
However  .. I am just curious what is the reason for not displaying gif-files and if there is a way to
extent the slideshow to gif files.
Title: Re: [MOD] Slideshow II
Post by: fatty on May 24, 2005, 01:34:42 AM
i get this error for some reason  :?:

(http://www.thatnite.com/images/error.jpg)

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

Title: Re: [MOD] Slideshow II
Post by: fatty on May 24, 2005, 02:03:14 AM
http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b

taking the url section from the properties of the slideshow button and adding the rest of the site link to it seems to work:

From properties of button:
./slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b

Modded to:
http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b
Title: Re: [MOD] Slideshow II
Post by: Silver-MG on July 20, 2005, 11:03:06 AM
Hallo

Ich habe die 4images_slideshowII_1_3.zip Installiert. Wenn ich nun in meiner Galerie auf den Button
Diashow klicke,bekomme ich folgenden Fehler....

Zeile : 1
Zeichen: 1
Fehler: Objekt erwartet
Code:0
URL: /galerie/categories.php?

Ich suche nun schon seit Stunden diesen Fehler und komme nicht weiter.

Ich hoffe mir kann hier jemand weiterhelfen ?
Title: Re: [MOD] Slideshow II
Post by: IzyB on July 22, 2005, 09:46:48 PM
Does this work fine in 1.71?
Title: Re: [MOD] Slideshow II
Post by: no-way on July 24, 2005, 05:31:59 PM
 :D also bei mir funzt die Slideshow einwandfrei... Ich arbeite mit 4Images 1.7.1
Könnt Ihr mir sagen welche Veränderung ich vornehmen muss, damit die slideshow in die Mitte meiner Homepage eingebunden wird (include=x) (PHPKIT 1.6.1 & C.C.P 1.9.2)

Danke im Voraus


My slideshow works very well without any problems. I've got 4Images 1.7.1
Does anybody nows how I can include the slideshow in the middle of my homepage? (include=x) (PHPKIT 1.6.1 & C.C.P 1.9.2)
Title: Re: [MOD] Slideshow II
Post by: Vincent on July 24, 2005, 07:03:26 PM
@no way
ich habe mir eine leere Datei erstellt mit nur der Naviliste auf der seite und dem Oberen bereich!
Diese "leere" Datei ist meine Basis - darin habe ich dann den wichtigsten teil des code aus der slideshow.html reinkopiert!
zu besichtigen auf meiner Seite!

darf meine deine homepage sehen - und wie hast du es mit dem ö ä ü erledigt?

gruss
vincent
Title: Re: [MOD] Slideshow II
Post by: no-way on July 24, 2005, 09:02:15 PM
@Vincent
leider ist meine Homepage ein geschlossenes Forum, aber zu der ö ä ü Frage
Meinst Du das Problem bei Usern die äöü in Ihrem Nickname tragen?
Wenn ja, dann findest Du hier die Lösung... wenn Du etwas anderes meinst, dann poste doch noch einmal

http://www.phpkit.at/ccp_web/forum_thread_3539.html
Title: Re: [MOD] Slideshow II
Post by: Vincent on July 24, 2005, 10:05:38 PM
@no way
wenn du auf meiner Homepage bist und dir eine Diashow ansiehst und im Titel des Bildes ein ä ö ü ist dann wird es komisch dargestellt!
http://www.foto-kocher.com/categories.php?cat_id=2
nach dem 6 Bild wirst du das Problem sehen und verstehen

gruss
vincent
Title: Re: [MOD] Slideshow II
Post by: no-way on July 27, 2005, 12:09:49 PM
@ Vincent

erstmal ein Lob für Deine HP echt super... da ich selber begeisterter Makrofotograph bin, kann ich die Aufnahmen nur genießen...

Zu Deiner Frage:
Da ich selber den Titel dr Bilder nicht anzeigen lasse, hat sich das Problem für mich noch nicht gestellt. Ich werde mich mal umhören was man da machen kann...

Gruß
no-way

Title: Re: [MOD] Slideshow II
Post by: IzyB on July 31, 2005, 12:19:43 AM
I just finished installing this Mod and got all these errors:

//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("main_slideshowII.inc");
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

Warning: Cannot modify header information - headers already sent by (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 92

And this shows just above the "Categories"

//----------------------------------------------------- //--- 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

I also cannot get into my Admin CP. I see this error there:

//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("main_slideshowII.inc");
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/izyb/public_html/4images/lang/english/main.php:385) in /home/izyb/public_html/4images/includes/sessions.php on line 84
//----------------------------------------------------- //--- Slideshow Settings ------------------------------ //----------------------------------------------------- require("admin_slideshowII.inc");
Title: Re: [MOD] Slideshow II
Post by: V@no on July 31, 2005, 12:41:18 AM
http://www.4homepages.de/forum/index.php?topic=3378.0
Title: Re: [MOD] Slideshow II
Post by: IzyB on July 31, 2005, 02:46:46 AM
Thanks V@no!
Title: Re: [MOD] Slideshow II
Post by: IzyB on July 31, 2005, 07:02:38 AM
New problem I just noticed. It doesn't matter what setting I have things set at, the slideshow will not do the pictures in order.Sometimes it starts with the 2nd page of pictures, does the rest in order....and other times just does it however it wants.
Title: Re: [MOD] Slideshow II
Post by: Vincent on July 31, 2005, 09:12:08 AM
i have this problem too - he start with the second because the time is running since you call up the slideshow - so until it is loaded the time for the second come up!
as i understoud in the first step he load not just the first but a couple of picture!

sincerly
vincent
Title: Re: [MOD] Slideshow II
Post by: driada on July 31, 2005, 10:48:35 AM
Hi!
I got some problem..

 When i press on button "Diasshow" nothing happend.....look like link don't work...
 
Title: Re: [MOD] Slideshow II
Post by: Vincent on July 31, 2005, 12:52:46 PM
@driade
thats the kind of info we love  :twisted:
we don't know your page to contorll what you have done!
we don't know which version of 4image you are using!
we don't know your php Version
we don't know your SQL Version
and
we don't knwo the kind of help you need!

vincent
Title: Re: [MOD] Slideshow II
Post by: IzyB on August 01, 2005, 07:10:40 AM
Is there a way, and if so how, to add text on the window that pops up for the slideshow (under the pictures)? I'd like to be able to put something like:

Please click on an image to view its details, send comments, vote, etc..

Thanks!
Title: Re: [MOD] Slideshow II
Post by: ch€ri{Bi}² on August 13, 2005, 02:16:24 AM
Hi,

Something is missing to respect rights of visualization !
if a user can see a category but if he is not allowed to see photos, this user can reach photos with the slideshow  8O

just try  :arrow:  copy & paste this url by changing the site name and cat_id :
Quote
http://www.your_site_name/4images/slideshow.php?action=slideshow&cat_id=XX
choose a category you can access but where you should not see pics and...  :twisted: :twisted: :twisted:  Some people will say that nothing is hidden from the eyes of the Lord !!!

To repair this, open slideshow.php   and find (above line 37):
Code: [Select]
if (!$cat_id || !isset($cat_cache[$cat_id]) || !check_permission("auth_viewcat", $cat_id)) {replace by :
Code: [Select]
if (!$cat_id || !isset($cat_cache[$cat_id]) || !check_permission("auth_viewcat", $cat_id) || !check_permission("auth_viewimage", $cat_id)) {

Regards.
Title: Re: [MOD] Slideshow II
Post by: ch€ri{Bi}² on August 15, 2005, 11:59:51 AM
An idea of improvement:  :?: how can I add a lightbox button in the slideshow template?
 :arrow: This would allow the user to record photos in his lightbox without interrupting the slideshow (thus to avoid beginning again all the slideshow!!!)

thanks!
Title: Re: [MOD] Slideshow II
Post by: Vincent on August 15, 2005, 01:09:22 PM
@cheribibi
this feature request is also what i would need!

vincent
Title: Re: [MOD] Slideshow II
Post by: TIMT on November 22, 2005, 03:28:38 PM
Hi

as soon as I click on the button "Slideshow" the following error message is shown on the buttom of the browser:

Line: 1
Char: 1
Error: Object expected
Code: 0
URL: http://www.photofrontal.ch/categories.php?cat_id=21&sessionid=..............

Does anybody know, how I can get rid of this error message?

Thanks!!

TIMT
Title: Re: [MOD] Slideshow II
Post by: TIMT on November 25, 2005, 02:08:13 PM
Anybody who can help me! 

Thanks!
Title: Re: [MOD] Slideshow II
Post by: TIMT on December 09, 2005, 05:23:40 PM
what does it mean "ascending, descending"?
by date?
by name?

I cant fugure out, in which order the pictures are shown.
Title: Re: [MOD] Slideshow II
Post by: Matthias70 on December 09, 2005, 05:59:01 PM
what does it mean "ascending, descending"?
by date?
by name?

I cant fugure out, in which order the pictures are shown.

Ascending = aufsteigend
Descending = absteigend

nach Datum
Nach Alphabet

viele Grüße
Matthias
Title: Re: [MOD] Slideshow II
Post by: Darkness2001 on January 07, 2006, 10:53:49 PM
Hello,

i insert all Parts, i dont see the slitshow button in categorie, why ??

The upload button ist already. the slideshow button is missing.

Please help thx Darkness 

OK is allready working. I found the error  :mrgreen:
Title: Re: [MOD] Slideshow II
Post by: jjbk on January 09, 2006, 12:19:31 PM
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
Title: Re: [MOD] Slideshow II
Post by: Ston4Img on March 12, 2006, 01:09:08 PM
i get this error for some reason  :?:

(http://www.thatnite.com/images/error.jpg)

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



http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b

taking the url section from the properties of the slideshow button and adding the rest of the site link to it seems to work:

From properties of button:
./slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b

Modded to:
http://www.thatnite.com/4images/slideshow.php?action=slideshow&cat_id=66&s=ab708daec73b58a2c461154911bfb30b

Hallo.
Ich habe heute auf die Version 1.7.2 gemacht. Dabei muss ich jetzt ja die Einstellungen für die Slideshow neu machen. Beim ersten mal (Version 1.2) hat alles bestens funktioniert.

Das Datenbank Update von 1.2 auf 1.3 ist auch gelaufen. Rufe ich wie "Fatty" die Slideshow direkt auf geht es. Bloß wenn ich den Button benutze kommt die gleich Meldung wie beim Ihm (siehe oben).

Hat da jemand noch einen Tipp?
Title: Re: [MOD] Slideshow II
Post by: Ston4Img on March 12, 2006, 04:29:45 PM
Problem erklärt bekommen von Deejay! Danke nochmal dafür.

Problem war folgendes:
In der Datei /templates/<your temp>/header.html
Hatte ich / bzw. wurden bereits einige Zeilen auskommentiert mit <!--. Es sah dann so aus

Code: [Select]
<!--
--- START ---
--- Right Mouse Click -------------------------------
http://www.4homepages.de/forum/index.php?topic=3088.0
//-----------------------------------------------------

Damit gab es dann den Java Script fehler das sich das Fenster nicht öffnen wollte.

Einstellungen JETZT

Quote
//<!--
//--- START ---
//--- Right Mouse Click -------------------------------
//http://www.4homepages.de/forum/index.php?topic=3088.0//-----------------------------------------------------


Quote
PN von Deejay
also mit <!-- --> komentiert man HTML-Text aus.
in deinem fall wird dieses auskommentieren dafür verwendet den html-text, also das javascript, vor älteren browsern auszukommentieren.
mehr sinn hat dies nicht.

im javascript musst du aber wie schon erwähnt mit // (zeilenwiese) bzw. /*  */ (blockweise) auskommentieren.

lg deejay_

Damit sollte es für die nächsten auch verständlich sein.

Bis dann

Der Andree
Title: Re: [MOD] Slideshow II
Post by: Bodzio on March 14, 2006, 01:40:38 PM
Great MOD.

It is good to add "Clickcstream" to slideshow.html, so user can go back to the category - just add {clickstream} wherever you want in the template file.

I also made polish buttons:

(http://www.bonjovi.pl/galeria/templates/always/images/slideshow.gif)

(http://www.bonjovi.pl/galeria/templates/always/images/slideshow_off.gif)

Maybe someone will like to use it ;)
Title: Re: [MOD] Slideshow II
Post by: artistichideaway on March 17, 2006, 11:44:54 AM
Great Mod.  :D

I'd like to change the slideshow page background image, table color, etc....what file do I need to alter?
It's not the slideshow.html, is it?
Also I'd like to prevent right click in the slideshow.
Can anyone advice?
Thank you.
Title: Re: [MOD] Slideshow II
Post by: deejay_ on March 17, 2006, 04:18:40 PM
the style things you can do in stylesheet because the header.html and footer.html are attached or in the slideshow.html which can be found under templates/xxx/slideshow.html
xxx ... the name of your style directory

if you wan't to prevent right click in slideshow and you use it allready at the gallery it should also work in slideshow.
if not, just sent me an pm with the url of your gallery. then i will take a look.

greets deejay_
Title: Re: [MOD] Slideshow II
Post by: kenmiles on March 28, 2006, 02:21:45 PM
After installing Slideshow II I get the following message when starting slideshow -

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 i.image_name ASC
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in F:\localhost\xampp\htdocs\web_kmiles\igallery\includes\db_mysql.php on line 116

I am using 4images 1.7.2
Apache/2.2.0
MySQL 5.0.18

Any help please?

Regards, Kenneth.
www.kmiles.co.uk
Title: Re: [MOD] Slideshow II
Post by: IcEcReaM on March 28, 2006, 05:09:16 PM
this line in the query
FROM 4images_images i, 4images_categories c
should be like this
FROM (4images_images i, 4images_categories c)

it's a mysql5 related problem,
there also some threads about this issue.
Title: Re: [MOD] Slideshow II
Post by: kenmiles on March 29, 2006, 03:15:36 PM
Thanks for the prompt reply.
Regards, Kenneth.
Title: Re: [MOD] Slideshow II
Post by: STL 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.
Title: Re: [MOD] Slideshow II
Post by: deejay_ 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_
Title: Re: [MOD] Slideshow II
Post by: STL 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.
Title: Re: [MOD] Slideshow II
Post by: deejay_ 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_
Title: Re: [MOD] Slideshow II
Post by: fabian 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??  :?:
Title: Re: [MOD] Slideshow II
Post by: deejay_ 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_
Title: Re: [MOD] Slideshow II
Post by: STL 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?
Title: Re: [MOD] Slideshow II
Post by: deejay_ 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_
Title: Re: [MOD] Slideshow II
Post by: sullyirl 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.
Title: Re: [MOD] Slideshow II
Post by: osuejm 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?
Title: Re: [MOD] Slideshow II
Post by: Greifenvogel 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
Title: Re: [MOD] Slideshow II
Post by: pda 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"
Title: Re: [MOD] Slideshow II
Post by: Zyga on June 04, 2006, 10:51:15 AM
i get this error for some reason  :?:

(http://www.thatnite.com/images/error.jpg)

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

Title: Re: [MOD] Slideshow II
Post by: Delirium 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
Title: Re: [MOD] Slideshow II
Post by: deejay_ 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_
Title: Re: [MOD] Slideshow II
Post by: Delirium on June 14, 2006, 01:36:46 PM
@deejay_ i send a PM to you.

I have another problem.

The upload button ist already.
The slideshow button is missing.

Admin Login slideshow button is available
Guests and registered users button is missing.


I have downloaded the new paging.php but it does not go nevertheless
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 18, 2006, 11:20:18 AM
Maybe you forgot to put the html code for the button in your files?
Just reread the installtion file:

[qcode]OPEN     /4images/templates/default/categories.html
FIND     <td align="right" valign="bottom">{upload_button}</td>
REPLACE  <td align="right" valign="bottom">{upload_button}{slideshow_button}</td>[/qcode]

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: DJ on July 18, 2006, 06:57:46 PM
I have been looking for this mod thanks Deejay. But I have a little problem. The Mod work for standalone 4images. but i have an intergated phpnuke with 4images Mod. So after installing your mod and making some adjustment I am just getting "File can't be access directly" and i adjusted the categories_slideshowII.inc to include the path to the file and now i am getting "hack attempt"

Help Please
Title: Re: [MOD] Slideshow II
Post by: snowppy on July 20, 2006, 11:54:19 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 = 90 AND c.cat_id = i.cat_id ORDER BY i.image_name ASC
Unknown column 'i.user_id' in 'on clause'

I got this when the new window opens help
Title: Re: [MOD] Slideshow II
Post by: DJ on July 20, 2006, 11:51:59 PM
ok it is working for me but i have a bug. the images are not showing
Title: Re: [MOD] Slideshow II
Post by: deejay_ on July 24, 2006, 01:31:33 PM
@snowppy:
Pleas read the forum befor you post!
See http://www.4homepages.de/forum/index.php?topic=7257.msg66046#msg66046 for solution of your problem.


@DJ:
I have not tested the mod with PHPNuke.
If you post me a link where i can look at it, i will try to get time to find a solution for this problem.
Could you send me a list of changes you have made to make this mod working in PHPNUKE that i can include this in the installation guide?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: dowo on August 01, 2006, 11:23:23 AM
Ich habe die Daishow installiert und bin begeisert!!
Leider läuft sie bei mir, wie auch oft zuvor beschrieben, nur als angemeldeter Admin.
Ich habe auch schon die paging.php erneuert - bringt allerdings nichts.

Kann es daran liegen, dass ich das Template
4default_no_user  http://www.vierstra.com/4images_templates.htm  installiert habe.
Ich muss gestehen, dass ich auch schon einiges abgeändert habe.

Vielleicht hift ja auch ein Blick auf meine Gallery: http://dowo.dyndns.org/bild/

Vielen Dank im voraus

Dieter
Title: Re: [MOD] Slideshow II
Post by: deejay_ on August 01, 2006, 10:25:23 PM
@dowo:
first look in your contro-panel at "Allgemein>Slideshow Einstellungen" an tell me which radio button is set by "Soll der Slideshow-Button nur registrierten Benutzern gezeigt werden"?
To show the slideshow button every user this should be set to "NEIN".

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: dowo on August 02, 2006, 01:55:58 PM
I've seen this.
But this is not the problem.

Dieter
Title: Re: [MOD] Slideshow II
Post by: terryjianlin on August 13, 2006, 12:12:58 AM
How come my slideshow II does not show new photos just added?
Title: Re: [MOD] Slideshow II
Post by: UniTy on August 30, 2006, 08:47:33 PM
ich habe auch die Slideshow installiert aber mein problem ist das sich wenn ich auf den button klicke nichts passiert. Nicht im IE und auch nicht im Firefox was kann der gehler sein?

wenn ich über den button gehe zeigt er mir in der Status zeile an:

javascript:openslideshow("./slideshow.php?action=slideshow&cat_id=417","737","700",1)
Title: Re: [MOD] Slideshow II
Post by: radbe on August 30, 2006, 10:14:17 PM
 :idea: Does anybody know
if there is a way to send the Slidehow as a E-Card  :?:
Title: Re: [MOD] Slideshow II
Post by: __G__ on August 31, 2006, 11:40:29 AM
i got this error

SEARCH AND DELETE function opendetailwindow() { window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480'); }
Title: Re: [MOD] Slideshow II
Post by: UniTy on August 31, 2006, 02:35:12 PM
das sollte ja in der header.html stehen oder nicht?

hab ich aber gelöcht wie in der Anleitung beschrieben.

das ist meine header.html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<script language="javascript" type="text/javascript">
<!--
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#FFFFFF" text="#27D000" link="#156502" vlink="#156502" alink="#156502">
Title: Re: [MOD] Slideshow II
Post by: __G__ on August 31, 2006, 04:44:13 PM
das sollte ja in der header.html stehen oder nicht?

hab ich aber gelöcht wie in der Anleitung beschrieben.

das ist meine header.html:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<script language="javascript" type="text/javascript">
<!--
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#FFFFFF" text="#27D000" link="#156502" vlink="#156502" alink="#156502">

translate in english plz
Title: Re: [MOD] Slideshow II
Post by: UniTy on August 31, 2006, 05:49:33 PM
that should stand in header.html or not?

I however removed as in the guidance described.   

that is my header.html:
Title: Re: [MOD] Slideshow II
Post by: __G__ on August 31, 2006, 06:46:10 PM
i will try wid ur header
Title: Re: [MOD] Slideshow II
Post by: UniTy on August 31, 2006, 08:17:33 PM
that stands nevertheless already a side before however here still times the header

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
<script language="javascript" type="text/javascript">
<!--
  function right(e) {
    if (navigator.appName == 'Netscape' && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (navigator.appName == 'Microsoft Internet Explorer' && (event.button==2 || event.button == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }
  document.onmousedown=right;
  if (document.layers) window.captureEvents(Event.MOUSEDOWN);
  window.onmousedown=right;
// -->
</script>
</head>
<body bgcolor="#FFFFFF" text="#27D000" link="#156502" vlink="#156502" alink="#156502">


I do not have also the Slideshow installed however my problem am if I on button click myself to anything happened. Not in the IE and also not in the Firefox which can be more gehler?
Title: Re: [MOD] Slideshow II
Post by: Stinus on September 01, 2006, 10:15:16 PM
Hi
I got this error when i press the slideshow buttom:
Quote
Line: 1
Char: 1
Error: Object expected
Code: 0
URL: http://veteranbrannbiler.com/4images/categories.php?cat_id=2

I have read in this post, and i can't find out what is wrong. (ps I don't understand dutsche)


When i type this: http://veteranbrannbiler.com/4images/slideshow.php?action=slideshow&cat_id=2 i got this error, and the slideshow is starting.
Quote
Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 74

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 82

Warning: imagejpeg(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 93

Warning: imagedestroy(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 95

Warning: imagecreatetruecolor() [function.imagecreatetruecolor]: Invalid image dimensions in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 74

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 82

Warning: imagejpeg(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 93

Warning: imagedestroy(): supplied argument is not a valid Image resource in /customers/veteranbrannbiler.com/veteranbrannbiler.com/httpd.www/4images/includes/image_utils.php on line 95


The website is http://veteranbrannbiler.com/4images/index.php
Title: Re: [MOD] Slideshow II
Post by: UniTy on September 04, 2006, 02:48:40 PM
there is there no solution for the problem which I above described which I everything integrated however if I on button clicks nothing happens none popup all the same which more browser.

In addition one asks where becomes with this Mod. what in the data base changed or are completely new tables added?
Title: Re: [MOD] Slideshow II
Post by: Stefanie on September 06, 2006, 09:11:39 AM
Hi!

Ich habe das Template 4default_no_user_rand wo es keinen Upload-Button mehr gibt und auch keinen Login. Wenn ich den Slideshow-Button woanders einfüge, z.B. neben "Top Bilder" erscheint dort einfach gar nichts.
Ebenso im Adminmenü: Keine Einstellung für die Slideshow!
Ich hab alles nach Anleitung installiert, DB Update gemacht, also eigentlich sollte es funktionieren und doch ist nichts da!
Hilfe!?

Version des Mods: 1.3, Version 4images: 1.7.3
Title: Re: [MOD] Slideshow II
Post by: RoadDogg on September 19, 2006, 08:39:46 AM
Ich habe die Daishow installiert und bin begeisert!!
Leider läuft sie bei mir, wie auch oft zuvor beschrieben, nur als angemeldeter Admin.
Ich habe auch schon die paging.php erneuert - bringt allerdings nichts.

Kann es daran liegen, dass ich das Template
4default_no_user http://www.vierstra.com/4images_templates.htm installiert habe.
Ich muss gestehen, dass ich auch schon einiges abgeändert habe.

Vielleicht hift ja auch ein Blick auf meine Gallery: http://dowo.dyndns.org/bild/

Vielen Dank im voraus

Dieter

Hallo Dieter,

deine Slideshow läuft doch, lediglich der Button wird nicht angezeigt, den kannst du aber auch manuell woanders einbinden.

Grüße

Matthias ;)
Title: Re: [MOD] Slideshow II
Post by: Momo on September 30, 2006, 05:42:52 PM
I have 4images integrated in phpbb. Now I have installed the slideshow, but there is no button, no slideshow.
It seems to be a problem with the rights. The button is never to see. Not for the Admin, not for Users.  Any hints?

Regards Momo
Title: Re: [MOD] Slideshow II
Post by: cpuswe on October 16, 2006, 08:03:54 PM
Great mod!

But... I would like the slide show to start from the main page and contain random pics from all categories.

Is it possible with current version? If not it would be a request for a future release.


Thanks!

/Thomas
Title: Re: [MOD] Slideshow II
Post by: SprinterMadl on October 25, 2006, 02:12:38 PM
Hallo zusammen,

hab mir auch die Slideshow isntalliert, funktioniert soweit im groben auch.

Bei manchen Kategorien gehts ohne Fehlermeldungen (soweit ich das beobachtet hab, wenns "relativ" wenig Bilder sind.
Dann krieg ich die Fehlermeldungen, die Slideshow geht aber trotzdem.
Und dann wiederrum gehts garnicht.
Ich bekomme nur immer wieder folgende Felhlermeldungen:

Diese wenn garnichts geht:
[qcode]Fatal error: Maximum execution time of 10 seconds exceeded in /usr/export/www/hosting/sprintermadl/galerie/includes/image_utils.php on line 82[/qcode]

Diese wenn die SlideShow trotzdem läuft (unterschiedlich viele je nachdem wie viele Bilder es sind):
[qcode]Warning: copy(data/tmp_media/33/0x0/sldshw_Franc6.JPG) [function.copy]: failed to open stream: Auf dem Gerät ist kein
Speicherplatz mehr verfügbar in /usr/export/www/hosting/sprintermadl/galerie/slideshow.php on line 127[/qcode]

Und die ist ab und an auch dabei, nur mit verschiedenen Zeilenangaben:
[qcode]Warning: imagejpeg() [function.imagejpeg]: Unable to open 'data/tmp_media/22/0x0/sldshw_PIC00005.JPG' for writing in
/usr/export/www/hosting/sprintermadl/galerie/includes/image_utils.php on line 93[/qcode]

Bis auf den Stinus hab ich hier die Fehlermeldung noch nicht gesehen, kann mir da einer bitte helfen bitte.
Title: Re: [MOD] Slideshow II
Post by: oz1980 on November 06, 2006, 06:43:06 PM
Ich habe diesen Mod auf meinem alten Server unter 4images 1.7.2 installiert, er läuft dort auch problemlos, allerdings habe ich am neuen Server (sowohl mit 1.7.2 als auch mit 1.7.4) Probleme, die Slideshow anzuzeigen, bei der Installation und den Einstellungen im Admin-Bereich gibt es keine Probleme, erst wenn ich den Button 'Slideshow' anklicke und sich das Popup öffnet, kommt folgende Fehlermeldung:

I have been using this mod with 4images 1.7.2 on my previous server without any problems. On my new server, I am always getting an error-message when clicking the 'Slideshow'-Button (with both versions 1.7.2 and 1.7.4) - the installation and changing of settings in the control panel are working fine:

[qcode]
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 = 54 AND c.cat_id = i.cat_id ORDER BY i.image_name ASC
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/web214/html/4images/includes/db_mysql.php on line 116
[/qcode]
Title: Re: [MOD] Slideshow II
Post by: mawenzi on November 06, 2006, 07:08:12 PM
... neuer Server ... MySQL 5.0 ...
... versuche hiermit die Lösung deines Problems ...
... http://www.4homepages.de/forum/index.php?topic=10184.15
Title: Re: [MOD] Slideshow II
Post by: oz1980 on November 06, 2006, 07:52:15 PM
Oh, dankeschön vielmals!!! :D :D :D

Ich musste nur/I just had to change

[qcode]FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c[/qcode]

durch/to

[qcode]FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)[/qcode]
ersetzen.

Funktioniert so gut wir bisher immer! Works great!

Anscheinend ist 4images 1.7.4 schon php 5.x-tauglich. :?:
Title: Re: [MOD] Slideshow II
Post by: mawenzi on November 06, 2006, 07:56:53 PM
Anscheinend ist 4images 1.7.4 schon php 5.x-tauglich. :?:

... ja ...  :wink:
Title: Re: [MOD] Slideshow II
Post by: deejay_ on November 07, 2006, 10:54:15 PM
@SprinterMadl:

Could you post a link to your 4images that I could take a look at it?
It seems that you are using images with big size or that your webspace is running out of space.

best regards deejay_
Title: habe irgendein gemacht Fehler
Post by: holzkuchen on November 11, 2006, 02:48:42 PM
Hey,

habe den MOD Slideschow nach anleitung eingebunden, aber irgendwas falsch gemacht.
Im Admin Control-panel geht alles, der Knopf "Diaschow" ist auch da, aber auf jeder Seiter der Gallery steht oben:

//----------------------------------------------------- //--- Slideshow changes ------------------------------- //----------------------------------------------------- function openslideshow(url,window
......
- ......
; } // else new_window } // openslideshow  8O

- also genau das was ich den am Ende meiner/default/header.html  einbinden sollte - scheint irgendwie nicht richtig geladen zu werden?
wenn ich auf drücke "Diaschow" steht im Browser Script Error - was habe ich falsch gemacht :?:

Eine /4images/scripts/4images.js habe ich nicht!

Kann mir da bitte jemand weiterhelfen?

PS: noch ne Frage
In der Header soll noch folgendes eingefügt werden:
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>

müsste ich da, wo ich rot makiert habe, was einsetzen?
warum soll ich scripts/4images.js einbinden, wenn ich nur die header.html habe?
Title: Re: [MOD] Slideshow II
Post by: deejay_ on November 11, 2006, 09:21:32 PM
@holzkuchen:

if  you have no js-file (java script) and you have put the code in an html file you have to souround the code with the identyfier that the next code is js.

Insert the following before the code you have inserted in header.html:
Code: [Select]
<script language="JavaScript" type="text/javascript">
and the following after the code you have inserted in header.html:
Code: [Select]
</script>
you don`t have to include the js-file in header.html if you don`t have the script file :-)

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: martin150 on November 12, 2006, 06:43:36 AM
Hi !

Great mod and best support. I did have also an error (the javascript line in the header.html :oops:)  but reading this threat now it works very well !!

Many tnx !

Martin
Title: Re: [MOD] Slideshow II
Post by: desperate_housewif on November 12, 2006, 11:21:25 AM
Ich habe den Mod in der Grundversion genau nach Anweisung installiert. Habe mich als Admin eingeloggt. Es erscheint kein Button.

Habe keine Datei 4images.js, daher den entsprechenden Script in header.hmtl gesteckt. Im CP scheint alles für die Einstellungen vorhanden zu sein.
Zwei kleine Sachen in der header.html sind mir aufgefallen.
I exactly installed the Mod in the basic version after instruction. I  logged in as Admin. No Button appears. I haven no file 4images.js, therefore the appropriate Script into header.hmtl. In the CP everything is present. Two small things in header.html were noticeable to me.

1.
[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>[/qcode]

Dieser Script verweist ja auf die Datei 4images.js, die bei mir nicht vorhanden ist. Habe ihn jetzt so geändert:
This Script refers to the file 4images.js, which is missing in my version. Property it now so changed:

[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../templates/default/header.html"></script>[/qcode]

Es führte nicht zum Erfolg.
It did not lead to success.

2.

[qcode]function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
[/qcode]

Dieser Code soll nach Anweisung in der header.html gefunden und gelöscht werden. Ist bei mir offensichtlich nicht vorhanden, hab aber schon mehrere Mods installiert, vielleicht deshalb schon mal gelöscht.
   
This code is to be found and deleted after instruction in header.html. Is  missed this code , however already several Mods installed, perhaps therefore already times deleted.

In der categories.html ist der Button so eingebunden
In categories.html the Button is in such a way merged

[qcode]<td align="right" valign="bottom">{upload_button}{slideshow_button}</td>[/qcode]

Kann jemand helfen? Help!
Title: Re: [MOD] Slideshow II
Post by: deejay_ on November 14, 2006, 05:08:55 PM
@deperate_housewife:
1: please write your questions in english so everyone could use your question and the answer to it, also peoples who don't spek german.
2: please read first the other posts so that you don't have to ask a question which one other has allready asked!

the answer to your question you find here: www.4homepages.de/forum/index.php?topic=7257.msg83091#msg83091 (http://www.4homepages.de/forum/index.php?topic=7257.msg83091#msg83091)

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: desperate_housewif on November 14, 2006, 06:29:50 PM
I´ve translate to english (you see it above). I have read the instruction, you have linked, it is in my script.
Title: Re: [MOD] Slideshow II
Post by: deejay_ on November 14, 2006, 11:11:46 PM
@desperate_housewif:
thanks for the translation.
does my answer help you?
did you got the slideshow working with my hints 5 posts above?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: desperate_housewif on November 16, 2006, 06:12:58 PM
Yes, I see your hints. But no slideshow-button!

I have no 4images.js. It supplement the script in the header.html.

I turn the script
[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>[/qcode]

into

[qcode]<script language="JavaScript" type="text/javascript" src="{template_url}/../templates/default/header.html"></script>[/qcode]

It is right so?
Title: Re: [MOD] Slideshow II
Post by: desperate_housewif on November 19, 2006, 09:30:50 AM
Hat niemand mein Problem von oben gehabt? Bin ich wieder der Einzige? Es kann sich doch nur um einen kleinen Fehler handeln, dass der Button nicht sichtbar ist!
Title: Re: [MOD] Slideshow II
Post by: MrFloppy on November 28, 2006, 12:35:11 AM
Also, ich hatte das gleiche Problem wie du. Ich habe das ScriptProblem schnell beseitigt. Du musst den Teil, der in die header.html soll nicht ans Ende selbiger kopieren, sondern vor das </script>-Tag (sollte mit der im Editor eingebauten Suche schnell zu finden sein :) ). Dann solltest du aus

Code: [Select]
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>
Code: [Select]
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
machen!

Im Endeffekt sollte das hier dann da stehen:
Code: [Select]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html dir="{direction}">
<head>
<title>{site_name}</title>
<meta http-equiv="content-type" content="text/html; charset={charset}" />
<link rel="stylesheet" href="{template_url}/style.css" />

<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/slideshow.js"></script>
<script language="javascript" type="text/javascript">
<!--

  var captcha_reload_count = 0;
var captcha_image_url = "{url_captcha_image}";
  function new_captcha_image() {
    if (captcha_image_url.indexOf('?') == -1) {
  document.getElementById('captcha_image').src= captcha_image_url+'?c='+captcha_reload_count;
} else {
  document.getElementById('captcha_image').src= captcha_image_url+'&c='+captcha_reload_count;
}

    document.getElementById('captcha_input').value="";
    document.getElementById('captcha_input').focus();
    captcha_reload_count++;
  }

function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
 
  function right(e) {
    if ((document.layers || (document.getElementById && !document.all)) && (e.which == 2 || e.which == 3)) {
      alert("© Copyright by {site_name}");
      return false;
    }
    else if (event.button == 2 || event.button == 3) {
      alert("© Copyright by {site_name}");
      return false;
    }
    return true;
  }

  if (document.layers){
    document.captureEvents(Event.MOUSEDOWN);
    document.onmousedown = right;
  }
  else if (document.all && !document.getElementById){
    document.onmousedown = right;
  }

document.oncontextmenu = new Function("alert('© Copyright by {site_name}');return false");


//-----------------------------------------------------
//--- 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

// -->
</script>
{if has_rss}
<link rel="alternate" type="application/rss+xml" title="{rss_title}" href="{rss_url}" />
{endif has_rss}
</head>
<body bgcolor="#FFFFFF" text="#0F5475" link="#0F5475" vlink="#0F5475" alink="#0F5475">
<br />


Gelöscht habe ich nichts!

Solltest du dann noch einen MySQL Fehler kriegen, meld dich einfach bei mir :)
Title: Re: [MOD] Slideshow II
Post by: desperate_housewif on December 17, 2006, 10:36:08 AM
Habe alles so wie angegeben, der Slideshowbutton erscheint trotzdem nicht.
Title: Re: [MOD] Slideshow II
Post by: deejay_ on December 18, 2006, 06:22:14 PM
@desperate_housewif:

once again. please post your questions in ENGLISH!!
and post me a link to your page so I can take a look at the, as I think, very simple problem.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: Phil87 on December 19, 2006, 11:01:52 AM
Hi!
How is it possible to put the slideshow in a complete fullscreen? (Without the browser elements and other things)

I have already the code for the fullscreen, but i don't know where i should place it.

Code: [Select]
<script language="JavaScript">
<!--
function FullScreen()
{
window.open("http://www.myaddress.com","","fullscreen=yes");
}
function KH_JS(js) {
  return eval(js)
}
// -->
</script>

<font class="stn"><a href="#" onClick="KH_JS('FullScreen()')">Diashow</a>

Could anybody help me?


Sorry for my bad English, but I'm a German. :roll:


EDIT: and how is it possible to use the slideshow as a guest? i have already done my configuration in the control panel, but it doesn't work! if i visit my gallery as a guest there is no "diashow"-button although i have adjusted it in the control panel...

EDIT: i've tryed the following in categories.html:

<a href="{slideshow_url}"><img src="./templates/grey/images/slideshow.gif" border="0" alt="" /></a>

it works, but i get very much errors, why?
Title: Re: [MOD] Slideshow II
Post by: chull on December 19, 2006, 06:39:32 PM
Hello,

I've also the problem that the Slideshow Button isn't to see for members. When I'm logged in as an ADMIN, it works all perfekt. If I allow to upload something you can see the Button. But I don't want to allow upload files. There must be another way.

Please can somebody help me.

Greetz and Thanks

Chull
Title: Re: [MOD] Slideshow II
Post by: mawenzi on December 19, 2006, 07:30:17 PM
@Chull
... it looks like your slideshowbutton is within a wrong {if_...} {endif_...} -tag ...
Title: Re: [MOD] Slideshow II
Post by: chull on December 19, 2006, 11:37:01 PM
hello,

hmm thats possible. Because I haven't used any "endif..." tag. I put the button - tag how explained in the description behind the upload button - tag. What for an "endif..." tag I had to use?

Greetz and Thanks

Chull
Title: Re: [MOD] Slideshow II
Post by: Phil87 on December 20, 2006, 04:45:32 PM
has nobody else the same problem like me?

i've already seen so much gallerys which hasn't this problem with the button, how have they solved it?

(i've tried already to fix it with the paging.php of v@no, but it doesn't work)
Title: Re: [MOD] Slideshow II
Post by: host on December 20, 2006, 07:50:46 PM
Hi all,

... and the next one with the 'button problem'  :(

[UPDATE]

Problem is solved for me...


When I'm logged in as admin, everything is fine, but guests or normal users cannot see the slideshow-button.
When I'm allowing upload to all users, it's getting strange... The slideshow-button appears, but inactive (not clickable)
When uploading is not allowed, the slideshow button dissappears completely.

I'm running 4images 1.7.4, PHP 4.4.4 and mySQL 4.1.22. Template is a modified 4bare.

At the moment I'm a little bit clueless... Anybody any ideas?




Sometimes the error is sitting in front of the computer  :D

In my case, the problem was located in the /4images/categoeires.php
I pasted the additional code

Code: [Select]
SUCHEN

  $upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";
}

DANNACH EINFÜGEN

//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------
require ("categories_slideshowII.inc");


NOT behind the last "}", so it was located in the if clause for checking the upload permissions...


Cheers
HoSt
Title: Re: [MOD] Slideshow II
Post by: chull on December 21, 2006, 09:10:07 PM
perfect!!! I had the same problem. Now it works :D :D :D :D :D

Greetz and Thanks

Chull
Title: Re: [MOD] Slideshow II
Post by: chull on December 22, 2006, 12:16:40 AM
But now I've found another one. When I'm looking the slideshow and I log me out, comes an error page that the request url canot be find. Someone can help me?

Greetz and Thanks

Chull
Title: Re: [MOD] Slideshow II
Post by: Phil87 on December 22, 2006, 10:46:03 AM
In my categories.php was "require ("categories_slideshowII.inc");" already in front of "}" but it works nevertheless not...
My problem is that ONLY GUESTS can not see the button, normal users can see it.
Title: Re: [MOD] Slideshow II
Post by: host on December 22, 2006, 11:13:47 AM
Hi Phil87,

Maybe I'm missunderstanding you, but I think this is exactly the problem:

In my categories.php was "require ("categories_slideshowII.inc");" already in front of "}" but it works nevertheless not...
My problem is that ONLY GUESTS can not see the button, normal users can see it.

The "require ("categories_slideshowII.inc");" must be BEHIND the closing "}".

If you check the code:
Code: [Select]
//-----------------------------------------------------
//--- Show Categories ---------------------------------
//-----------------------------------------------------
if (!check_permission("auth_upload", $cat_id)) {
  $upload_url = "";
  $upload_button = "<img src=\"".get_gallery_image("upload_off.gif")."\" border=\"0\" alt=\"\" />";
}
else {
  $upload_url = $site_sess->url(ROOT_PATH."member.php?action=uploadform&amp;".URL_CAT_ID."=".$cat_id);
  $upload_button = "<a href=\"".$upload_url."\"><img src=\"".get_gallery_image("upload.gif")."\" border=\"0\" alt=\"\" /></a>";
}
require ("categories_slideshowII.inc");

If the "require ("categories_slideshowII.inc");" is in FRONT of the "}", it will be executed only for users with upload permissions...
Maybe you can post this part of your "categories.php"...

HTH
HoSt
Title: Re: [MOD] Slideshow II
Post by: Phil87 on December 22, 2006, 11:46:09 AM
 :lol:  :lol:  :lol:

now i've put the code for the slideshow behind the "}" and it works perfectly!
Thank you!!! :)
Title: Re: [MOD] Slideshow II
Post by: ELO on December 30, 2006, 07:14:34 PM
Hallo,
ich habe die Slideshow installiert, funktioniert Super, Danke an den Programmierer.
Gibt es eine Möglichkeit die Slideshow in die Suchergebnisse einzubinden und eine Slideshow für alle Bilder (Kategorieübergreifend) zu nutzen?
Grüße
Michael

Hello,
I have installed the Slideshow, works great, Thank you to the coder.
Is it possible to integrate it into the searchresults and to run a random Slideshow over all Categories?
Thanks
Michael
www.oldtimerbilder.de.vu (http://www.oldtimerbilder.de.vu)
Title: Re: [MOD] Slideshow II
Post by: deejay_ on December 31, 2006, 10:22:07 AM
@ELO:

Yes, it is possible to run a Slideshow over all Categories!
Why do you want to include the slideshow in searchresults?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: ELO on December 31, 2006, 12:22:40 PM
@ELO:

Yes, it is possible to run a Slideshow over all Categories!
Why do you want to include the slideshow in searchresults?

best regards deejay_
Hi deejay,
How can i do that?
In our Galerie the cars are sorted by Categories of Manufacturer, but I have also put infos about carmeetings to the pictures
If I search for example "Golden Oldies" it would be fine to make a slideshow from the results
Sorry, bad english, but school is over for more than 20 years  :wink:
Greetings
Michael
Title: Re: [MOD] Slideshow II
Post by: shadowhunter on January 22, 2007, 10:41:51 AM
Hallo
Zuerst ein Lob für alle Mod programmierer!
Ich habe diesen Mod installiert und leider funktioniert dieser bei mir nicht.
Mein Problem ist folgendes:
Wenn ich auf den Button "Diashow" klicke, dann öffnet sich ein neues Fenster und der Fehler 500 "Internal Server Error" erscheint.
Ich habe den Mod (wie in der Anleitung beschrieben) installiert. Was könnte hier das Problem sein? Ich komme überhaupt nicht mehr weiter.
Habe die neuste Vers 1.7.4 (SAFE MODE ausgeschaltet). Im Admin Control Panel kann ich alle Diashow Einstellungen erfolgreich verändern.
Vielen Dank für die Hilfe...
mfg shadow_hunter
Title: Re: [MOD] Slideshow II
Post by: leo-magic on January 27, 2007, 08:58:18 PM
Hi

I have a problem with this mod. After I installed it, the Admin-Page is only a blank page! -> When I click "Admin Control Panel" ther's only a blank page, that is loaded.

Can you help me?

Thanks! Léo
Title: Re: [MOD] Slideshow II
Post by: host on January 30, 2007, 12:45:55 PM
Hallo
Zuerst ein Lob für alle Mod programmierer!
Ich habe diesen Mod installiert und leider funktioniert dieser bei mir nicht.
Mein Problem ist folgendes:
Wenn ich auf den Button "Diashow" klicke, dann öffnet sich ein neues Fenster und der Fehler 500 "Internal Server Error" erscheint.
Ich habe den Mod (wie in der Anleitung beschrieben) installiert. Was könnte hier das Problem sein? Ich komme überhaupt nicht mehr weiter.
Habe die neuste Vers 1.7.4 (SAFE MODE ausgeschaltet). Im Admin Control Panel kann ich alle Diashow Einstellungen erfolgreich verändern.
Vielen Dank für die Hilfe...
mfg shadow_hunter

Hallo Shadow!

zu Deinem Problem eine Frage von mir (vielleicht habe ich dann die Antwort...)
1. Welche Einstellung hast Du bei "Geben Sie eine Bildgröße in Pixel an auf die die Bilder proportional verkleinert werden sollen" im ACP und - falls Du einen Wert dort eingetragen hast - taucht der Fehler auch auf, wenn Du dort "0" (also keine Verkleinerung) angibst? Und kommt der Fehler 500 sofort, oder erst nach einiger Zeit?

Grüße Holger
Title: Re: [MOD] Slideshow II
Post by: vuong184 on January 30, 2007, 04:18:52 PM
Don't run ? help me www.emtoi.org/gallery
Title: Re: [MOD] Slideshow II
Post by: KurtW on January 30, 2007, 05:01:07 PM
Hi vuong184,.

cant see anything error...

Testaccount?


cu
Kurt
Title: Re: [MOD] Slideshow II
Post by: host on January 30, 2007, 05:15:59 PM
Don't run ? help me www.emtoi.org/gallery

Can you provide a little bit more information than "don't run" and "help"...
What is going wrong? Error messages? ... ...

Greets
HoSt
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 30, 2007, 09:37:19 PM
@vuong184:

please what do you want with a path to a script that does not exist?
./templates/default/../../scripts/4images.js -> http://www.emtoi.org/gallery/templates/default/../../scripts/4images.js ->http://www.emtoi.org/gallery/scripts/4images.js
is not existing on your server.
maybe that is the problem, that the function openslideshow could not be found?
just try a little bit by yourself befor posting such question.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: ELO on January 30, 2007, 09:46:35 PM
Hello,
I am still searching a solution to make a slideshow to the  search results.
Any Ideas how to make it possible?
Greetings
Michael
Title: Re: [MOD] Slideshow II
Post by: host on February 06, 2007, 10:02:10 AM
Hello,
I am still searching a solution to make a slideshow to the  search results.
Any Ideas how to make it possible?
Greetings
Michael


Hi,

maybe yes... but I have to check it - next weekend I'll have the time (hopefully) :-)

Greets
HoSt

Edit:
No.. I tried it out, but it didn't worked :-(
Title: Re: [MOD] Slideshow II
Post by: shadowhunter on March 05, 2007, 03:42:19 PM
Hallo
Super MOD! Gratuliere an den Programmierer!
Ich möchte jedoch, dass bei allen Fotos, während jemand diese in der Diashow anseht, die Foto-Hits gezählt werden (+1 addiert bei jedem angesehen Foto).
Normalerweise wird dies ja nur gemacht, wenn ich ein Foto anklicke.
Wie ist dies möglich? Ist dieses Problem einen Bug oder funktioniert dies einfach bei mir nicht?
Kann mir bitte jemand weiterhelfen???
Vielen Dank im Voraus.
mfg
Title: Re: [MOD] Slideshow II
Post by: ghostmi on March 14, 2007, 12:04:32 AM
hemp me :(

The upload button ist already.
The MULTIupload button ist already.
The slideshow button is missing.

Admin Login slideshow button is  missing.
Guests and registered users button is missing.

 :?
Title: Re: [MOD] Slideshow II
Post by: deejay_ on March 14, 2007, 01:06:59 PM
@ghostmi:

Please add URL so I could check it.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: shadowhunter on March 21, 2007, 12:01:19 PM
Hello
Is it possible to count the hits of an image if it is opened in the slideshow?
It should function in such a way, as if I click in a photo to the detail side. The hits of all photos in the opened slideshow must be increasing.
Is this problem a bug or it doesn't function in my gallery?
I need help :) ! Has someone a solution or any ideas?
Best wishes
Title: Re: [MOD] Slideshow II
Post by: deejay_ on March 21, 2007, 12:55:41 PM
@shadow_hunter:
Now it is not a bug. It is not implemented yet.
If I find time I will add it but this could take months.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: BlueScorpion on April 08, 2007, 02:15:22 PM
Hallo,

ich habe diesen MOD installiert und er funktioniert generell auch.

Ein kleines Problem ist, dass die Verlinkung im Admin-Bereich nicht erscheint, obwohl die admin/index.php ergänzt wurde, aber das lässt sich noch "umgehen", wenn ich die slideshow_settings.php direkt aufrufe.

Aber mein grösseres Problem ist, dass die Slideshow die Bilder direkt aus dem media-Verzeichnis laden will, ich aber eine Art MOD installiert habe, bei dem jedes Bild über eine makeimg.php geleitet wird, durch die dynamisch ein Wasserzeichen erzeugt wird. Die originalen media-Ordner habe ich jeweils mit einer ht.access Datei vor Fremdzugriffen geschützt. Das makeimg.php Script kommt aber jeweils rein.

Frage:
Wie und wo kann ich die Slideshow so abändern, dass ich in die bisherige URL noch mein Script dazwischen schalten kann?
Und noch besser wäre es, wenn das Bild als Hintergrund einer Tabelle angezeigt wird und ich darüber ein gleichgroßes spacer.gif legen kann.

Slideshow bis jetzt: 4images/data/media/*/*.JPG
Beispiel-Link zu einem Bild mit dynamischen Wasserzeichen: "4images/makeimg.php?photo=./data/media/*/*.JPG"

Mir wäre schon sehr geholfen, wenn mir jemand sagen könnte in welchen Files ich danach suchen muss, das rumprobieren macht mir dann nicht so viel aus. :)

Gruß
BluE

P.S. I'll try to translate it later, no time for the moment, sry.

LÖSUNG:
Ich habe gerade in der slideshow.php die Variable MEDIA_DIR entdeckt und aus
define("MEDIA_DIR", "data/media");

das hier gemacht
define("MEDIA_DIR", "makeimg.php?photo=./data/media");

und es funktioniert sogar ;)

Wie ich das jetzt noch in eine Tabelle als Hintergrundbild einbinde werd ich noch probieren, aber mit der Lösung könnte ich sogar schon leben.

LÖSUNG 2:
Der Link im Admin-Bereich ist jetzt aufgetaucht, nachdem ich die Seite komplett neu (F5) geladen habe, zuvor habe ich lediglich auf "Control Panel" geklickt und war der Meinung dabei auch die komplette Seite zu refreshen, naja man lernt nicht aus. :)
Title: Re: [MOD] Slideshow II
Post by: BlueScorpion on April 16, 2007, 03:30:13 PM
@ELO:

Yes, it is possible to run a Slideshow over all Categories!
Why do you want to include the slideshow in searchresults?

best regards deejay_
Hi deejay,
How can i do that?
In our Galerie the cars are sorted by Categories of Manufacturer, but I have also put infos about carmeetings to the pictures
If I search for example "Golden Oldies" it would be fine to make a slideshow from the results
Sorry, bad english, but school is over for more than 20 years  :wink:
Greetings
Michael

I search - no, i wait ;) -  for the possibility, starting the slideshow over all categories, too.

Thanks a lot
BluE
Title: Re: [MOD] Slideshow II
Post by: SilverNavigator on April 24, 2007, 11:44:06 PM
Hallo,

wenn ich auf den Button klicke, dann öffnet sich kein neues Fenster.

Schaut mal selbst: http://bilder.promillepics.de/categories.php?cat_id=2


Wenn ich die Slideshow allerdings über die slideshow.php aufrufe, funktioniert alles bestens. http://bilder.promillepics.de/slideshow.php?action=slideshow&cat_id=2%22,%22737%22,%22700%22,0)

Wo liegt das Prob ?
Title: Re: [MOD] Slideshow II
Post by: BlueScorpion on April 25, 2007, 07:38:02 AM
Hallo SilverNavigator,

laut Deinem Quelltext müsste es daran liegen, dass Du die JavaScript-Funktion "function openslideshow(url,window_width,window_height,new_window)" noch nicht hast.
Sie muß an die Stelle eingefügt werden, wo auch der "Rechtsklickschutz" und ggf. die Captcha-Funktion liegen, schau am besten nochmal genau in der Installationsanleitung für den MOD nach.

Viel Erfolg
BluE
Title: Re: [MOD] Slideshow II
Post by: SilverNavigator on April 25, 2007, 03:39:58 PM
Okay, in der Anleitung steht folgendes:

ÖFFNEN    /4images/scripts/4images.js (wenn nicht vorhanden /4images/templates/default/header.html)

...


Habs im 4images.js gestern abend geändert, damit hat es nicht funktioniert. Heute hab ich es dann noch in die header.html eingefügt und jetzt funktioniert alles bestens. DAnke!
Title: Re: [MOD] Slideshow II
Post by: Knighthawk on May 22, 2007, 02:58:17 PM
Please Help

i have installed the mod and all works fine

when i push the "diashow" button, a new window opens with the first pic of the categorie

but there are no navigating buttons
and the show did not start

please help

greetings
knighthawk - www.omega-sector.de

Title: Re: [MOD] Slideshow II
Post by: mawenzi on May 22, 2007, 04:00:47 PM
... Diashow nur für registrierte User ...  :roll:
Title: Re: [MOD] Slideshow II
Post by: Knighthawk on May 22, 2007, 05:37:40 PM
... Diashow nur für registrierte User ...  :roll:

..daran liegt es leider nicht!!
Title: Re: [MOD] Slideshow II
Post by: KurtW on May 22, 2007, 06:24:53 PM
hallo,

du verstehst wohl den Sinn von des Postings nicht  8O
Testaccount bereitstellen oder eine oder alle Cats freischalten

Kurt
Title: Re: [MOD] Slideshow II
Post by: Knighthawk on May 22, 2007, 06:35:04 PM
hallo,

du verstehst wohl den Sinn von des Postings nicht  8O
Testaccount bereitstellen oder eine oder alle Cats freischalten

Kurt

Uuuups

Sorry

Login: Tester
Pwd: 12345

nochmal Sorry für das Missverständniss

Beste Grüsse
Title: Re: [MOD] Slideshow II
Post by: Knighthawk on May 23, 2007, 01:44:45 AM
Please Help

i have installed the mod and all works fine

when i push the "diashow" button, a new window opens with the first pic of the categorie

but there are no navigating buttons
and the show did not start

please help

greetings
knighthawk - www.omega-sector.de



i have fixed it.

i have made a mistake in main.php

now it works absolutely fine

thx for a great mod

greetings
knighthawk
Title: Re: [MOD] Slideshow II
Post by: ccsakuweb on June 01, 2007, 01:19:41 PM
Hi! I don't find the donwload. where is it?
Title: Re: [MOD] Slideshow II
Post by: manurom on June 01, 2007, 01:36:41 PM
Hello, ccsakuweb;
is this what you're looking for : http://www.the-deejay.com/mambo/component/option,com_docman/task,doc_details/gid,7/Itemid,134/ (http://www.the-deejay.com/mambo/component/option,com_docman/task,doc_details/gid,7/Itemid,134/)?
Title: Re: [MOD] Slideshow II
Post by: ccsakuweb on June 03, 2007, 10:24:05 AM
ouch xD
thank you very much manurom!
Title: Re: [MOD] Slideshow II
Post by: shadowhunter on June 06, 2007, 04:49:19 PM

Wie ich das jetzt noch in eine Tabelle als Hintergrundbild einbinde werd ich noch probieren, aber mit der Lösung könnte ich sogar schon leben.

Hallo!
Hast du eine Lösung gefunden, wie du die Diashow-Bilder in ein "Hintergrundbild" hineinpackst, sodass verhindert werden kann mit der rechten Maustaste das Bild zu kopieren?!?
Oder hat jemand anders dies erfolgreich Meistern können?
Funktionieren danach alle Übergangseffekte von der Diashow noch?
Könnte mir jemand dabei weiterhelfen...?!
Wäre euch seeehr dankbar...
Beste Grüsse
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 06, 2007, 09:37:00 PM
@ scluzern.com:
I'm not a fan of disabling right-click but in your case this would be the simpliest way to avoid the user of right-click-downloading the picture.
But there are many ways to download the picture. also if you are putting the picture as background image.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: flx on June 07, 2007, 02:06:08 PM
Is there already a possibility to have one slideshow with all pictures from all categories?

regards
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 10, 2007, 11:11:21 AM
@flx:
sorry about my answer, but NO acctually it is not possible to show all pictures from all categories in the slideshow.
till now I didn't got time to think about and then implement it.
sorry for the inconvienienc.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: ccsakuweb on June 11, 2007, 09:51:05 AM
hi nice mod! is posible to show the slide show in home page...?? it would be great! :D
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 11, 2007, 04:02:37 PM
@ccsakuweb:
What do you mean with home page ?
Your homepage? The home page of the 4images gallery? ...?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: ccsakuweb on June 11, 2007, 05:44:23 PM
in index.php then i will can put it in home.html
it would be nice show an aleatory category slideshow in home.html
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 12, 2007, 08:40:50 AM
@ccsakuweb:
sorry. but same answer as I gave at http://www.4homepages.de/forum/index.php?topic=7257.msg94547#msg94547 (http://www.4homepages.de/forum/index.php?topic=7257.msg94547#msg94547).
accutally there is no way to do this, excepting someone is doing it for me :-)

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: ccsakuweb on June 12, 2007, 08:56:35 AM
em i don't want a slide show with all categories.. i want a random slideshow in home.html
i will try if i install this mod ;) Is this mod the slide show that you have in your website? is great! :mrgreen:
Title: Re: [MOD] Slideshow II
Post by: deejay_ on June 12, 2007, 09:19:19 AM
@ccsakuweb:
but you don't habe any picture in the root of your gallery!
an thats the reason why you need at least a slideshow with two categories!
so you need a slideshow over categories.

but if you try it and maybe send me the corrected files I will look if I could include it.

yes, the slideshow is also in use on my own website :-)

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: DennisRR on October 21, 2007, 11:55:07 PM
Can anyone help me with this problem here:
http://www.4homepages.de/forum/index.php?topic=19133

Thanks,
Dennis

Title: Re: [MOD] Slideshow II
Post by: deejay_ on October 23, 2007, 10:40:32 AM
please just post the url to your 4images
Title: Re: [MOD] Slideshow II
Post by: shadowhunter on November 22, 2007, 05:38:39 PM
Hello!
Is it possible to count the hits of an image if it's opened in the slideshow?
The hits of all photos in the opened slideshow must be increasing.
It should function in such a way, as if I click in a photo to the detail side.
Has someone a solution for this?
Greetings
Title: Re: [MOD] Slideshow II
Post by: anicol on January 27, 2008, 02:37:56 AM
Right now the slide show option is only available if you log in.  Is there a way to make it so anyone can do the slideshow without having to be a registered user and log in?
Title: Re: [MOD] Slideshow II
Post by: Stephanie#53 on January 27, 2008, 10:17:00 AM
Hello, I have a problem with the slideshow on my website www.grizzlyfans-online.de.
Since my hoster has upgraded my Database to MySQL 5 the slideshow doesn´t work anymore.
When I click the slideshow-button the window opens with an error:
Code: [Select]
An unexpected error occured. Please try again later.

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/www/kunden/grizzlyfans-online.de/bildergalerie/includes/db_mysql.php on line 116

Is the slideshow not compatible with MySQL5? Is there anything I could change for reparing it? I don´t want to remove the slideshow and use another, so I hope we could fix the Problem.

Waiting for answers...
Stephanie
Title: Re: [MOD] Slideshow II
Post by: anicol on January 27, 2008, 05:45:25 PM
Sorry just to add to my last post.  I seem to only be able to see the slide show option if I am logged in as admin.  Is there a way to make the slide show available to all users not just registered ones?
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 28, 2008, 09:36:25 PM
First at all.
Sorry for the late answers but I look only once or twice a week in this forum :-)

Quote from: DennisRR
Can anyone help me with this problem here:
http://www.4homepages.de/forum/index.php?topic=19133
This is a general mysql 5 issue. A solution for your 4images you will find here:
http://www.4homepages.de/forum/index.php?topic=10184.15

To solve the problem with Slideshow II you have to do the following:
Find (in line 72)
Code: [Select]
       ."FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c "and replace with (in line 72)
Code: [Select]
       ."FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c ")
Thats all. After this it should work again!. If not just feel free to post again!
If I find time in the next weeks I will update this and maybe some other fature requests.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 28, 2008, 09:38:54 PM
First at all.
Sorry for the late answers but I look only once or twice a week in this forum, and sometimes more than one month :-)

Quote from: scluzern
Is it possible to count the hits of an image if it's opened in the slideshow?
sorry. but same answer as I gave at http://www.4homepages.de/forum/index.php?topic=7257.msg94547#msg94547.
accutally there is no way (I have not time) to do this, excepting someone is doing it for me :-)
maybe I will extend this till summer 2008!

Quote from: anicol
Right now the slide show option is only available if you log in.  Is there a way to make it so anyone can do the slideshow without having to be a registered user and log in?
Please send me a link to your gallery, so I could take a look myself. I think it is a problem with the including of the java scripts required for showing the slideshow.
But because there could be so many reasons for this it is the fastest way for me to take a look by myself.

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 28, 2008, 09:41:33 PM
Quote from: Stephanie#53
Is the slideshow not compatible with MySQL5? Is there anything I could change for reparing it?
This is a general mysql 5 issue.
Please look at http://www.4homepages.de/forum/index.php?topic=7257.msg110362#msg110362 for details.
After this it should work again!. If not just feel free to post again!

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: Stephanie#53 on January 29, 2008, 08:26:05 AM
Hello,

first thank you for answering.
Since I´ve had problems to update the script to Version 1.3 (database errors) and your suggested changings didn´t work too, I decided to uninstall the complete mod and look for another slideshow.
Surely there could be problems easily solved, but I don´t have time for that. I need a running slideshow, my users were really pi..ed off  :roll:
But I was always happy with your mod, lately a big THANKS for it.

Greetings from Germany,
Stephanie
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 29, 2008, 10:18:22 AM
Since I´ve had problems to update the script to Version 1.3 (database errors) and your suggested changings didn´t work too, I decided to uninstall the complete mod and look for another slideshow.
Surely there could be problems easily solved, but I don´t have time for that. I need a running slideshow, my users were really pi..ed off

First sorry for your inconvinienc. But you have also understand my position. The gallery is for free. The mod is for free. My work is for free. I have not very much time to make a 1000% test so there would be bugs in the system everytime. But if you did not told me your exactly problems with the mod the next one will have the same problem. Open Source only works if not only the developer are spending time into the project but also if the users are spending there time to post bugs and problems and try to solve them by the resolutions they got from the developer.

hope you could understand my point of view?

by the way for which slideshow you have decided now?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: whyte on January 30, 2008, 06:21:03 AM
Hi

Does slideshow 2 version 1.3 work in 4images 1.1.4 (latest)
I am seeing the following errors in the top of my pages....

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/lang/english/main.php:392) in /var/www/html/gallery/includes/sessions.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/lang/english/main.php:392) in /var/www/html/gallery/includes/sessions.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/lang/english/main.php:392) in /var/www/html/gallery/includes/sessions.php on line 101

Any ideas?

Andy
NZ
Title: Re: [MOD] Slideshow II
Post by: deejay_ on January 30, 2008, 07:56:53 AM
Does slideshow 2 version 1.3 work in 4images 1.1.4 (latest)

Yes it works with latest Version which is 1.7.4.

Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/gallery/lang/english/main.php:392) in /var/www/html/gallery/includes/sessions.php on line 101

Why do you think the problem is because of the slideshowII.
Was the gallery running without problems before?
My opinion is that it is caused by anoter problem.
Just look in /var/www/html/gallery/lang/english/main.php at line 392.
Maybe there is a print or echo?

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: whyte on January 30, 2008, 09:43:41 AM
I had it running beautifully on an earlier 4images so it must be something I have done in my upgrades. As suggested I will have a look at the lines and see if I  can figure it.
I have basic skills.
Thanks deejay.

Andy
NZ
Title: Re: [MOD] Slideshow II
Post by: whyte on January 31, 2008, 01:17:03 AM
All good now. I simply reloaded the lang/english/main.php file and made the changes again. The problem went away.
Cheers
Title: Re: [MOD] Slideshow II
Post by: whyte on February 01, 2008, 09:49:14 PM
Hey Deejay,

My slideshow is up and running on my gallery again since my upgrade. Often when I click on my button the slideshow does not start. Not until I view an image and go back to the category does the slideshow start. Could be frustrating my visitors.
Does anyone know about a bug that could cause this? I am using Firefox but it also does it in IE.


Andy NZ
Title: Re: [MOD] Slideshow II
Post by: STL on June 07, 2008, 11:58:52 AM
Mein Provider hat nun ebenfalls auf MYSQL5 umgestellt.
Die Galerie 1.7.6 läuft problemlos, jedoch meine SlideshowII 1.3 nicht.

Ich hab folgendes geändert:

slideshow.php (in line 72)
Code: [Select]
."FROM ".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c "
ersetzt durch:
Code: [Select]
."FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c ")
Nun habe ich folgendes Fehler beim Aufruf der Diashow:

Parse error: syntax error, unexpected ')' in /home/webrobo_users/............ /slideshow.php on line 72
Was stimmt denn dan mit der Klammer nicht?
Title: Re: [MOD] Slideshow II
Post by: KurtW on June 07, 2008, 02:31:32 PM
 :arrow:
Code: [Select]
."FROM (."IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)"
or completly this:
Code: [Select]
$sql = "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".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
       FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
       LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
       WHERE i.image_active = 1 AND i.cat_id = $cat_id AND c.cat_id = i.cat_id
       ORDER BY i.image_name ASC";
Title: Re: [MOD] Slideshow II
Post by: STL on June 07, 2008, 08:29:59 PM
bei Lösung 1: Parse error: syntax error, unexpected T_STRING in ... line 72

bei Lösung 2: funktioniert!!  :-)

Besten Dank!!

Title: Re: [MOD] Slideshow II
Post by: Sleepy on August 21, 2008, 05:00:16 PM
Will the number of "Hits" be increased when people view photos in the slideshow?
Besides, does anyone know where I could see the demo?
I checked http://www.the-deejay.com/ , but couldn't find live demo there.

Thank you very much.
Best regards,
Sleepy
Title: Re: [MOD] Slideshow II
Post by: deejay_ on August 21, 2008, 10:28:45 PM
Will the number of "Hits" be increased when people view photos in the slideshow?
No. There is allready an request for this but I have not very much time to do this sorry :-)

Besides, does anyone know where I could see the demo?
I checked http://www.the-deejay.com/ , but couldn't find live demo there.
The Demo isn't available anymore because I'm switched from 4images to pony gallery (http://www.joomgallery.net/demo-ponygallery/).

best regards deejay_
Title: Re: [MOD] Slideshow II
Post by: Sleepy on August 22, 2008, 04:02:13 PM
No. There is allready an request for this but I have not very much time to do this sorry :-)

The Demo isn't available anymore because I'm switched from 4images to pony gallery (http://www.joomgallery.net/demo-ponygallery/).

best regards deejay_
It' okay. Thanks for your reply and providing such a good MOD.
Title: Re: [MOD] Slideshow II
Post by: cakotr on August 30, 2008, 01:05:02 AM
   Firstly ,  Deejay it is really nice mod , thanks for it !

My problem is that , after I click slide show button , there is opening a new window but there isnt any photo.

i spent a lot time to find solution.But i couldnt do it.

i use 1.7.6 version.
and i didnt have 4images.js  ( i created it )

it is my site  www.pembedeniz.com
for slide show   http://www.pembedeniz.com/r-guzeller-galerisi-5-yuksel-ak-resimleri-resim-576.html

user name = demo
password =  demo

   please look it , i am waiting your answer , thanks...
Title: Re: [MOD] Slideshow II
Post by: cakotr on August 30, 2008, 01:14:16 AM
when i try 2nd way ( when not avaible 4images.js )

when i put that code   >>  /templates/default/header.html)
i see that code on my web page head !   what is problem ??
Code: [Select]
//-----------------------------------------------------
//--- 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
Title: Re: [MOD] Slideshow II
Post by: DilnüvaZ on August 30, 2008, 11:58:15 AM
when i try 2nd way ( when not avaible 4images.js )

when i put that code   >>  /templates/default/header.html)
i see that code on my web page head !   what is problem ??
Code: [Select]
//-----------------------------------------------------
//--- 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

Bu kodlar header.html ye deðil 4images.js e ye koyulmalý... header.htlml için 3:/templates/temanýz/header.html de bu kodu bulalým
Code: [Select]
<link rel="stylesheet" href="{template_url}/style.css" />altýna bunu ekleyin:
Code: [Select]
<script language="JavaScript" type="text/javascript" src="{template_url}/../../scripts/4images.js"></script>

3.1: bu kodu bulup silelim :
Code: [Select]
function opendetailwindow() {
    window.open('','detailwindow','toolbar=no,scrollbars=yes,resizable=no,width=680,height=480');
  }
Title: Re: [MOD] Slideshow II
Post by: cakotr on August 30, 2008, 01:58:53 PM
dostum demek istedigim , deejay yazmış eger 4images.js bulunamazsa ( yoksa ) 2. yolu yapın diye o çok olan kodları header.html in sonuna ekle diye , işte bu yolu yapınca sayfaların üstünde kodlar çıkıyor.
   o olmayınca 1. yolu yaptım yani  bir tane 4images.js oluşturdum.o kodları içine koydum /scripts e attım.Diğer dediklerinin hepsini de yaptım.Bu sefer yeni pencere çıkıyor ama resim felan yok ortada bom boş bi sayfa , sitemden bir bak sana zahmet. Saol ilgilendigin için

( there is still a problem )
Title: Re: [MOD] Slideshow II
Post by: cakotr on August 31, 2008, 10:50:00 PM
this line in the query
FROM 4images_images i, 4images_categories c
should be like this
FROM (4images_images i, 4images_categories c)

it's a mysql5 related problem,
there also some threads about this issue.
where do we change this code ?? on slideshow.php ?? or where
Title: Re: [MOD] Slideshow II
Post by: V@no on September 01, 2008, 02:31:06 AM
slideshow.php and anywhere else you can find ;)
Title: Re: [MOD] Slideshow II
Post by: Gazzagreen on October 19, 2008, 10:39:33 PM
Just finished the install and I have got a little problem with the slideshow.

When I press the slideshow button, I get an error message at the bottom of webpage. Doesn't tell me anything

When i checked my database after the install I noticed that the slideshow tables aren't there. Is there supposed to be slideshow tables there? I tried to upload the slideshow.sql file to the database but all i got was an error.

I found out where the sql entries went. Its not that thats the problem then. I'll look through everything and try to find out where i went wrong :(


Thanks Gazza



Got it working. I just got a little confused with the /script 4images.js file! When i made one and added the code in the doc file, the slideshow works!

Looks really good. Many thanks the the author of this mod. Its apprieated and I'll let you know if i can inprove it.

Gazza
Title: Re: [MOD] Slideshow II
Post by: martin150 on December 21, 2008, 08:50:13 PM
Hatte auch ein Problem nach Datenbankwechsel. Dank dieser Lösung funktioniert wieder alles ! DANKE !
:arrow:

or completly this:
Code: [Select]
$sql = "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".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
       FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
       LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
       WHERE i.image_active = 1 AND i.cat_id = $cat_id AND c.cat_id = i.cat_id
       ORDER BY i.image_name ASC";
Title: Re: [MOD] Slideshow II
Post by: escbln on February 24, 2009, 09:55:41 PM
Gibt es das Zip-File noch irgendwo zum Download? Danke!
Title: Re: [MOD] Slideshow II
Post by: deejay_ on February 25, 2009, 10:28:56 AM
Gibt es das Zip-File noch irgendwo zum Download? Danke!
Hatte Probleme mit meinem alten CMS.
Das Zip-File gibt es unter folgendem Link:
http://www.fotoeck.at/cms/index.php?option=com_zoo&view=item&category_id=10&item_id=22&Itemid=83&lang=de (http://www.fotoeck.at/cms/index.php?option=com_zoo&view=item&category_id=10&item_id=22&Itemid=83&lang=de)

lg deejay_
Title: Re: [MOD] Slideshow II
Post by: escbln on February 25, 2009, 08:10:57 PM
Funktioniert das auch mit 1.7.6? Ich habe zum Beispiel die 4images.js nicht und kann daher nicht auf diese verlinken.
Title: Re: [MOD] Slideshow II
Post by: Rembrandt on February 25, 2009, 08:24:32 PM
Hi!
...
...Ich habe zum Beispiel die 4images.js nicht und kann daher nicht auf diese verlinken.
bitteschön.

mfg Andi
Title: Re: [MOD] Slideshow II
Post by: liberty on May 06, 2009, 06:35:40 PM
hallo @all,

ich habe 4 images 1.7.6 und alles so gemacht wie im mod von deejay beschrieben, der button diashow ist da, aber leider ohne funktion...... und seither funktioniert auch die leuchtkasten ansicht nicht mehr.

weiß jemad was zu tun ist um das prob zu lösen??? :roll:

thx schon mal

liberty
Title: Re: [MOD] Slideshow II
Post by: deejay_ on May 07, 2009, 05:26:36 PM
hallo @all,

ich habe 4 images 1.7.6 und alles so gemacht wie im mod von deejay beschrieben, der button diashow ist da, aber leider ohne funktion...... und seither funktioniert auch die leuchtkasten ansicht nicht mehr.

weiß jemad was zu tun ist um das prob zu lösen??? :roll:

thx schon mal

liberty
Bitte um link zur Galerie!
Title: Re: [MOD] Slideshow II
Post by: liberty on May 08, 2009, 07:28:41 AM
Na klar, sorry hab ich vergessen :oops:

www.sfct.de/4images

liberty
Title: Re: [MOD] Slideshow II
Post by: deejay_ on May 08, 2009, 08:00:54 PM
Na klar, sorry hab ich vergessen :oops:

www.sfct.de/4images

liberty
Ok. Dein Problem ist das du vor und nach meinen JavaScripts keine SCRIPT definition hast.

Am einfachsten vor

Code: [Select]
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------

folgendes einfügen:
Code: [Select]
<script language="javascript" type="text/javascript">
<!--

und nach
Code: [Select]
} // openslideshow

folgendes einfügen

Code: [Select]
// -->
</script>

Dann sollte alles wie gewünscht funktionieren :-)

lg deejay_
Title: Re: [MOD] Slideshow II
Post by: liberty on May 09, 2009, 07:05:32 AM
Na klar, sorry hab ich vergessen :oops:

www.sfct.de/4images

liberty
Ok. Dein Problem ist das du vor und nach meinen JavaScripts keine SCRIPT definition hast.

Am einfachsten vor

Code: [Select]
//-----------------------------------------------------
//--- Slideshow changes -------------------------------
//-----------------------------------------------------

folgendes einfügen:
Code: [Select]
<script language="javascript" type="text/javascript">
<!--

und nach
Code: [Select]
} // openslideshow

folgendes einfügen

Code: [Select]
// -->
</script>

Dann sollte alles wie gewünscht funktionieren :-)

lg deejay_


hab alles so gemacht, also wie du es beschrieben hast, aber leider, ohne erfolg.  wenn du willst, stelle ich dir gern die datein zur, vielleicht hab ich ja noch einen fehler drin.... :-(  :?

habe dir nen zugang eigerichtet.....zugangsdaten hatte ich dir per mail geschickt.

lg liberty
Title: Re: [MOD] Slideshow II
Post by: Postmaster on September 05, 2010, 11:38:24 PM
Hallo

Zuerst ein Lob für alle Mod programmierer!
Ich habe diesen Mod installiert und leider funktioniert dieser bei mir nicht.
Mein Problem ist folgendes:
Wenn ich auf den Button "Diashow" klicke, dann öffnet sich ein neues Fenster und der Fehler
Code: [Select]
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 = 7 AND c.cat_id = i.cat_id ORDER BY i.image_name ASC
Unknown column 'i.user_id' in 'on clause'

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /mnt/web6/40/94/51350594/htdocs/includes/db_mysql.php on line 116
erscheint.
Ich habe den Mod (wie in der Anleitung beschrieben) installiert. Was könnte hier das Problem sein? Ich komme überhaupt nicht mehr weiter.
Habe die neuste Vers 1.7.4 (SAFE MODE ausgeschaltet). Im Admin Control Panel kann ich alle Diashow Einstellungen erfolgreich verändern.

http://www.yottapixel.de/categories.php?cat_id=7

und leider sind die bilder nicht mehr zentriert ???
Vielen Dank für die Hilfe...
Title: Re: [MOD] Slideshow II
Post by: mawenzi on September 06, 2010, 12:05:53 AM
... hier die Problemlösung ...
... Unknown column 'i.user_id' in 'on clause' : http://www.4homepages.de/forum/index.php?topic=22668.0 ...
... aber ... der ist gut ...

... Habe die neuste Vers 1.7.4 ...

... dann schau noch mal hier vorbei : http://www.4homepages.de/forum/index.php?topic=27689.0 ...
Title: Re: [MOD] Slideshow II
Post by: Postmaster on September 06, 2010, 12:14:53 AM
Hallo mawenzi  

Entschuldigung ich habe Die neue Version 4images 1.7.8 Ich muss mich verschrieben
und die Anleitung ist leider auf Englisch http://www.4homepages.de/forum/index.php?topic=22668.msg123709#msg123709

MySQL Version 5.0.89
PHP-Version 5.2.10

und leider sind die bilder nicht mehr zentriert ???

vielen dank im voraus Postmaster
Title: Re: [MOD] Slideshow II
Post by: Rembrandt on September 06, 2010, 05:22:22 AM
und die Anleitung ist leider auf Englisch http://www.4homepages.de/forum/index.php?topic=22668.msg123709#msg123709

 so sollte es funktionieren:  http://www.4homepages.de/forum/index.php?topic=7257.msg129405#msg129405

mfg Andi
Title: Re: [MOD] Slideshow II
Post by: Postmaster on September 06, 2010, 02:56:59 PM
Hallo liebe Forumsgemeinde


möchte mich hier an dieser stelle bei allen,die dieses forum unterhalten mit infos, bilder,und vielem mehr,danken für die tolle arbeit
mein Ganz besonderer Dank geht an Andi und Mawenzi für die Schnelle Hilfe

P.S.

wusste nicht das ich das in der slideshow.php  schreiben Muss

Code: [Select]
$sql = "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".$additional_sql.", c.cat_name".get_user_table_field(", u.", "user_name")."
       FROM (".IMAGES_TABLE." i,  ".CATEGORIES_TABLE." c)
       LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = i.user_id)
       WHERE i.image_active = 1 AND i.cat_id = $cat_id AND c.cat_id = i.cat_id
       ORDER BY i.image_name ASC";

:lol: :lol: :lol: Es hat Funktioniert  :lol: :lol: :lol: Vielen vielen Dank  (whis) (whis) (whis) (whis)


Weiss keiner ne Lösung?
Oder hat keiner ne Idee wie ich dem Problem auf die Spur kommen kann?


Warum  sind die bilder nicht mehr zentriert ??? http://www.yottapixel.de/categories.php?cat_id=7

so wie hier http://demo.4homepages.de/categories.php?cat_id=3&sessionid=f733c5003b1247e8a13be527bd000510
Title: Re: [MOD] Slideshow II
Post by: mxnn on September 17, 2010, 07:46:50 AM
How can I modify the code to all invited people without registration see the slideshow?
Title: Re: [MOD] Slideshow II
Post by: Postmaster on April 16, 2011, 03:54:07 AM
Hallo

Germany ich habe Die neue Version 4images 1.7.9  
Englisch I have the new version 4images 1.7.9

Germany Leider ist das layout nicht mehr zentriert ???
wie und wo kann ich es ändern

Englisch the layout is not centered?
how and where can I change it
Many thanks

(http://s1.directupload.net/images/110416/temp/6bn23xqi.jpg) (http://s1.directupload.net/file/d/2496/6bn23xqi_jpg.htm)



ok

Hat sich erledigt

habe die lösung selber gefunden

hier der code in der datei slideshow.html

<table width="1100" border="0" cellspacing="0" cellpadding="0" align="center">

vielen dank im voraus Postmaster

Title: Re: [MOD] Slideshow II
Post by: whyte on February 25, 2013, 04:45:55 AM
I had this working the past on earlier versions. Is it worth trying to get it working on the latest update of 4images? Will it work the same?
1.7.11
I  want it running on my motorcycle image gallery.
http://andrewwhyte.com/motorcycles/4images/

I have purchase the software in the past and just re-using it again.

Andrew from New Zealand.
Title: Re: [MOD] Slideshow II
Post by: Rembrandt on February 25, 2013, 05:36:24 AM
yes

mfg Andi
Title: Re: [MOD] Slideshow II
Post by: Zegger on August 16, 2013, 02:01:14 PM
Hallo!
Ich habe Version 1.7.11 und es will nicht so richtig laufen, Button ist da, nur läuft nix  :(

http://fotoalbum.berrsch.de/categories.php?cat_id=173
Title: Re: [MOD] Slideshow II
Post by: senloel on August 16, 2013, 06:07:47 PM
Der Link zur Slideshow ist fehlerhaft.

Fahr mal über den Button, da taucht im Link ein "./" auf, das dürfte eig nicht sein im Browser.
Title: Re: [MOD] Slideshow II
Post by: deejay_ on August 16, 2013, 08:18:36 PM
Hallo!
Ich habe Version 1.7.11 und es will nicht so richtig laufen, Button ist da, nur läuft nix  :(

http://fotoalbum.berrsch.de/categories.php?cat_id=173

Das Problem ist eine schließende Klammer zu viel in deinem SCRIPT-Tag, woher die auch immer kommt :-)
Bitte einfach die Klammer entfernen und dann sollt die Sliedeshow auch funktionieren.

Also
Code: [Select]
} // openslideshow

<!--
  }
 
  function right(e) {
ersetzen mit

Code: [Select]
} // openslideshow

<!--
  function right(e) {

lg deejay_
Title: Re: [MOD] Slideshow II
Post by: Zegger on August 17, 2013, 03:17:54 PM
danke danke !!! läuft

nur ist das ganze nicht so mittig oder ?

http://fotoalbum.berrsch.de/categories.php?cat_id=173