• [Mod] Letzte Änderung / Last modified 5 0 5 1
Currently:  

Author Topic: [Mod] Letzte Änderung / Last modified  (Read 71935 times)

0 Members and 1 Guest are viewing this topic.

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #30 on: December 10, 2009, 12:40:58 AM »
Klappt 1 A *freu*

Du hast nur vergessen in der page_header.php dieses einzufügen

"lang_last_modified" => $lang['last_modified'],

"url_last_modified" => $site_sess->url(ROOT_PATH."last_modified.php"),

denn sonst wird der Text in der home nicht angezeigt.


Habe aber folgendes Problem, hatte ja in der thumbnail_bit.html  dieses eingefügt, was vorher auch klappte

      {if image_update}
      <
li>Update:<font color='#000000'>{image_update}</font> </li>
      {endif 
image_update}


jetzt wird dort aber nicht das Datum angezeigt, sondern das
Update:1260399373

muss ich jetzt noch was einfügen, das der md5 hash dort umgewandelt wird ?

LG Harald
« Last Edit: December 10, 2009, 12:52:03 AM by Jan-Lukas »
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #31 on: December 10, 2009, 05:44:04 AM »
Hi!
ja das habe ich vergessen, zu schreiben.  :)
zu den thumbnails, schritt 5  von dem mod schreibe in die includes/pageheader anstatt in die detail.php.

mfg Andi

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #32 on: December 10, 2009, 01:25:14 PM »
habe es mal in die page_header gesetzt, wird aber immer noch der md5 hash angezeigt.
Aber lass mal, habe überlegt das der Link reicht, muss nicht noch unter dem Thumb auch noch stehen.

Danke Dir noch mal für den tollen Mod, das war schon lange mein Wunsch zu sehen wo was geändert wurde.

LG Harald

edit:

Traue mich gar nicht mehr zu fragen, sehe aber, das Du da eine Begrenzung von 50 Einträgen hast.
Kann man die auch auf Seiten einteilen (a 100), so das alle Änderungen angezeigt werden.

LG Harald
« Last Edit: December 15, 2009, 08:21:30 PM by Jan-Lukas »
Danke Harald




Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #33 on: January 18, 2010, 05:41:24 PM »
mein Edit hier drüber, wurde bestimmt nur übersehen  :wink:

Harald
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #34 on: January 18, 2010, 06:24:19 PM »
ja Harald, übersehen.

ok suche in der last_modified.php :
    LIMIT 50

den wert kannst du auf z.b. 100 setzen

mfg Andi

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #35 on: January 18, 2010, 06:40:56 PM »
Hi Andi,
Na das wusste ich doch, meinte auf Seiten einteilen (Blätterfunktion)
Also 100, nächste Seite ;)

Harald
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #36 on: January 18, 2010, 09:05:14 PM »
achso.. da habe ich schlampig gelesen, ich glaube von V@no gibt es einen mod für custom seiten.

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #37 on: June 07, 2011, 12:37:44 AM »
Hi Andi,
Na das wusste ich doch, meinte auf Seiten einteilen (Blätterfunktion)
Also 100, nächste Seite ;)

Harald

 :wink:

Frage 2, z.Z. klappt das ja nur, wenn ich über der Galerie die Bilder ändere, kann man das auch über dem "[MOD] Batch Copy/Move/Edit Images v4.15.7" von V@no realisieren, da ich die Bilder meist über diese Funktion ändere.
http://www.4homepages.de/forum/index.php?topic=6759.0

LG
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #38 on: June 07, 2011, 04:49:35 AM »
versuche mal:
suche:
  $sql "UPDATE ".IMAGES_TABLE."
          SET image_description = '
$image_description', image_keywords = '$image_keywords', image_allow_comments = $image_allow_comments, image_active = $image_active.$date

ersetze es mit:

  $sql 
"UPDATE ".IMAGES_TABLE."
          SET image_description = '
$image_description', image_keywords = '$image_keywords', image_allow_comments = $image_allow_comments, image_active = $image_active.$date, image_update = ".time()."


suche:

    $sql 
"UPDATE ".IMAGES_TABLE."
            SET cat_id = 
$cat_id, user_id = $user_id, image_name = '$image_name', image_description = '$image_description', image_keywords = '$image_keywords', image_date = $image_date, image_active = $image_active, image_media_file = '$new_name', image_thumb_file = '$new_thumb_name', image_download_url = '$image_download_url', image_allow_comments = $image_allow_comments, image_downloads = $image_downloads, image_votes = $image_votes, image_rating = '$image_rating', image_hits = $image_hits".$additional_sql."

ersetze es mit:

    $sql 
"UPDATE ".IMAGES_TABLE."
            SET cat_id = 
$cat_id, user_id = $user_id, image_name = '$image_name', image_description = '$image_description', image_keywords = '$image_keywords', image_date = $image_date, image_active = $image_active, image_media_file = '$new_name', image_thumb_file = '$new_thumb_name', image_download_url = '$image_download_url', image_allow_comments = $image_allow_comments, image_downloads = $image_downloads, image_votes = $image_votes, image_rating = '$image_rating', image_hits = $image_hits ".$additional_sql.",image_update = ".time()."
« Last Edit: June 12, 2011, 07:04:35 PM by Rembrandt »

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #39 on: June 07, 2011, 06:17:10 PM »
leider ohne Erfolg
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #40 on: June 08, 2011, 05:33:26 AM »
leider ohne Erfolg
ja ich sehe da gibt es noch einige "$sql = "UPDATE ".IMAGES_TABLE.""
im prinzip müßtest du die änderung bei allen "$sql = "UPDATE ".IMAGES_TABLE."" machen.

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #41 on: June 08, 2011, 07:27:22 PM »
dann werde ich das wohl mal machen  :wink:
melde mich dann

LG

sind aber blöde Zeilen  :?

$sql "UPDATE ".IMAGES_TABLE." SET cat_id = ".$cat_id.$filenames.$date_sql." WHERE image_id = ".$image_id;

$sql "UPDATE ".IMAGES_TABLE."
	
	
	
	
	
	
	
SET user_id = "
.$owner."


$sql "UPDATE ".IMAGES_TABLE."
                          SET image_update = '
$update_time'


$sql "UPDATE ".IMAGES_TABLE."
	
	
	
	
	
	
	
SET "
.implode(", "$set)."
« Last Edit: June 08, 2011, 07:39:04 PM by Jan-Lukas »
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #42 on: June 09, 2011, 05:38:53 AM »
1.)
$sql "UPDATE ".IMAGES_TABLE." SET cat_id = ".$cat_id.$filenames.$date_sql." ,image_update = ".time()." WHERE image_id = ".$image_id;

2.)
      $sql 
"UPDATE ".IMAGES_TABLE."
              SET user_id = "
.$owner.", image_update = ".time()."


3.)
      $sql 
"UPDATE ".IMAGES_TABLE."
               SET image_update = '
$update_time',  image_update = ".time()."


4.)    $sql "UPDATE ".IMAGES_TABLE."
            SET "
.implode(", "$set)." , image_update = ".time()."


versuchs mal so

Offline Jan-Lukas

  • Addicted member
  • ******
  • Posts: 1.289
    • View Profile
    • Discover the New World of Kindersurprise
Re: [Mod] Letzte Änderung / Last modified
« Reply #43 on: June 09, 2011, 06:08:32 PM »
hmm, hatte ich glaube ich bis auf Nr. 1 auch so.

leider auch nicht
ist das normal, wenn ich die Bilder im admin mit "[MOD] Batch Copy/Move/Edit Images v4.15.7" speichere, das ich die Rebuild Search Index neu durchlaufen lassen muß, weil die Bilder nicht mehr gefunden werden ?
Danke Harald




Rembrandt

  • Guest
Re: [Mod] Letzte Änderung / Last modified
« Reply #44 on: June 09, 2011, 06:21:47 PM »
...ist das normal, wenn ich die Bilder im admin mit "[MOD] Batch Copy/Move/Edit Images v4.15.7" speichere, das ich die Rebuild Search Index neu durchlaufen lassen muß, weil die Bilder nicht mehr gefunden werden ?

ich habe mir den mod bis jetzt noch nicht eingebaut daher kann ich dir dazu nichts sagen.
vielleicht komme ich später dazu mir das anzusehen.

mfg Andi