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

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

0 Members and 2 Guests are viewing this topic.

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #240 on: February 18, 2010, 11:39:08 AM »
... line No 177 ...

"comment_user_name" => $comment_user_profile_link,


... replace with ...

"comment_user_name" => $comment_user_link,
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 d1eter

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #241 on: February 19, 2010, 02:06:11 AM »
bulls-eye..!!

thank you very much..!!

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #242 on: April 27, 2010, 04:40:23 AM »
Hi -

Using v1.7.7  The MOD is operating perfectly and with some tweaking as Manwenzi indicated, got the look I wanted in my templates.  I had previously installed the page comments and universal paging MOD's.  At first I was troubled at not seeing the universal paging but I wondered if my few number of comments might be the cause. I only had 6 comments recorded and these were my comments_all.php  settings:

# Comments per page : standard = 10 ; change through - $commentperpage =  10; -->12(default vs. what I had mine set at)
# Min. Comments per page : standard = 1 ; change through - for($i = 1; $i <=  20;  --> 1
# Max. Comments per page : standard = 20 ; change through - for($i = 1; $i <=  20;  --> 18

So I started pushing the comments and once I got to 13 comment recorded, yes my comment drop down menu appeared at the top and at the bottom although a little ungainly in appearance at the top with two bars and the first table bar directly below the lang_variable_text even though I have a <br /> character afterwards. It looks so sweet if the comment dropdown doesn't appear but once I push the comments to 13, it begins to look a little monstrous. I took Manwezi's code and changed it slightly:

Quote
<table width="828" border="0" cellspacing="12" cellpadding="0" class="maincat" >
      <span class="title">{lang_all_comments}</span>
<hr size="1" />
{lang_variable_text}
<br />
{if paging}{if paging_stats}
         <table width="828" 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="left">
                           {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}

Has anyone finessed this paging code so you don't have two table bars right there at the top? Or at least made it a little more elegant as one piece instead of 2 table bars?

Thanks for all the work on the MOD. I read through all 17 pages of the comments and I see you incorporated a number of the suggestions in the MOD updates you created.  It truly is hard to improve on perfection here!

- Brian

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #243 on: April 27, 2010, 10:00:02 AM »
@surferboy ...

... first ... thanks for your statement ...
...
... there are two table bars because there is to much content for only one table bar ...
... and so I think it is a elegant way and we use this way since we use [MOD] Paging for Comments ...
... but you can customise the bars, so that the paging stats are not showing in a bar but only as a text above the bar ...
... and you can put the commentsperpage dropdown form in the second bar ...
... so was my hint for all ...
... Of course is template designing your part. ...
... and all tags you can use for your customizing are listed separately in the first post ...
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 waddledee1337

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #244 on: August 23, 2010, 12:27:51 AM »
hi leute,

erstmal danke für diesen saugeilen mod!

ich habe nur noch ein kleines problem: wenn einer ein kommentar postet wird ganz unten beim autor angezeigt: "gepostet von : : ./member.php?action=showprofile&user_id=4 [Member]"

- wie kann ich einstellen, dass der name angezeigt wird? (sry kenn mich da nicht so gut aus^^)

mfg Flavi

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #245 on: August 23, 2010, 07:09:24 PM »
bin zwar nicht leute ...

aber überprüfe nochmals die Zeilen 124 - 140 aus deiner comments_all.php anhand meiner aktuellen comments_all.php ...

und sehe dir mal diese Fragestellung an :
http://www.4homepages.de/forum/index.php?topic=10632.msg145673#msg145673

und auch die Antwort dazu :
http://www.4homepages.de/forum/index.php?topic=10632.msg145679#msg145679
« Last Edit: August 24, 2010, 12:18:50 PM by mawenzi »
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 Tino23

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • LMJ - Motorsport
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #246 on: September 14, 2010, 09:03:57 PM »
Eine Hinweis für alle die den MOD http://www.4homepages.de/forum/index.php?topic=10632.msg87034#msg87034 eingebaut haben, ihr müßt die gleichen Änderrungen auch in der comments_cat.php machen, damit der Link [Alle Kommentare des Users] dort auch angezeigt wird  :!:

Hab das gerade auch erst bemerkt  :wink:


Noch eine kleine Frage. Die Anzeige des Links ( Alle Kommentare der Kategorie ) kann man die irgendwie in den Ordnern verbergen, in dem keine Bilder sind und sich nur Unterordner befinden?
« Last Edit: September 14, 2010, 09:46:39 PM by Tino23 »

Offline surferboy

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #247 on: September 14, 2010, 09:58:09 PM »
Yikes, this is a situation where Google translate drops the ball.

I tried to use the Google translate to read Tino's message and it is so jumbled and backwards, I have no idea what he is talking about.

Could someone summarize in english his post/problem or finding? It sounds important.

Thanks,

Brian

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #248 on: September 14, 2010, 11:02:57 PM »
Um den Link "Alle Kommentare der Kategorie" für Kategorien ohne Bilder (und damit logischer Weise auch ohne Kommentare) gleich von vornherein auszublenden wäre das dann Folgende zu erledigen ... Wenn diese Änderung nicht ausgeführt wird, dann wird über den Link die "Kommentarseite" mit dem Hinweis "noch keine Kommentare" angezeigt ... also dann auch logisch ...

Hier also die mögliche Änderung :

1. in der categories.php finde :

//-----------------------------------------------------
//--- Print Out ---------------------------------------
//-----------------------------------------------------

und füge davor ein :

if ($num_rows_all == "0") {
$link_cat_comments " ";
} else {
$link_cat_comments "<a href=\"".$site_sess->url(ROOT_PATH."comments_cat.php?cat_id=".$cat_id)."\" title=\"Alle Kategorie-Kommentare anzeigen\"><b>Alle Kategorie-Kommentare</b></a>";
}


2. In der categories.php finde :

"link_cat_comments" => "<a href=\"".$site_sess->url(ROOT_PATH."comments_cat.php?cat_id=".$cat_id)."\">Alle Kommentare der Kategorie</a>",

und ersetzte es durch :

"link_cat_comments" => $link_cat_comments,

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 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.6
« Reply #249 on: September 14, 2010, 11:29:39 PM »
:offtopic:
Yikes, this is a situation where Google translate drops the ball.

I tried to use the Google translate to read Tino's message and it is so jumbled and backwards, I have no idea what he is talking about.

Wow the difference in google translation versus bing...amazing how well bing translated that post
http://www.microsofttranslator.com/bv.aspx?from=&to=en&a=http%3a%2f%2fwww.4homepages.de%2fforum%2findex.php%3ftopic%3d10632.msg150519%3btopicseen
I've got to add bing translation support to our page translation script :D
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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #250 on: September 15, 2010, 12:37:08 AM »


... before a user want to translate something with google, the source should already be correct in its own language ...
... but the user of the google-translator can't know that ...
... that can be a problem ... also for google ...
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 Tino23

  • Full Member
  • ***
  • Posts: 191
    • View Profile
    • LMJ - Motorsport
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #251 on: September 15, 2010, 08:08:30 PM »
@mawenzi  danke, war genau die Lösung nach der ich noch gesucht habe :D

Wie kann ich denn in den PHP Code meine Tabelle mit Einbinden, damit sie auch nur angezeigt wird, wenn Kommentare vorhanden sind, wie jetzt beim Link?
Kann man das so machen?
Code: [Select]
$link_cat_comments = "<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=\"middle\"><a href=\"".$site_sess->url(ROOT_PATH."comments_cat.php?cat_id=".$cat_id)."\" title=\"Alle Kategorie-Kommentare anzeigen\"><b>Alle Kategorie-Kommentare</b></a></td></tr></table></td></tr></table>";   
                        
« Last Edit: September 21, 2010, 09:39:01 PM by Tino23 »

Offline bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #252 on: December 12, 2010, 09:49:31 PM »
hallo zusammen,

super MOD , den ich bereits seit geraumer zeit verwende...

ich habe nun folgende Idee: ist es möglich, dass man auf der Seite comments_all.php ein Kommentarfeld (Kommentarbox) einbaut und man somit direkt von dieser Seite kommentare abgeben kann? das beste wäre hier natürlich, dass bei eingabe der Überschrift (via autodetect oder ähnliches) bereits vorhandene Bilder mit der Überschrift erkannt werden und die Kommentare hier dann auch auf den detailseiten erscheinen.. alle anderen - über die überschrift - nicht zuordbaren Kommentare werden dann als "Kategorienlos" bezeichnet und tauchen nur auf der comments_all.php-Seite auf...

wäre klasse wenn sich das realisieren ließe...

Gruss, bergblume

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #253 on: December 13, 2010, 10:21:21 AM »
wäre klasse wenn sich das realisieren ließe...

... antworten von der "Alle Kommentare Seite" lässt sich realisieren ...
... doch müssen die Kommentare immer Bildern zugeordnet sein ( "kategorielos" -> nein -> und warum auch ? ) ...
... die Antwort direkt auf Kommentare wäre noch möglich ->[MOD] Answers in Comments like on YouTube ...
... und damit die Antwortmöglichkeit auch optisch direkt dem Kommentar / dem Bild zugeordnet wird, sollte ein "Mini-Kommentarfeld" zu jedem Kommentar ( in der comments_all_bit.html ) via Toggle-Funktion ausklappbar sein ( verwende ich analog in "My Photo-Blog" )  ...
... so ließe sich komfortabel beim Lesen "Aller Kommentare" sofort antworten ...
... ja, der Gedankenansatz hat was ... werde es mal testen ...
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 bergblume

  • Sr. Member
  • ****
  • Posts: 463
  • on to the top!
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.6
« Reply #254 on: December 13, 2010, 10:25:17 AM »

... doch müssen die Kommentare immer Bildern zugeordnet sein ( "kategorielos" -> nein -> und warum auch ? ) ...


hi mawenzi,

danke für deine anmerkungen zu meiner idee... da hast du natürlich recht... es ist natürlich einfacher und auch stimmiger wenn die kommentare dann z.B. einem dummy-Bild (das dann z.B. "allgemeine Bilder" lautet() zugeordnet werden kann... das ergebnis ist ja dann letztlich dasgleiche... würde mich sehr freuen, wenn du da ne lösung für hinbekommen könntest.

Viele Grüße einstweilen!
bergblume