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

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

0 Members and 1 Guest are viewing this topic.

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Slideshow II
« Reply #105 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

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Slideshow II
« Reply #106 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)

Offline host

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: [MOD] Slideshow II
« Reply #107 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
« Last Edit: December 21, 2006, 05:08:17 PM by host »

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Slideshow II
« Reply #108 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

Offline chull

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: [MOD] Slideshow II
« Reply #109 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

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Slideshow II
« Reply #110 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.

Offline host

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: [MOD] Slideshow II
« Reply #111 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

Offline Phil87

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: [MOD] Slideshow II
« Reply #112 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!!! :)

Offline ELO

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.altautobilder.de
Re: [MOD] Slideshow II
« Reply #113 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


Offline deejay_

  • Jr. Member
  • **
  • Posts: 76
  • www.fotoeck.at
    • View Profile
    • www.fotoeck.at
Re: [MOD] Slideshow II
« Reply #114 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_

Offline ELO

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://www.altautobilder.de
Re: [MOD] Slideshow II
« Reply #115 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


Offline shadowhunter

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • Fotogalerie & Fotocommunity scluzern.com
Re: [MOD] Slideshow II
« Reply #116 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

Offline leo-magic

  • Newbie
  • *
  • Posts: 40
    • View Profile
Re: [MOD] Slideshow II
« Reply #117 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

Offline host

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: [MOD] Slideshow II
« Reply #118 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

Offline vuong184

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: [MOD] Slideshow II
« Reply #119 on: January 30, 2007, 04:18:52 PM »
Don't run ? help me www.emtoi.org/gallery