4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 30, 2010, 04:32:34 AM

Login with username, password and session length
Search:     Advanced search
Check the new Tutorial subforum with helpfull guides and tutorials for modifications and tweaks.
Translate this page with google
=>
 Translate this page with Google =>
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Bug im APC gefunden: "Bilder bearbeiten" in Vers. 1.7.4
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Bug im APC gefunden: "Bilder bearbeiten" in Vers. 1.7.4  (Read 13483 times)
scluzern
Full Member
***
Offline Offline

Posts: 113

Thank You
-Given: 0
-Receive: 2


View Profile WWW
« on: June 19, 2007, 03:02:27 PM »

Hi!
Ich habe einen ganz kleinen Fehler in der aktuellen Version 1.7.4 gefunden.
In der aktuellen Version kann im ACP in der Kategorie "Bilder bearbeiten" nicht nach Bildern gesucht werden, wenn der Suchstring "Anzahl Bewertungen größer als" & "Anzahl Bewertungen kleiner als" verwendet wird.
Ich bin auf die Suche gegangen und habe sofort den Fehler gefunden.

Hier den zu änderden Quellcode:

In der Datei:
admin/images.php

Suche nach:
1
2
3
4
5
6
7
  if ($hitslower != "") {
    $condition .= " AND i.image_hits < '$hitslower'";
  }
  $hitsupper = trim($HTTP_POST_VARS['hitsupper']);
  if ($hitsupper != "") {
    $condition .= " AND i.image_votes > '$hitsupper'";
  }

Ersetze durch:
1
2
3
4
5
6
7
  if ($hitslower != "") {
    $condition .= " AND i.image_hits < '$hitslower'";
  }
  $hitsupper = trim($HTTP_POST_VARS['hitsupper']);
  if ($hitsupper != "") {
    $condition .= " AND i.image_hits > '$hitsupper'";
  }

Viel Spass & Beste Grüsse

Logged

ivan
Moderator
4images Guru
*****
Offline Offline

Posts: 2109

Thank You
-Given: 3
-Receive: 10


View Profile WWW
« Reply #1 on: June 19, 2007, 05:51:52 PM »

hi,
... da stimmte was wirklich nicht Wink

gruss ivan
Logged

greeting / grüsse
ivan

My Blog http://blog.bildergallery.com

    
nobby
4images Guru
*******
Offline Offline

Posts: 2228

Thank You
-Given: 0
-Receive: 4


View Profile
« Reply #2 on: June 25, 2007, 08:10:45 PM »

Hei,

wie sieht es denn aus, kann man den Code Bedenkenlos übernehmen oder nicht  Question  Shocked

Gruß
Nobby
Logged

4images, da wird dir geholfen ...
4images, aquí se encuentra ayuda ...
4images, trouvez de l'aide ici ...

www.germanfoto.de
ivan
Moderator
4images Guru
*****
Offline Offline

Posts: 2109

Thank You
-Given: 3
-Receive: 10


View Profile WWW
« Reply #3 on: June 25, 2007, 08:28:15 PM »

klar, dies ist ein bug, habe es selbst ausprobiert...

gruss ivan
Logged

greeting / grüsse
ivan

My Blog http://blog.bildergallery.com

    
nobby
4images Guru
*******
Offline Offline

Posts: 2228

Thank You
-Given: 0
-Receive: 4


View Profile
« Reply #4 on: June 25, 2007, 08:58:24 PM »

Besten Dank  Exclamation  Smile
Logged

4images, da wird dir geholfen ...
4images, aquí se encuentra ayuda ...
4images, trouvez de l'aide ici ...

www.germanfoto.de
nobby
4images Guru
*******
Offline Offline

Posts: 2228

Thank You
-Given: 0
-Receive: 4


View Profile
« Reply #5 on: June 26, 2007, 08:18:20 AM »

Besten Dank  Exclamation  Smile

Funktioniert tadellos  Exclamation
Logged

4images, da wird dir geholfen ...
4images, aquí se encuentra ayuda ...
4images, trouvez de l'aide ici ...

www.germanfoto.de
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
piqs.de - Fotocommunity & lizenzfreie Fotos