Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - henary

Pages: 1 2 3 4 [5]
61
Mods & Plugins (Releases & Support) / Re: [Mod] EXIF 0.3
« on: August 18, 2005, 09:14:56 AM »
Hi Vincent,

did you have changed some in exif.php? And exif.php is in includes/ on your server?
Sometimes a white page will shown, is some code are wrong but you don't get errors becaus the server is busy (or anything like this) - i've had this some days before by changing sql-codes...

Second:
Check your EXIF on Server by using a new file readexif.php. use following code
Code: [Select]
<?php
 $exif 
read_exif_data ('xxxxx.jpg');
 while(list(
$k,$v)=each($exif)) {
   echo "$k$v<br>\n";
 }
?>

But you have to change xxxxx.jpg in one file (containing exif-data) on your server out in same directory like this file!
You have to receive some exif-Data from this pic.

Regards,
Henry

62
Chit Chat / Re: Topic lost: upload Date and IPTC-Date
« on: August 16, 2005, 09:54:18 PM »
Hi vincent,

i don't know any reason in this time. Exactly i agree with you: how to kill a topic?!? But it dosn't mater!

After i received the "cancel eMail" i thought, i've used a wrong way to describe some code-changes. I didn't know, how to use code-maker etc. But now i know.

If you like to relaunch this topic, please do so.
You've asked about upload date - i use this here :-)

I hope, you will be fine and any problem is fixed,
Henry

63
Hello
first sorry if i have removed something!  :oops:
 but
what should i have removed
why should i remove
and i am allow to remove something?  :wink:

sincerly
vincent

Hi vincent,

please go to http://www.4homepages.de/forum/index.php?topic=9324.new#new, because we shouldn't discuss this here ;-)
Henry

64
Chit Chat / Topic lost: upload Date and IPTC-Date
« on: August 16, 2005, 08:12:46 AM »
Hi Vincent,

last time, you may open or continued a threas called "upload Date and IPTC-Date".
On 29/07/2005 i wrote answer and help to you by explaining, what i've done do have a uploade-date instead of date from file or from FTP-upload.
After a few hours, i got two eMails with following content:

Subject: Topic locked: upload Date and IPTC-Date
Body:
A topic you are watching has been locked by Vincent.

View the topic at: http://www.4homepages.de/forum/index.php?topic=7546.new;topicseen#new
Regards,
The 4homepages.de Team.


and

Subject: Topic removed: upload Date and IPTC-Date
Body:
A topic you are watching has been removed by Vincent.

Regards,
The 4homepages.de Team.


I don't know what and why and where this has been done, but it's past and if you also don't know anything - it would be a bug ;-)

Regards,
Henry

65
Hi again,

if you like some more information in categorie-list like this:


To change: /admin/categories.php ** Please make backup before yo start! **

search:
Code: [Select]
function show_category_rows($cid = 0, $depth = 1) {
  global $site_db, $site_sess, $lang, $category_cache;

  if (!isset($category_cache[$cid])) {
    return false;
  }
  foreach ($category_cache[$cid] as $key => $cats) {
    $class = "tablerow2";
    if ($cats['cat_parent_id'] == 0) {
      $class = "tablerow";
    }

Add after:
Code: [Select]
  $sql = "SELECT COUNT(cat_id) AS images
FROM ".IMAGES_TABLE."
WHERE cat_id = ".$cats['cat_id'];

  $result = $site_db->query_firstrow($sql);
  $sum = $result['images'];

  $sql = "SELECT cat_id, sort_order, sort_field
        FROM ".CATEGORIES_TABLE."
WHERE cat_id = ".$cats['cat_id'];
  $result = $site_db->query_firstrow($sql);
 
  global $image_sort_optionlist;
  $sortorder = "unset";
  foreach ($image_sort_optionlist as $key => $val) {
    if ($result['sort_order'] == $key) {
$sortorder = $val;
    }
  }
  global $image_order_optionlist;
  $sortfield = "unset";
  foreach ($image_order_optionlist as $key => $val) {
    if ($result['sort_field'] == $key) {
$sortfield = $val;
    }
  }

Search:
Code: [Select]
    echo "<img src=\"".ROOT_PATH."admin/images/folder.gif\" alt=\"\"><b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$cats['cat_id'])."\" target=\"_blank\">".$cats['cat_name']."</a>\n</b> (ID: ".$cats['cat_id'].")&nbsp;&nbsp;&nbsp;&nbsp;";
Replace with:
Code: [Select]
    echo "<img src=\"".ROOT_PATH."admin/images/folder.gif\" alt=\"\"><b><a href=\"".$site_sess->url(ROOT_PATH."categories.php?cat_id=".$cats['cat_id'])."\" target=\"_blank\">".$cats['cat_name']."</a>\n</b> (ID: ".$cats['cat_id'].")&nbsp;&nbsp;(Bilder: ".$sum.")&nbsp;&nbsp;(".$sortfield.", ".$sortorder.") &nbsp;&nbsp;&nbsp;&nbsp;";
"unset" will shown, if you didn't set any sort by the new MOD from this thread.

Thats all, please try and report, if something fails.

Regards,
Henry

66
Hi,

i had fixed this last time. It is dificult to find, but please try this. I havn't tested my result on other 4images installs...

open /admin/categories.php

You will find twice
Code: [Select]
$imgsort_dropdown="\n<select name=\"imagesorder\" class=\"setperpageselect\">\n";First some behind
Code: [Select]
if ($action == "addcat") {there are two lines
Code: [Select]
if ($cat_row['sort_field'] == $key) {and
Code: [Select]
if ($cat_row['sort_order'] == $key) {Those are ok.
Second result of
Code: [Select]
$imgsort_dropdown="\n<select name=\"imagesorder\" class=\"setperpageselect\">\n";some behind
Code: [Select]
if ($action == "editcat") {There is the same like
Code: [Select]
if ($cat_row['sort_field'] == $key) {and
Code: [Select]
if ($cat_row['sort_order'] == $key) {but here you have to replace with this:
Code: [Select]
if ($result['sort_field'] == $key) {and
Code: [Select]
if ($result['sort_order'] == $key) {That's may be all at, please try and report.
Henry

67
Hi V@no,
OH, i'm stupid!
I'm wrong with the names, sorry!

A topic you are watching has been locked by Vincent.
View the topic at: http://www.4homepages.de/forum/index.php?topic=7546.new;topicseen#new
A topic you are watching has been removed by Vincent.


May Vincent will answer me?

I'm sorry again V@no,
Henry

68
Hi V@no,

you are right, i will make this how-to for publishing here. I didn't post the easy current how-to, because i'm afraid you will cancel this like my other post last time. I don't know, why you killed the last. But it's done ;-)

@ all:
Please wait some days.

Regards,
Henry

69
Mods & Plugins (Releases & Support) / Re: [Mod] EXIF 0.3
« on: August 11, 2005, 11:02:48 PM »
Bedeutet also, man müßte das Auslesen "dieses" Feldes unterbinden oder das irgendwie patchen...

Na ich frage mal mir bekannte PHP-Gurus ;-)

Grüße,
Henry

70
Suche mal nach EXIF hier im Forum!

Grüße,
Henry

71
Hi,

i've set up this MOD with 1.7.1 - it isn't easy, but i've make a short HOWTO for others. Please contact me here or with PM if you like to get this. In this time, i havn't tested this on other 4images installs, because i've a lot of other MODs and self-made MODs.

Your choice,
Henry

72
Mods & Plugins (Releases & Support) / Re: [Mod] EXIF 0.3
« on: July 22, 2005, 07:50:03 PM »
Hi,

habe heute mal einige "betroffene" Images mit XNVIEW angefaßt - sprich etwas geändert (Kompri etc.), do daß die Bilder damit neu erzeugt wurden - siehe da: keine Fehler mehr. Evtl. könnt Ihr das ja mal gegeprüfen - ich vermute, es liegt an div. Bildbearbeitungs-SW, denn Images, die direkt von der Cam kommen oder nur mit XNVIEW verkleinert wurden, liefern bei mir keine Fehler.

Grüße,
Henry

73
Hallo Leute,

mich hat es gestört, daß der Beschreibungstext einer Kat auch neben dem Kategorienamen auf der Haupt- bzw. den Unterseiten angezeigt wurde - denn da steht ggf. zu viel Text drin und dann stört das zu sehr. Somit habe ich die DB & Admin um ein weiteres Feld "Subtitel" erweitert - daß dann nur in den Übersichten angezeigt wird / oder in Übersichten und der eigentlichen Kategorie. Der Beschreibungstext zur Kategorie erscheint nun nur in der Kategorieansicht selbst.

Habe dazu ein kleines HowTo vorbereitet - kann gern angefragt werden, dann poste ich das mal hier. Screens etc. auch auf Request - will mir die Arbeit nur machen, wenn's Euch was nützt ;-)

Bis später,
Henry

Pages: 1 2 3 4 [5]