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

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

0 Members and 1 Guest are viewing this topic.

Offline HorrorCrafT

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • HYPOfun online
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #135 on: September 19, 2006, 10:18:14 PM »
hey kein thema und danke für den hinweis!!

EDIT: so, in der hoffnung doch vielleicht was überlesen zu haben, hab ich den thread zweimal durchgelesen und wie es scheint hat tatsächlich noch niemand danach gefragt oder gewünscht, beim klicken auf den nick des kommentar-schreibers, sein profil angezeigt zu bekommen.

trez, wenn dein angebot noch gilt, würd ich es gerne annehmen :D
« Last Edit: September 19, 2006, 10:41:33 PM by HorrorCrafT »

Offline WoD

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #136 on: September 30, 2006, 10:59:38 AM »
Hat sich erledigt :)
« Last Edit: October 01, 2006, 01:43:23 PM by WoD »

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #137 on: October 16, 2006, 06:07:45 PM »
@ ivan,

... und diesen MOD hattest du noch nicht installiert ...  :roll:
... danke für den Hinweis zu php5 ...
... werde es noch im Originalpost aktualisieren ...
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 tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #138 on: October 24, 2006, 03:17:02 PM »
Ich möchte den Link zu "Alle Kommentare" nur für Admins sichtbar machen, User sollen (vorerst) keinen Zugriff haben.

Wo ändere ich was?

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #139 on: October 24, 2006, 04:09:37 PM »
... dann verwende folgendes als Link (wo auch immer) in deinem Template ...
Code: [Select]
{if is_admin}<a href="{url_comments_all}">{lang_all_comments}</a>{endif is_admin}

... sollte funktionieren ...  :wink:
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 tansamalaja

  • Full Member
  • ***
  • Posts: 185
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.2
« Reply #140 on: October 24, 2006, 04:59:45 PM »
Besten Dank - mal wieder... 8)

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #141 on: December 06, 2006, 04:09:39 PM »
Hallo Ivan,

... habe den "User_Profile_Link" aktualisiert und in der MOD-Beschreibung "comments_all.php" eingearbeitet ...
... sollte jetzt richtig funktionieren ... siehe hier
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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #142 on: January 25, 2007, 12:58:29 AM »
Hallo Ivan,

so wie ich dich verstehe möchtest du einen Link zu [Alle Kommentare des Users] in der untersten Bit-Zeile haben ...
das müsste wie folgt realisiert werden können ...

Schritt 0. Voraussetzung für diese Modifizierung ...
Als Voraussetzung muss der [Mod] Show user's comments from his profile von v@no auf deiner Website installiert sein ...
Zu finden hier : http://www.4homepages.de/forum/index.php?topic=4131.0

Schritt 1. finde in comments_all.php ...
Code: [Select]
$comment_user_profile_link = ($comment_user_profile_link) ? "<a href=\"".$comment_user_profile_link."\">".$comment_user_name."</a>" : $comment_user_name;

und füge danach folgendes ein ...
Code: [Select]
$lang_user_comments = "Alle Kommentare des Users";  //Hier Wortlaut des Links
if ( $user_info['user_level'] == GUEST ) {
         $comment_user_comments_link = "";
      } else {
         $comment_user_comments_link = $site_sess->url(ROOT_PATH."member.php?action=showcomments&amp;user_id=".$comment_user_id);
      }
      $comment_user_comments_link = ($comment_user_comments_link) ? "<a href=\"".$comment_user_comments_link."\">".$lang_user_comments."</a>" : $lang_user_comments ;

Schritt 2. finde in comments_all.php ...
Code: [Select]
"comment_user_name" => $comment_user_profile_link,

und füge danach folgendes ein ...
Code: [Select]
"user_comments" => $comment_user_comments_link,

Schritt 3. finde in comments_all_bit.html ...
Code: [Select]
{lang_com_by} : {comment_user_name} [{comment_user_info}]

und ersetze es durch ...
Code: [Select]
{lang_com_by} : {comment_user_name} [{comment_user_info}] [{user_comments}]

das wärs ... ungetestet ... sollte aber funktionieren ... ;)
PS. wenn du diesen Link in meinen "Alle Kommentare" findest, dann ist es getestet ...
PPS. ist nun getestet und funktioniert bestens ...
« Last Edit: January 25, 2007, 09:32:49 AM 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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #143 on: January 25, 2007, 09:35:41 AM »
... Als Voraussetzung muss jedoch der [Mod] Show user's comments from his profile von v@no auf deiner Website installiert sein ...
... Zu finden hier : http://www.4homepages.de/forum/index.php?topic=4131.0 ...
... dann klappt es auch mit dem 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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #144 on: January 25, 2007, 02:22:13 PM »
... also wenn du die gleiche Optik / das gleiche Design der jeweiligen comment_bit.html haben willst, dann ...
... nehme als member_comment_bit.html eine Kopie der comments_all_bit.html und ...
... ersetze einfach die Tags entsprechend der member_comment_bit.html , d.h. die folgenden Tags einsetzen ...
... {comment_image_name} ... {comment_cat_name} ... {comment_image} ... {comment_headline} ... {comment_text} ... u.s.w.
...  aber die Funktion //---Show Member Comments--- aus der member.php wird in jedem Fall benötigt ...

... d.h. in Kürze ...
... den [Mod] Show user's comments from his profile installieren und nur das Bit_Template ä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 mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #145 on: January 25, 2007, 09:40:48 PM »
... von was für Tabellen, in welchem Code sprichst du ... ?
... html-Tabellen in den Templates, oder db-Tabellen im php-code, oder html-Tabellen im php-code ... ?
... und bezieht sich alles auf v@no's MOD ... ?
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 dgandy

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Sims Fashion Barn
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #146 on: March 16, 2007, 01:31:09 PM »
Hi mawenzi
This is a great mod...thank you!
Is there any way to change the sort order. As you can see with image 65 and 59, it is sorted by comment date. So, if there is more than one comment on an image, it shows the same image more than once with one comment each time. I would like to have the image shown once with all comments on that image listed together. Does that make sense?
Thanks again!
Debra
If it's been done before, you can do it too! If it's never been done before, you can be the first!

Offline dgandy

  • Newbie
  • *
  • Posts: 10
    • View Profile
    • Sims Fashion Barn
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #147 on: March 16, 2007, 10:54:16 PM »
On the first page of the comments, I have these error messages
Quote
Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 148

Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 153

Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 148

Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 153

Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 148

Warning: Division by zero in /home/simsfash/public_html/downloads/comments_all.php on line 153

I think it is because of images on comments #77, #76 and #75.

Those thumbnails are not showing.

I think it is because the original image is in a different category and these images are from linking to the originals.

For example: Comment #77 is on this image http://www.simsfashionbarn.net/downloads/details.php?image_id=1483 The image is from a link to this image http://www.simsfashionbarn.net/downloads/details.php?image_id=1462

Can you tell me how to fix it?

If it's been done before, you can do it too! If it's never been done before, you can be the first!

Offline htpzc

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #148 on: May 22, 2007, 09:45:38 PM »
Hi,

habe den Mod nach der Anleitung implementiert, bekomme aber sobald ich auf den Link klicke nur einen Kommentar zu sehen.

Jemand ne Ahnung wo mein Fehler liegt?

www.bauer-august.de
(Link ist links oben unter der Anmeldung)

Danke

Gruß Marcus
« Last Edit: May 22, 2007, 10:36:21 PM by htpzc »

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: [MOD] All Comments (Alle Kommentare) V.1.3
« Reply #149 on: July 06, 2007, 04:53:34 PM »
@htpzc

... so wie es aussieht wird nur die comments_all_bit.html über die comments_all.php aufgerufen ...
... du musst wohl die comments_all.html entsprechend Schritt 2 noch mal bearbeiten ...
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) ...