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

Pages: [1]
1
Thank you!
It works!!!
Carsten

2
Discussion & Troubleshooting / Kann mir keiner helfen?
« on: May 02, 2003, 10:35:06 AM »
Sorry, hat keiner eine Idee?
Vielen Dank und viele Grüße
Carsten

3
Hallo Leute,
ist es möglich auf der categories.php unter jedem Bild die Anzahl der Kommentare durch die Anzahl der Hits zu ersetzen?
Danke!!!
Carsten

-----------------------------
Hello,
is it possible to change on categories.php under every foto the number of comments to the number of hits?
Thanx!!!
Carsten

4
Thanx !!!!
It works!!!!

Carsten

5
Hello,
thank you for your help!

But ist doesen't work, it shows me the same 10 images and not 20 images.

here ist my code:

Code: [Select]
// Hits
$sql = "SELECT i.image_id, i.user_id, i.cat_id, i.image_name, i.image_hits, 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 NOT IN ($cat_id_sql) AND i.cat_id = c.cat_id
        $cat_match_sql
        ORDER BY i.image_hits DESC, i.image_name ASC
        LIMIT 20";
$result = $site_db->query($sql);
$top_list = array();
$i = 1;
while ($row = $site_db->fetch_array($result)) {
  $top_list[$i] = $row;
  $i++;
}
$site_db->free_result();

for ($i = 1; $i <= 20; $i++) {
  if (isset($top_list[$i])) {
    $register_array['image_hits_'.$i] = (check_permission("auth_viewimage", $top_list[$i]['cat_id'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."\">".htmlspecialchars($top_list[$i]['image_name'])."</a>" : htmlspecialchars($top_list[$i]['image_name']);
    $register_array['image_hits_openwindow_'.$i] = (check_permission("auth_viewimage", $top_list[$i]['cat_id'])) ? "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$top_list[$i]['image_id'])."\" onclick=\"opendetailwindow()\" target=\"detailwindow\">".htmlspecialchars($top_list[$i]['image_name'])."</a>" : htmlspecialchars($top_list[$i]['image_name']);
    if (isset($top_list[$i][$user_table_fields['user_name']]) && $top_list[$i]['user_id'] != GUEST) {
      $user_profile_link = (!empty($url_show_profile)) ? preg_replace("/{user_id}/", $top_list[$i]['user_id'], $url_show_profile) : ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$top_list[$i]['user_id'];
      $register_array['image_hits_user_'.$i] = "<a href=\"".$site_sess->url($user_profile_link)."\">".htmlspecialchars($top_list[$i][$user_table_fields['user_name']])."</a>";
    }
    else {
      $register_array['image_hits_user_'.$i] = $lang['userlevel_guest'];
    }
    $register_array['image_hits_cat_'.$i] = "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$top_list[$i]['cat_id'])."\">".htmlspecialchars($top_list[$i]['cat_name'])."</a>";
    $register_array['image_hits_number_'.$i] = "<b>".$top_list[$i]['image_hits']."</b>";
  }
  else {
    $register_array['image_hits_'.$i] = "--";
    $register_array['image_hits_user_'.$i] = "--";
    $register_array['image_hits_cat_'.$i] = "--";
    $register_array['image_hits_number_'.$i] = "--";
  }
}


Can i have more help?

Thanks
Carsten

6
Hallo,
hat jemand eine Idee, wie man auf der Seite Top die Anzahl der Bilder mit den meisten Hits / Downloads auf 20 erhöhen kann?

Danke!

Gruss
Carsten

-------------------------------------------------
Hello,
how can I change the number of top-images with the most Hits / Downloads from 10 to 20 ?

Thanks
Carsten

7
Sorry Leute,
war ich zu unfreundlich, habe ich was falsch gemacht?
Unter Suche finde ich auch nichts!
Kann mir jemand helfen?

8
Hallo Leute,
ich würe gerne auf der Kategorieansicht unter den Thumbs die Zeile Kommentare durch die Zeile Hits ersetzen.
So würde man schon in der Übersicht und nicht erst in der Detail Sicht, sehen, wie auf ein Foto aufgerufen wurde.
Ich benutze das template default_wide.
Kann mir jemand helfen?
Vielen Dank und viele Gruße,
Carsten

9
Hallo,
wie kann ich mir denn auf der Admin-home Seite jeweils die 10 Bilder mit den meisten Hits / Downloads anzeigen lassen?
Hat jemand eine Idee?
Gruss und vielen Dank,
Carsten

10
Discussion & Troubleshooting / Protokoll oder Log-Datei
« on: March 27, 2003, 01:05:55 PM »
Kann mir keiner helfen?

11
Kann mir keiner helfen?

12
Hallo,
wo stelle ich die Defaultwert für Bildgröße in Pixel und Bildqualität im Menu Auto-Image-Reziser ein?

Gruß
Carsten

13
Discussion & Troubleshooting / Protokoll oder Log-Datei
« on: March 04, 2003, 09:11:36 PM »
Hallo,

gibt es eine Möglichkeit zu sehen, wann ein User angemeldet war (nicht nur das letzte Mal) und welche Bilder/Kategorien er angeschaut hat?

Falls nein:
Hat jemand sowas zusätzlich programmiert?

Viele Grüße
Carsten

14
Templates & Styles (Requests & Discussions) / Änderung des Tabellenkopfs
« on: February 26, 2003, 11:54:41 AM »
Vielen Dank für die schnelle ausführliche Antwort!
Hat alles super funktioniert!
Die Dateien home.html und lightbox.html gehören auch noch dazu!

Viele Grüße
Carsten

15
Templates & Styles (Requests & Discussions) / Änderung des Tabellenkopfs
« on: February 25, 2003, 08:49:11 PM »
Hallo,
ich möchte die obere Zelle der Tabelle der index.php ändern.
Hier soll die Zelle wegfallen (also Logo und Suche).
Die navbar soll also ganz oben stehen.
Die Suche würde ich gerne unter das Zufallsbild integrieren.
In welcher Tabelle muß ich diese änderungen vornehmen?
Kann mir jemand von Euch dabei helfen?

Viele Grüße und vielen Dank im Voraus!!!
Carsten

Pages: [1]