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

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11
91
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 05:52:45 PM »
... im ACP->Board hast du Signatur erlauben eingestellt ... ?
... wird denn in deinem Board die Signatur angezeigt ... ?

Hallo,
ja wird alles angezeigt.

92
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 04:51:05 PM »
... kann einfach den Fehler nicht finden ...

... ich auch nicht, zumindest nicht mit deinen Angaben ...
... aber es hat sich gezeigt, dass eigentlich immer Fehler bei der Code-Platzierung gemacht wurden ...
... bitte gehe die Anleitung nochmals durch und beachte ... davor ... dahinter ...

mawenzi

Hi, ja bin ich schon dreimal  :oops:
Doch ich weiss echt nicht wo der Fuchs steckt


//-----------------------------------------------------
//--- Show Comments -----------------------------------
//-----------------------------------------------------
if ($image_allow_comments == 1) {
   if (isset($HTTP_POST_VARS['commentsetperpage']) || isset($HTTP_GET_VARS['commentsetperpage'])) {
    $commentsetperpage = (intval($HTTP_POST_VARS['commentsetperpage']) ) ? intval($HTTP_POST_VARS['commentsetperpage']) : intval($HTTP_GET_VARS['commentsetperpage']);
    if ($commentsetperpage) {
      $site_sess->set_session_var("commentperpage", $commentsetperpage);
      $session_info['commentperpage'] = $commentsetperpage;
    }
   }

   if (isset($session_info['commentperpage'])) {
    $commentperpage = $session_info['commentperpage'];
   }
   else {
    $commentperpage = 5;
   }
   $commentsperpage_dropdown = "\n<select name=\"commentsetperpage\" onchange=\"if (this.options[this.selectedIndex].value != 0){ forms['commentsperpage'].submit() }\" class=\"select\">\n";
   for($i = 1; $i <= 15; $i++) {
    $setvalue = 1 * $i;
    $commentsperpage_dropdown .= "<option value=\"".$setvalue."\"";
      if ($setvalue == $commentperpage) {
      $commentsperpage_dropdown .= " selected=\"selected\"";
    }
    $commentsperpage_dropdown .= ">";
    $commentsperpage_dropdown .= $setvalue;
    $commentsperpage_dropdown .= "</option>\n";
   }
   $commentsperpage_dropdown .= "</select>\n";

   $site_template->register_vars("commentsperpage_dropdown", $commentsperpage_dropdown);
   $commentsperpage_dropdown_form = $site_template->parse_template("commentsperpage_dropdown_form");
   $site_template->register_vars("commentsperpage_dropdown_form", $commentsperpage_dropdown_form);

 $sql = "SELECT COUNT(image_id) AS comments
     FROM ".COMMENTS_TABLE."
     WHERE image_id = $image_id";
   $result = $site_db->query_firstrow($sql);
   $site_db->free_result();
   $num_comments = $result['comments'];
   if ($action == "postcomment") {
      $page = ceil($num_comments / $commentperpage);
   }
   $num_rows_all = (isset($num_comments)) ? $num_comments : 0;
   $link_arg = $site_sess->url(ROOT_PATH."details.php?image_id=$image_id");
   include(ROOT_PATH.'includes/paging.php');
   $getpaging = new Paging($page, $commentperpage, $num_rows_all, $link_arg, $lang['comment_stats'], "comments");
   $offset = $getpaging->get_offset();
   $site_template->register_vars(array(
    "paging" => $getpaging->get_paging(),
    "paging_stats" => ($num_comments) ? $getpaging->get_paging_stats() : ""
   ));
   
 $additional_sql = "";
 if (!empty($additional_user_fields)) {
   $table_fields = $site_db->get_table_fields(USERS_TABLE);
   foreach ($additional_user_fields as $key => $val) {
     if (isset($HTTP_POST_VARS[$key]) && isset($table_fields[$key])) {
       $additional_sql .= ", $key = '".un_htmlspecialchars(trim($HTTP_POST_VARS[$key]))."'";
     }
   }
 }

  $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").get_user_table_field(", u.", "user_signature").$additional_sql.", u.userpic
         FROM ".COMMENTS_TABLE." c
         LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id")." = c.user_id)
         WHERE c.image_id = $image_id
         ORDER BY c.comment_date ASC
         LIMIT $offset, $commentperpage";
 $result = $site_db->query($sql);

  $comment_row = array();
  while ($row = $site_db->fetch_array($result)) {
    $comment_row[] = $row;
  }
  $site_db->free_result($result);
  $num_comments = sizeof($comment_row);

  if (!$num_comments) {
    $comments = "<tr><td class=\"row2\" colspan=\"2\">".$lang['no_comments']."</td></tr>";
  }
  else {
    $comments = "";
    $bgcounter = 0;
    for ($i = 0; $i < $num_comments; $i++) {
      $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;

      $comment_user_email = "";
      $comment_user_email_save = "";
      $comment_user_mailform_link = "";
      $comment_user_email_button = "";
      $comment_user_homepage_button = "";
      $comment_user_icq_button = "";
      $comment_user_profile_button = "";
      $comment_user_status_img = REPLACE_EMPTY;
      $comment_user_name = htmlspecialchars($comment_row[$i]['comment_user_name']);
     $comment_user_info = $lang['userlevel_guest'];
      $comment_user_id = $comment_row[$i]['user_id'];

      if (isset($comment_row[$i][$user_table_fields['user_name']]) && $comment_user_id != GUEST) {
        $comment_user_name = htmlspecialchars($comment_row[$i][$user_table_fields['user_name']]);

        $comment_user_profile_link = !empty($url_show_profile) ? $site_sess->url(preg_replace("/{user_id}/", $comment_user_id, $url_show_profile)) : $site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;".URL_USER_ID."=".$comment_user_id);
        $comment_user_profile_button = "<a href=\"".$comment_user_profile_link."\"><img src=\"".get_gallery_image("profile.gif")."\" border=\"0\" alt=\"".$comment_user_name."\" /></a>";

        $comment_user_status_img = ($comment_row[$i][$user_table_fields['user_lastaction']] >= (time() - 300) && ((isset($comment_row[$i][$user_table_fields['user_invisible']]) && $comment_row[$i][$user_table_fields['user_invisible']] == 0) || $user_info['user_level'] == ADMIN)) ? "<img src=\"".get_gallery_image("user_online.gif")."\" border=\"0\" alt=\"Online\" />" : "<img src=\"".get_gallery_image("user_offline.gif")."\" border=\"0\" alt=\"Offline\" />";

        $comment_user_homepage = (isset($comment_row[$i][$user_table_fields['user_homepage']])) ? format_url($comment_row[$i][$user_table_fields['user_homepage']]) : "";
        if (!empty($comment_user_homepage)) {
          $comment_user_homepage_button = "<a href=\"".$comment_user_homepage."\" target=\"_blank\"><img src=\"".get_gallery_image("homepage.gif")."\" border=\"0\" alt=\"".$comment_user_homepage."\" /></a>";
        }

        $comment_user_icq = (isset($comment_row[$i][$user_table_fields['user_icq']])) ? $comment_row[$i][$user_table_fields['user_icq']] : "";
        if (!empty($comment_user_icq)) {
          $comment_user_icq_button = "<a href=\"http://wwp.icq.com/scripts/search.dll?to=".$comment_user_icq."\" target=\"_blank\"><img src=\"http://web.icq.com/whitepages/online?icq=".$comment_user_icq."&img=5\" width=\"18\" height=\"18\" border=\"0\" alt=\"".$comment_user_icq."\" /></a>";
        }

        if (!empty($comment_row[$i][$user_table_fields['user_email']]) && (!isset($comment_row[$i][$user_table_fields['user_showemail']]) || (isset($comment_row[$i][$user_table_fields['user_showemail']]) && $comment_row[$i][$user_table_fields['user_showemail']] == 1))) {
          $comment_user_email = $comment_row[$i][$user_table_fields['user_email']];
          $comment_user_email_save = str_replace("@", " at ", $comment_row[$i][$user_table_fields['user_email']]);
          if (!empty($url_mailform)) {
            $comment_user_mailform_link = $site_sess->url(preg_replace("/{user_id}/", $comment_user_id, $url_mailform));
          }
          else {
            $comment_user_mailform_link = $site_sess->url(ROOT_PATH."member.php?action=mailform&amp;".URL_USER_ID."=".$comment_user_id);
          }
          $comment_user_email_button = "<a href=\"".$comment_user_mailform_link."\"><img src=\"".get_gallery_image("email.gif")."\" border=\"0\" alt=\"".$comment_user_email_save."\" /></a>";
        }

        if (!isset($comment_row[$i][$user_table_fields['user_level']]) || (isset($comment_row[$i][$user_table_fields['user_level']]) && $comment_row[$i][$user_table_fields['user_level']] == USER)) {
          $comment_user_info = $lang['userlevel_user'];
        }
        elseif ($comment_row[$i][$user_table_fields['user_level']] == ADMIN) {
          $comment_user_info = $lang['userlevel_admin'];
        }

        $comment_user_info .= "<br />";
        $comment_user_info .= (isset($comment_row[$i][$user_table_fields['user_joindate']])) ? "<br />".$lang['join_date']." ".format_date($config['date_format'], $comment_row[$i][$user_table_fields['user_joindate']]) : "";
        $comment_user_info .= (isset($comment_row[$i][$user_table_fields['user_comments']])) ? "<br />".$lang['comments']." ".$comment_row[$i][$user_table_fields['user_comments']] : "";
      }

      $comment_user_ip = ($user_info['user_level'] == ADMIN) ? $comment_row[$i]['comment_ip'] : "";

      $admin_links = "";
      if ($user_info['user_level'] == ADMIN) {
        $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=editcomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"_blank\">".$lang['edit']."</a>&nbsp;";
        $admin_links .= "<a href=\"".$site_sess->url(ROOT_PATH."admin/index.php?goto=".urlencode("comments.php?action=removecomment&amp;comment_id=".$comment_row[$i]['comment_id']))."\" target=\"_blank\">".$lang['delete']."</a>";
      }
      elseif ($is_image_owner) {
        $admin_links .= ($config['user_edit_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=editcomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['edit']."</a>&nbsp;";
        $admin_links .= ($config['user_delete_comments'] != 1) ? "" : "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=removecomment&amp;".URL_COMMENT_ID."=".$comment_row[$i]['comment_id'])."\">".$lang['delete']."</a>";
      }

     $signature = format_text($comment_row[$i]['user_signature'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
      if ($boardconfig['alow_sig'] == 1) {
      $sig = '<br><br>' . $signature ;
       } else {
      $sig = "";
       }

      $site_template->register_vars(array(
       "comment_id" => $comment_row[$i]['comment_id'],
      "lang_comments_per_page" => $lang['comments_per_page'],
      "comment_user_pm" => ($config['pm'] && $comment_row[$i]['user_id']  != GUEST && $user_info['user_level'] > GUEST && $user_info['user_id'] != $comment_row[$i]['user_id']) ? "<a href=\"".$site_sess->url(ROOT_PATH."pm.php?action=quote&mode=comment&id=".$comment_row[$i]['comment_id']."&user_id=".$comment_row[$i]['user_id'])."\" /><img src=\"".get_gallery_image("pm.gif")."\" border=\"0\" alt=\"".$lang['pm_user_pm_alt']."\" /></a>" : "",
        "comment_user_id" => $comment_user_id,
        "comment_user_status_img" => $comment_user_status_img,
        "comment_user_name" => $comment_user_name,
        "comment_user_info" => $comment_user_info,
        "comment_user_profile_button" => $comment_user_profile_button,
        "comment_user_email" => $comment_user_email,
        "comment_user_email_save" => $comment_user_email_save,
        "comment_user_mailform_link" => $comment_user_mailform_link,
        "comment_user_email_button" => $comment_user_email_button,
        "comment_user_homepage_button" => $comment_user_homepage_button,
        "comment_user_icq_button" => $comment_user_icq_button,
        "comment_user_ip" => $comment_user_ip,
      "comment_sig" => $sig,
      "comment_userpic" => ($config['userpic'] && $comment_row[$i]['userpic']) ? ROOT_PATH."data/userpic/".$comment_row[$i]['userpic'] : "",
        "comment_headline" => format_text($comment_row[$i]['comment_headline'], 0, $config['wordwrap_comments'], 0, 0),
        "comment_text" => format_text($comment_row[$i]['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']),
        "comment_date" => format_date($config['date_format']." ".$config['time_format'], $comment_row[$i]['comment_date']),
        "row_bg_number" => $row_bg_number,
        "admin_links" => $admin_links
      ));
      $comments .= $site_template->parse_template("comment_bit");
    } // end while
  } //end else
  $site_template->register_vars("comments", $comments);
  unset($comments);


Das ist meine detail.php

Grüße Darkness



93
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 12:30:49 PM »
Hallo,

habe auch alles soweit eingebaut, doch bei den Kommentaren wird keine "signatur" angezeigt, egal ob ich :

$signature = format_text($comment_row[$i]['user_signature'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
$sig = '<br><br>' . $signature ;

oder

     $signature = format_text($comment_row[$i]['user_signature'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
      if ($boardconfig['alow_sig'] == 1) {
      $sig = '<br><br>' . $signature ;
       } else {
      $sig = "";
       }

das nehme? Woran kann das liegen, habe das Board installiert, da wird die "sig" angezeigt

Bei der sql Abfrage sieht es bei mir so aus:

  $sql = "SELECT c.comment_id, c.image_id, c.user_id, c.user_name AS comment_user_name, c.comment_headline, c.comment_text, c.comment_ip, c.comment_date".get_user_table_field(", u.", "user_level").get_user_table_field(", u.", "user_name").get_user_table_field(", u.", "user_email").get_user_table_field(", u.", "user_showemail").get_user_table_field(", u.", "user_invisible").get_user_table_field(", u.", "user_joindate").get_user_table_field(", u.", "user_lastaction").get_user_table_field(", u.", "user_comments").get_user_table_field(", u.", "user_homepage").get_user_table_field(", u.", "user_icq").get_user_table_field(", u.", "user_signature").$additional_sql.", u.userpic
         FROM ".COMMENTS_TABLE." c

In der comment_bit.html habe ich das so eingefügt:

{comment_text}
-{comment_sig}-


In der db_field sieh es so aus:

$additional_user_fields['user_signature'] = array($lang['user_signature'], "text", 0);

und in der page_header so:

  "lang_signature" => $lang['signature'],



kann einfach den Fehler nicht finden, wer hat die Lösung ??

Grüße Darkness

94
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 19, 2005, 01:36:54 PM »
Hallo Michael,

also ich suche da auch schon lange und habe einiges ausprobiert.

Also unter den Kommentaren habe ich es bisher n9och nicht funktionstüchtig einbauen können.
Funkt. leider nicht (bei mir)

Grüße Darkness  :mrgreen:

Ps: Vielleicht hat ja jemand nen Tip!

95
Mods & Plugins (Requests & Discussions) / Re: [addon] DREAMBOARD V 2.1
« on: December 18, 2005, 10:58:00 PM »
Hello,

thanks it works  :mrgreen: :mrgreen:

Greez Darkness  :mrgreen:

96
Hallo,

mir ist grad aufgefallen, dass meine "sort" funktion nicht korrekt funktioniert.
Das Alphabet wird zwar angezeigt aber es wird nicht nach abc geordnet.

Tipp woran das liegen könnte ?

http://www.galerie.huebner-2.de/memberlist.php?ltr=N

Grüße Darkness  :mrgreen:

97
Mods & Plugins (Releases & Support) / Re: [Mod] EXIF 0.3
« on: December 12, 2005, 10:49:18 PM »
Hallo,

ich habe alles soweit eingebaut, habe auch keine Fehlermeldung mehr aber....

Ich sehe nur bei mir auf der Seite:
IPTC Info
 

EXIF Info
 
das wars, keine Felder mit Daten darunter ?

Woran liegt das ?

Grüße Darkness


98
Mods & Plugins (Releases & Support) / Re: [MOD] Simple News Publishing
« on: December 12, 2005, 05:23:18 PM »
Hello,

a fine MOD, working good  :D

Greez Darkness  :mrgreen:

99
Mods & Plugins (Releases & Support) / Re: [MOD] Multi-Lightboxes v1.03.1
« on: December 12, 2005, 04:14:25 PM »
Hello,

all fine works, i have installed the other MOD Lightboxes. Jet is working.

Thanks Darkness  :mrgreen:

100
Mods & Plugins (Releases & Support) / Re: [MOD] Multi-Lightboxes v1.03.1
« on: December 09, 2005, 09:51:04 AM »
Hello V@no ,

thanks I will test it today.

Greez Darkness  :mrgreen:

101
Mods & Plugins (Requests & Discussions) / Re: FAQ MOD ?
« on: December 09, 2005, 09:49:36 AM »
Hallo Jens,

klasse daraus können wir was bauen  :D

Denke sowas in der Art wäre schon ok.

Werd mich am WE damit eingehend beschäftigen und hier dann posten.

Grüße Darkness  :mrgreen:

102
Mods & Plugins (Requests & Discussions) / Re: FAQ MOD ?
« on: December 08, 2005, 01:41:58 PM »
Hallo zusammen,

ja gut wenn es das noch nicht gibt, werde ich mich in den nächsten Tagen mal ransetzten und es dann hier auch ausstellen.

Grüße Darkness  :mrgreen:

103
Mods & Plugins (Requests & Discussions) / Re: FAQ MOD ?
« on: December 07, 2005, 07:32:42 PM »
Hello,

thanks. This is not this for what i search.

I search for Textbox z.b.

Point one. Who see I my points ?

Answer: Go to blblbaaablabla..

You understand what I mean  :roll:

Greez Darkness  :mrgreen:

104
Mods & Plugins (Requests & Discussions) / FAQ MOD ?
« on: December 07, 2005, 10:48:46 AM »
Hello,

I have sometimes ne general question.
If there is a MOD for the side FAQ where for the users already a basic scaffolding exists to integrate into the 4images homepage. Or is this provided in each case itself?

Greez Darkness

German:

Hallo,

ich habe mal ne allgemeine Frage.
Gibt es ein MOD für die FAQ Seite, wo für die User schon ein Grundgerüst besteht zum einbinden in die 4images homepage.
Oder wird dieses jeweils immer selber erstellt ?

Greez Darkness

105
Español / Castellano / Re: [MOD] Top 25 Uploader
« on: December 07, 2005, 10:38:40 AM »
Hallo,

ich habe alles soweit eingebaut, funkt. auch, doch siehe da seit zwei Tagen zeigt er mir keinerlei Zahlen mehr an bei den usern.
Woran kann das liegen, habe die Seiten von oben bis unten durchgeforstet, kann aber keinen Fehler finden. (Habe Mod neu aufgespielt usw.)
Wir einfach nicht mehr angezeigt.

Das gleiche habe ich unter (stats) dort zeigt er mir auch nicht mehr die gesamt Bilder und Kategorien an  :?:

I dont now.....

Hat jemand für mich eine Lösung....

Greez Darkness  :mrgreen:

Abacho say englisch that :
Hello,
 I have inserted everything so far, broadcasts. also, however, see there for two days he shows me no more figures in with usern. What this can lie with, has thinned out the sides from the top to the bottom, however, can find no mistake. (Has Mod anew struck up etc.) We simply no more indicated. I have the same one under (stats) there he also indicates me no more the whole pictures and categories:?: I dont now.... If somebody has for me a solution.... Greez Darkness:mrgreen:

Pages: 1 ... 3 4 5 6 [7] 8 9 10 11