• [MOD] All Comments (Alle Kommentare) V.1.6 5 0 5 1
Currently:  

Author Topic: [MOD] All Comments (Alle Kommentare) V.1.6  (Read 337149 times)

0 Members and 1 Guest are viewing this topic.

Offline luktur

  • Newbie
  • *
  • Posts: 38
    • View Profile
Re: Problem witch all comment
« Reply #195 on: December 10, 2008, 01:02:05 AM »
Thx. It's working. I'm own you a beer.  :D

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Re: Problem witch all comment
« Reply #196 on: December 10, 2008, 01:20:18 AM »
piwo? yeeahhhhh...  :mrgreen:

 :arrow: no probs, you're welcome
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline sanko86

  • Sr. Member
  • ****
  • Posts: 310
    • View Profile
    • Elemegim
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #197 on: January 07, 2009, 10:51:11 AM »
Thanks perfect info.
Web site:http://www.anlatiyoruz.com
Hayat zorluklarla doludur.Ama en zoru insanın insana düşmanlığıdır.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #198 on: January 07, 2009, 08:54:38 PM »
... nice to read that all is "perfect" for you with "All Comments" ...
... and thanks for your statement ... ;)
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline sanko86

  • Sr. Member
  • ****
  • Posts: 310
    • View Profile
    • Elemegim
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #199 on: January 09, 2009, 02:49:04 PM »
... nice to read that all is "perfect" for you with "All Comments" ...
... and thanks for your statement ... ;)

sorry
my bad english:)
perfect turkish language
Web site:http://www.anlatiyoruz.com
Hayat zorluklarla doludur.Ama en zoru insanın insana düşmanlığıdır.

Offline Streetlife

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #200 on: February 22, 2009, 08:11:38 PM »
Bei mir wird auf der all_comments.php das Layout verändert angezeigt...

So siehts aus http://strlifewitten.st.funpic.de/4images/comments_all.php

Und so solltes aussehen http://strlifewitten.st.funpic.de/4images/index.php


Und oben steht wieder "Your site´s Name here?"

Weiss einer was da falsch ist?

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #201 on: February 22, 2009, 09:09:33 PM »
hi streetlife...

habe nur mal flüchtig drauf geschaut... meiner meinung nach ist bei dir ein <br /> zuviel drin...

such mal bei dir im code nach

Code: [Select]
<td width="100%" align="center" height="20" background="templates/4dark/bbutton.gif" ><a style="text-decoration: none" href="http://www.ksw-allstars.de" target="_blank">K-S-W</a></td>

 </tr>
 </table>
<br><br>

</center>
</div>
<br>                  <br />

und entferne dort das letzte <br />

Offline Streetlife

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #202 on: February 23, 2009, 05:26:48 PM »
Ich kann den angegebenen Code bei mir nicht finden...

Hilft es dir wenn ich dir mal den Kompletten code von der comment_all.php gebe???


Code: [Select]
<?php
/*************************************************************************
*                                                                        *
*    4images - A Web Based Image Gallery Management System               *
*    ----------------------------------------------------------------    *
*                                                                        *
*             File: comments_all.php Version 1.4                         *
*        Copyright: (C) 2002 Jan Sorgalla                                *
*            Email: jan@4homepages.de                                    *
*              Web: http://www.4homepages.de                             *
*    Scriptversion: 1.7.x                                                *
**************************************************************************
*    Die comments_all.php ist nicht Bestandteil des Originalscripts !    *
*    Erstellt durch : mawenzi - www.detlev-kostka.de                     *
*                   : loda    - www.loda.de ... Danke !                  *
*                                                                        *
*************************************************************************/


$main_template 'comments_all';
$templates_used 'comments_all_bit';

define('GET_CACHES'1);
define('ROOT_PATH''./');
include(
ROOT_PATH.'global.php');
require(
ROOT_PATH.'includes/sessions.php');
$user_access get_permission();
include(
ROOT_PATH.'includes/page_header.php');

   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 10;
   }
   
$commentsperpage_dropdown "\n<select name=\"commentsetperpage\" onchange=\"if (this.options[this.selectedIndex].value != 0){ forms['commentsperpage'].submit() }\" class=\"select\">\n";
   for(
$i 1$i <= 20$i++) {
     
$setvalue $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);

   
$cat_id_sql get_auth_cat_sql("auth_viewcat""NOTIN").", ".get_auth_cat_sql("auth_readcomment""NOTIN").", ".get_auth_cat_sql("auth_viewimage""NOTIN");

   if (isset(
$HTTP_GET_VARS['user_id']) and $HTTP_GET_VARS['user_id'] != ""){
    
$add_where "WHERE c.user_id IN (".$user_id.") AND i.cat_id NOT IN ($cat_id_sql)";
   }else{
    
$add_where "WHERE i.cat_id NOT IN ($cat_id_sql)";
   }

   
$sql "SELECT COUNT(*) AS comments
       FROM "
.COMMENTS_TABLE." c
       LEFT JOIN "
.IMAGES_TABLE." i ON (i.image_id = c.image_id)
       WHERE i.cat_id NOT IN (
$cat_id_sql)";
   
$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."comments_all.php");
   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() : ""
   
));

  
$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_date".get_user_table_field(", u.""user_level")."
          FROM "
.COMMENTS_TABLE." c
          LEFT JOIN "
.USERS_TABLE." u ON (".get_user_table_field("u.""user_id")." = c.user_id)
          LEFT JOIN "
.IMAGES_TABLE." i ON (i.image_id = c.image_id) ".$add_where."
          ORDER BY c.comment_date DESC
          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_all "<tr><td class=\"commentrow1\" colspan=\"2\">".$lang['no_comments']."</td></tr>";
  }
  else {
    
$comments_all "";
    
$ii 1;
    for (
$i 0$i $num_comments$i++) {
      
$image_id $comment_row[$i]['image_id'];
      
$sql "SELECT i.image_id, i.cat_id, i.image_name, c.cat_name, i.image_media_file, i.image_thumb_file".get_user_table_field(", u.""user_id").get_user_table_field(", u.""user_level").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) 
             "
.$add_where."
             AND i.image_id = "
.$image_id." AND c.cat_id = i.cat_id ";
      
$image_row $site_db->query_firstrow($sql);
      
$cat_id = (isset($image_row['cat_id'])) ? $image_row['cat_id'] : 0;
      
$comment_counter $num_rows_all-(($i+1+($page-1)*$commentperpage)-1);
      if (
check_permission("auth_readcomment"$cat_id)){
      
$comment_user_name htmlspecialchars($comment_row[$i]['comment_user_name']);
      
$comment_user_id $comment_row[$i]['user_id'];
      
$user_row_comment get_user_info($comment_user_id);
      
$comment_user_profile_link "";
      
$comment_user_info $lang['userlevel_guest'];
        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'];
        }
      if ( 
$user_info['user_level'] == GUEST ) {
         
$comment_user_profile_link "";
      } else {
         
$comment_user_profile_link $site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;user_id=".$comment_user_id);
      }
      
$comment_user_profile_link = ($comment_user_profile_link) ? "<a href=\"".$comment_user_profile_link."\">".$comment_user_name."</a>" $comment_user_name;


      if (!
get_file_path($image_row['image_thumb_file'], "thumb"$image_row['cat_id'], 00)) {
        
$thumb_file ICON_PATH."/".get_file_extension($image_row['image_media_file']).".gif";
      }else {
        
$thumb_file get_file_path($image_row['image_thumb_file'], "thumb"$image_row['cat_id'], 01);
      }
      
$thumb_info = @getimagesize($thumb_file);
      
$width $thumb_info[0];
      
$height $thumb_info[1];
      
$dimension 100;
      
$ratio $width $height;
      if (
$ratio 1) {
        
$new_width $dimension;
        
$new_height floor(($dimension/$width) * $height);
      }else {
        
$new_width floor(($dimension/$height) * $width);
        
$new_height $dimension;
      }
      
$text $comment_row[$i]['comment_text'];
      
$text format_text($text$config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments']);
      
$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=\"admin_edit\">".$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=\"admin_edit\">".$lang['delete']."</a>";
      }
      
$sql "SELECT COUNT(*) AS total_image_comments FROM ".COMMENTS_TABLE." WHERE image_id = ".$image_id."";
           
$row $site_db->query_firstrow($sql);
           
$total_image_comments $row['total_image_comments'];

      
$site_template->register_vars(array(
        
"total_image_comments" => $total_image_comments,
        
"comment_counter" => $comment_counter,
        
"comment_image_thumb" => (!check_permission("auth_viewcat"$cat_id) || !check_permission("auth_viewimage"$cat_id)) ? "<img src=\"".$thumb_file."\" width=\"".$new_width."\" height=\"".$new_height."\" onClick=\"alert('".((isset($lang['auth_alert'][$cat_id])) ? $lang['auth_alert'][$cat_id] : $lang['auth_alert']['default'])."');\" border=\"".$config['image_border']."\">" "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$comment_row[$i]['image_id'].((!empty($mode)) ? "&amp;mode=".$mode ""))."\"><img src=\"".$thumb_file."\" width=\"".$new_width."\" height=\"".$new_height."\" border=\"".$config['image_border']."\"></a>",
        
"comment_image_name" => (!check_permission("auth_viewcat"$cat_id) || !check_permission("auth_viewimage"$cat_id)) ? $image_row['image_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."details.php?".URL_IMAGE_ID."=".$comment_row[$i]['image_id'].((!empty($mode)) ? "&amp;mode=".$mode ""))."\">".$image_row['image_name']."</a>",
        
"comment_cat_name" => (!check_permission("auth_viewcat"$cat_id)) ? $image_row['cat_name'] : "<a href=\"".$site_sess->url(ROOT_PATH."categories.php?".URL_CAT_ID."=".$cat_id)."\">".$image_row['cat_name']."</a>",
        
"comment_user_name" => $comment_user_profile_link,
        
"comment_user_info" => $comment_user_info,
        
"comment_headline" => format_text($comment_row[$i]['comment_headline'], 0$config['wordwrap_comments'], 0011),
        
"comment_text" => format_text($comment_row[$i]['comment_text'], $config['html_comments'], $config['wordwrap_comments'], $config['bb_comments'], $config['bb_img_comments'], 1),
        
"comment_date" => format_date($config['date_format']." ".$config['time_format'], $comment_row[$i]['comment_date']),
        
"image_user_name" => ($image_row[$user_table_fields['user_level']] != GUEST) ? "<a href=\"".$site_sess->url(ROOT_PATH."member.php?action=showprofile&amp;user_id=".$image_row[$user_table_fields['user_id']])."\">".htmlspecialchars($image_row[$user_table_fields['user_name']])."</a>" $lang['userlevel_guest'],
        
"admin_links" => $admin_links,
        
"lang_variable_text" => $lang['variable_text'],
        
"lang_navigation" => $lang['navigation'],
        
"lang_com_per_page" => $lang['com_per_page'],
        
"lang_com" => $lang['com'],
        
"lang_for_image" => $lang['for_image'],
        
"lang_in_cat" => $lang['in_cat'],
        
"lang_com_date" => $lang['com_date'],
        
"lang_com_by" => $lang['com_by'],
        
"lang_com_to_this" => $lang['com_to_this'],
        
"lang_com_total" => $lang['com_total']
      ));
      
$comments_all .= $site_template->parse_template("comments_all_bit");
     }
    }
  }
  
$site_template->register_vars("comments_all"$comments_all);
  unset(
$comments_all);

//-----------------------------------------------------
//--- Clickstream -------------------------------------
//-----------------------------------------------------
$clickstream "<span class=\"clickstream\"><a href=\"".$site_sess->url(ROOT_PATH."index.php")."\" class=\"clickstream\">".$lang['home']."</a>".$config['category_separator'].$lang['all_comments']."</span>";
$site_template->register_vars("clickstream"$clickstream);

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------
$site_template->print_template($site_template->parse_template($main_template));
include(
ROOT_PATH.'includes/page_footer.php');
?>



Oder hier, die comments_all.html

Code: [Select]
{header}
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>
<table cellpadding="0" cellspacing="0"  width="100%" border="0" bgcolor="#000000">
 <tr>
  <td width="100%">
   <table border="0" cellpadding="0" cellspacing="0" bgcolor="#000000" width="100%" height="62" background="{template_url}/images/bbcell.gif">
    <tr>
     <td width="50%" align="left"><img src="{template_url}/images/banner_1.gif" width="547" height="38" align="center" alt="" /></td>
     <td width="50%" align="right" >
<form method="post" action="{url_search}">
              <table border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <input type="text" name="search_keywords" size="15" class="searchinput" />
                  </td>
                  <td>
                    <input type="submit" value="{lang_search}" class="button" name="submit" />&nbsp;
                  </td>
                </tr>
                <tr valign="top">
                  <td colspan="2"><a href="{url_search}" class="smalltext">{lang_advanced_search}</a></td>
                </tr>
              </table>
            </form>
     </td>
   </tr>
  </table>
</td>
</tr>
</table>
     

    </td>
  </tr>
  <tr>
    <td class="bordercolor">
      <table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr>
          <td class="tablebgcolor">
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td class="navbar" height="23">
     <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
       <td align="left" width="50%">
        <img src="{template_url}/images/spacer.gif" width="4" height="4" alt="" />Your Site's Name here ?
       </td>
       <td align="right" width="50%">
     
        <a href="comments_all.php"><b>Alle Kommentare</b></a>&nbsp;
        <a href="{url_top_images}"><b>{lang_top_images}</b></a>&nbsp;
        <a href="{url_new_images}"><b>{lang_new_images}</b></a>&nbsp;&nbsp;
       </td>
      </tr>
     </table>
    </td>
   </tr>
  </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="150" class="row2" valign="top">
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"><img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_registered_user}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">{user_box} </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
  {if random_image}
                  <table width="150" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td class="head2" height="20"> <img src="{template_url}/images/spacer.gif" alt="" width="4" height="4" />{lang_random_image}</td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                    <tr>
                      <td align="center" class="row1">
    <br />
                        {random_image}
<br />
                        <br />
                      </td>
                    </tr>
                    <tr>
                      <td class="tablebgcolor"><img src="{template_url}/images/spacer.gif" alt="" width="1" height="1" /></td>
                    </tr>
                  </table>
{endif random_image}
                  <p align="center">
                    <?php
                    
echo date("d.m.Y, H:i"); 
        ?>

                  </p>
<?php include("4darkm.php"); ?>
                  <br />
                </td>
                <td width="1" class="bordercolor" valign="top"><img src="{template_url}/images/spacer.gif" width="1" height="1" alt="" /></td>
                <td width="18" valign="top"><img src="{template_url}/images/spacer.gif" width="18" height="18" alt="" /></td>
                <td width="450" valign="top"><br />
                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="title">{lang_all_comments}</span></td>
<td align="right" valign="bottom">
</td>
</tr>
</table>
<hr size="1" />
<br />
{lang_variable_text}
<br />
{if paging}{if paging_stats}
         <table width="100%" border="0" cellspacing="1" cellpadding="0" class="head2">
            <tr>
               <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="3">
                     <tr>
                        <td width="65%" class="row1" valign="middle">
                           {paging_stats}
                        </td>
                        <td width="30%" class="row1" valign="middle" align="right">
                           {lang_com_per_page}
                        </td>
                        <td width="5%" class="row1" valign="top" align="right">
                           {commentsperpage_dropdown_form}
                        </td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      <br />
        <table width="100%" border="0" cellspacing="1" cellpadding="0" class="head2">
            <tr>
               <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="3">
                     <tr>
                        <td class="row1" valign="top" align="left">{lang_navigation}</td>
                        <td class="row1" valign="top" align="right">{paging}</td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      <br />
{endif paging_stats}{endif paging}
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  {comments_all}
</td></tr></table>
<br />
{if paging}
         <table width="100%" border="0" cellspacing="1" cellpadding="0" class="head2">
            <tr>
               <td>
                  <table width="100%" border="0" cellspacing="0" cellpadding="3">
                     <tr>
                        <td class="row1" valign="top" align="left">{lang_navigation}</td>
                        <td class="row1" valign="top" align="right">{paging}</td>
                     </tr>
                  </table>
               </td>
            </tr>
         </table>
      <br />
{endif paging}

                  <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td>{category_dropdown_form}</td>
                      <td align="right">{setperpage_dropdown_form}</td>
                    </tr>
                  </table>
                  <p>&nbsp;</p>
                </td>
<td width="19" valign="top"><img src="{template_url}/images/spacer.gif" alt="" width="19" height="19" /></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
  <tr>
    <td>
     
    </td>
  </tr>
</table>
{footer}

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #203 on: February 23, 2009, 06:01:02 PM »
@Streetlife ...

... deine Links zeigen die "Index-Seite" und die "Alle Kommentrare-Seite" ...
... das die eine Seite nicht so aussieht wie die andere Seite dürfte allein vom Inhalt her klar sein ...
... so wie ich gesehen habe, wird der Inhalt der "Alle Kommentrare-Seite" korrekt angezeigt ...
... alles weitere sind somit anpassungen in deinem Template ...

... konkret ... worin siehst du nun ein Problem ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Streetlife

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #204 on: February 23, 2009, 06:15:23 PM »
Das das aussehen der Seiten ein bischen anders ist wegen dem Inalt is mir ja klar, hab ich auch kein Problem damit...


Was ich meinte is Links wo die Login felder und unten die Links sind, das ist bei Alle Kommentare größer als überall woanders... Und dadurch verschieben sich die Links nach links, und das stört mich ein wenig...

Ich hab als Link nur die Index page genommen damit man auch sehen kann was ich meine...


Verstehst jetzt was ich meinte???

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #205 on: February 23, 2009, 06:25:56 PM »
... entsprechend meiner Beschreibung hast du deine error.html als Grundlage für deine neue comments_all.html übernommen ... ?
... folglich muss dieser Wurm bereits in der error.html vorhanden sein ... nur das du diese sicher nicht so oft zu Gesicht bekommst ...
... um nicht alle Fehler aus diesem Template heraussuchen zu müssen ...
... verwende ein anderes Template als Grundlage für die comments_all.html ...
... z.B. die top.html ...
... ansonsten die Seite nach html-Abweichungen (tab-Breiten ... u.s.w) untersuchen und ggf. ändern ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline Streetlife

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #206 on: February 23, 2009, 06:56:57 PM »
Alles klar, ich halte mich erstmal an die sache mit der top.html...


Danke!

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #207 on: March 10, 2009, 04:30:41 AM »
How can i display the old comments first at details.php? I have attached a screenshot. As you can see, the new posts are on top. I think that is confusing for visitors. Any help would be appreciated! Thanks  :D

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #208 on: March 10, 2009, 04:42:58 AM »
In comments_all.php replace
Code: (MySQL) [Select]
          ORDER BY c.comment_date DESC
With:
Code: (MySQL) [Select]
          ORDER BY c.comment_date ASC
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline darkcurves

  • Full Member
  • ***
  • Posts: 114
    • View Profile
    • KTM Railway Fan Club - Gallery
Re: [MOD] All Comments (Alle Kommentare) V.1.4
« Reply #209 on: March 10, 2009, 06:43:31 AM »
Thanks for the reply but i meant at details.php. The new comments seem to be on the top like Youtube. It'd be better if the first comment is on the top like forums.  :)