4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: yellow on March 07, 2006, 11:59:52 AM

Title: disabling subject of comments
Post by: yellow on March 07, 2006, 11:59:52 AM
Hello all :)

Maybe it is not a hughe problem which i would like to introduce but it is a bit trouble for my users.
At gallery, when u want to place a comment u have to always put the subject of your comment, if u won't - then you comment won't be placed. Do u have any idea how to disable subject of comments or just make that the subject is not recommended to place whole comment?


Thanks for any help!
greetings
yellow
Title: Re: disabling subject of comments
Post by: Zyga on March 07, 2006, 01:58:36 PM
Just comment all lines about subject.
For me it works great.

Maybe this help U.

PS. In this momment  I cant post my code becouse im away from my computer and I dont remember pswd to ftp  :oops:
Title: Re: disabling subject of comments
Post by: IcEcReaM on March 07, 2006, 03:24:26 PM
change this in details.php

Code: [Select]
    if ($comment_headline == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['headline_required'];
      $error = 1;
    }


to

Code: [Select]
    /* Kommentar Überschrift abgeschaltet
    if ($comment_headline == "")  {
      $msg .= (($msg != "") ? "<br />" : "").$lang['headline_required'];
      $error = 1;
    }
     Kommentar Überschrift abgeschaltet */
Title: Re: disabling subject of comments
Post by: yellow on March 08, 2006, 11:09:19 AM
thank you very much :)