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 2 3 4 5 [6] 7 8 9 10 11
76
Hello,
 I has one asks to the represented pictures into detail.php if the last picture in the categorie is reached gets I in carries out a cross (no more picture) if one draufklickt comes error message. How can I prevent that?



Greez Darkness  :mrgreen:

77
Hello,

great MOD he work's fine

Greez Darkness  :mrgreen:

78
Mods & Plugins (Releases & Support) / Re: [MOD]More than more statistics
« on: January 15, 2006, 05:18:32 PM »
Hello,

I had had also this error.
You must place line:

require(ROOT_PATH.'includes/stats.php');

under this line:

include(ROOT_PATH.'includes/page_header.php');

set, then it folds marvelously.

Greet Darkness  :mrgreen:

I have also for a long time tried out to I the rausgefunden had. On some sides the line sits "page_header.php" somewhat more deeply, must search.

79
Feedback & Suggestions / Bild per klick adoptieren/ Pic per klick adopt
« on: January 12, 2006, 10:18:42 PM »
Hallo,

wie kann ich das machen ?
Ich würde gerne je nach Bild den unsern eröglichen die Bilder per "haken" anzulicken für welche interesse besteht.
Wenn der user das Bild anklickt bekommt er die neuen kommentare, solange bis er es wieder deaktiviert.
Wer hat eine Idee ?

Hello,
how can I make that? I "would hook" gladly depending upon picture unsern the eroeglichen pictures by anzulicken for which interest exist. If the user the picture clicks gets it the new comments, as long as to he deactivates it again. Who has an idea?

Greez Darkness  :mrgreen:

80
Hallo,

ich habe einwenig gebastelt und da kam das bei raus für die Memberliste.
Userstatus in der memberlist.php
----------------------------------------------------------------------------------------------
I have in little tinkered and there came with raus for the Memberliste. User status in memberlist.php
----------------------------------------------------------------------------------------------



open memberlist.php

finde / find:
user_name = "";

danach einfügen / insert afterwards:

$user_status = "";

find:

$user_joindate = (isset($user_row['user_joindate'])) ? ....

danach einfügen / insert afterwards::

$user_status = ($user_row['user_lastaction'] >= (time() - 300) && ((isset($user_row['user_invisible']) && $user_row['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\" />";

find:   

$userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";

danach einfügen / insert afterwards::

$userlist .= "<td valign=\"top\" align=\"center\">".$user_status."</td>\n";

Meine Liste habe ich dann unter / I have my list then under:

Code: [Select]
$result = $site_db->query($sql);

$userlist .="\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tr>\n<td class=\"row2\">\n";
  $userlist .="<table width=\"100%\" border=\"0\" cellpadding=\"2\" cellspacing=\"1\">
  <td class=\"kbalken\" colspan=\"9\" width=\"100%\"height=\"1\"></td></tr>\n";
  $userlist .="<tr>\n<td class=\"kbalken\" align=\"center\">".$lang['user_name']."</td>\n<td class=\"kbalken\" align=\"center\">Status:</td>\n<td class=\"kbalken\" align=\"center\">".$lang['join_date']."</td>\n<td class=\"kbalken\" align=\"center\">".$lang['email']."</td>\n<td class=\"kbalken\" align=\"center\">".$lang['homepage']."</td>\n<td class=\"kbalken\" align=\"center\">Kommentare:</td>\n<td class=\"kbalken\" align=\"center\">".$lang['lang_total_user_images']."</td>\n";
  // --- User edit and delete ---
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"kbalken\" valign=\"top\" align=\"center\"><small>".$lang['user_edit']."</small></td>";
$userlist .=($user_info['user_level'] != ADMIN) ? "" : "\n<td width=\"10%\" class=\"kbalken\" valign=\"top\" align=\"center\"><small>".$lang['user_delete']."</small></td></tr>
<tr>
<td class=\"kbalken\" colspan=\"9\" width=\"100%\"height=\"1\"></td></tr>\n";

und die Tabelle / and the table::

   if ($count == 0) {
      $row_bg_number = ($bgcounter++ % 2 == 0) ? 1 : 2;
      $userlist .= "<tr class=\"row2".$row_bg_number."\">\n";

sieht so aus / looks in such a way:

    $userlist .= "<td valign=\"top\" align=\"center\">".$user_name."</td>\n";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_status."</td>\n";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_joindate."</td>\n";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_email_button."</td>\n";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_homepage_button."</td>";
    $userlist .= "<td valign=\"top\" align=\"center\">".$user_com."</td>";   
    $userlist .= "<td valign=\"top\" align=\"center\">".$total_user_images."</td>";

thats all :mrgreen:

Greez Darkness




81
Templates & Styles (Requests & Discussions) / Re: Buttons
« on: January 08, 2006, 01:06:22 PM »
Hello,

i habe more new Buttons created:








Thats all  :mrgreen:

Greez Darkness  :D




82
Mods & Plugins (Releases & Support) / Re: [MOD] Slideshow II
« on: January 07, 2006, 10:53:49 PM »
Hello,

i insert all Parts, i dont see the slitshow button in categorie, why ??

The upload button ist already. the slideshow button is missing.

Please help thx Darkness 

OK is allready working. I found the error  :mrgreen:

83
Discussion & Troubleshooting / Re: My Pictures / Meine Bilder
« on: January 05, 2006, 10:27:46 PM »
Hi,

da kann ich nur zustimmen, habe lange gesucht  :mrgreen:

Grüße Darkness

84
Discussion & Troubleshooting / Re: My Pictures / Meine Bilder
« on: January 05, 2006, 06:47:03 PM »
Hallo,

klasse Teil war auch schon am basteln...

Grüße Darkness

85
Hello,

verry nice, thank's

Darkness

86
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: January 03, 2006, 07:59:20 PM »
Hi,

da bei mir die Signatur nicht ging aus dem Bord, habe ich mir eine alternative dazu gebastet, erst ein DB Fild anlegen, ich habe es hier
"user_full" genannt. (wird hier im Thema auf der ersten Seite erklärt)

Die sieht so aus und funktioniert (z.Z. leider nur mit Texteinträgen)

---------------------------------------------------------------------------------------------
since with me the signature did not go out of the board, has I an alternative to it gebastet, only railways a Fild to put on, I had called it here "user_full" (here in the topic on the first side avowedly) Those looks in such a way and functions (at present unfortunately only with text entries)
---------------------------------------------------------------------------------------------


1. detail.php
   finde:

 
Code: [Select]
    $comment_user_name = htmlspecialchars($comment_row[$i]['comment_user_name']);

gleich danach folgendes einsetzten:

     
Code: [Select]
  $comment_user_full = htmlspecialchars($comment_row[$i]['user_full']);

   finde:

          
    
Code: [Select]
  $site_template->register_vars(array(
    "comment_id" => $comment_row[$i]['comment_id'],


gleich darüber folgendes einsetzten:

    
Code: [Select]
        if (isset($comment_row[$i][$user_table_fields['user_full']]) && $comment_user_id != GUEST) {
        $comment_user_full = htmlspecialchars($comment_row[$i][$user_table_fields['user_full']]);
}



    finde:
 
Code: [Select]

$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, u.userpic, u.[color=Red]user_full[/color], 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_id").get_user_table_field(", u.", "user_full").$additional_sql."
         FROM ".COMMENTS_TABLE." c
         LEFT JOIN ".USERS_TABLE." u ON (".get_user_table_field("u.", "user_id[color=Red]").get_user_table_field(", u.", "user_full")[/color]." = c.user_id)


dort die rot gekennzeichneten Zelle einfügen
 
finde:

     
Code: [Select]
    "comment_user_ip" => $comment_user_ip,

gleich darunter einfügen:

   
Code: [Select]
      "comment_user_full" => $comment_user_full,

2. comment_bit.html:

finde:
 
Code: [Select]
{comment_user_info}

alles ersetzten bis :

 
Code: [Select]
<td class="commentrow{row_bg_number}">
    {comment_user_status_img}
    {comment_user_profile_button}


mit:

 
Code: [Select]
<table width="100%" border="0">
<tr>
<td class="kbalken"></td>
</tr>
<tr>
        <td class="row1">{comment_text}</td>
</tr>
<tr>
<td class="kbalken"></td>
</tr>
<tr>
<td class="row1" valign="bottom"><sub class="titel">{comment_user_full}</sub></td>
</tr></table>

[b][color=Blue]3. member_editprofile.html[/color][/b]

<tr>
            <td class="row2"><b>{lang_full}</b></td>
            <td class="row2">
              <input type="text" name="user_full"  size="30" value="{user_full}" class="input" />
            </td>
          </tr>


dort einsetzten wo Ihr wollt.

Grüße Darkness

Ps: Frohes neues Jahr <Happy new Year>  :mrgreen:



87
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 06:58:34 PM »
Habe ich gemacht und der Text wird auch in den kommentaren als Sig angezeigt

88
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 06:44:33 PM »
... ohne die Board-Option hast du auch schon ausprobiert ... ?

ja grade zeigt auch nix an

$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 ;

wenn ich das nehme, dann verdoppelt er bei jedem aufruf der detail.php den letzten eintrag

89
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 06:32:04 PM »
... dein sql-query endet ohne " ...
... ").$additional_sql.", u.userpic ...
... dein , u.userpic pack mal nach vorne hinter , c.comment_ip ...

So ?

  $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, u.userpic, 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."
         FROM ".COMMENTS_TABLE." c
 
Zeigt aber nix an

90
Mods & Plugins (Requests & Discussions) / Re: Profil erweitern
« on: December 22, 2005, 06:19:39 PM »
Das waren meine Schritte:

1. db_field_definitions.php

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

2. page_header.php

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

3. detail.php

$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


3.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'],

3.b.

        "comment_user_ip" => $comment_user_ip,
      "comment_sig" => $sig,   
   "comment_userpic" => ($config['userpic'] && $comment_row[$i]['us


4. comment_bit.html

</table>
    <hr size="1" />
    {comment_text}
-{comment_sig}-  </td>
</tr>

Das wars soweit, in der db gibt es ja durch das board schon das feld user_signature

Grüße Darkness


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