Author Topic: disabling subject of comments  (Read 4585 times)

0 Members and 1 Guest are viewing this topic.

Offline yellow

  • Pre-Newbie
  • Posts: 2
    • View Profile
disabling subject of comments
« 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

Offline Zyga

  • Jr. Member
  • **
  • Posts: 87
    • View Profile
Re: disabling subject of comments
« Reply #1 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:

Offline IcEcReaM

  • Hero Member
  • *****
  • Posts: 714
    • View Profile
    • My little Testboard
Re: disabling subject of comments
« Reply #2 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 */
Coding is a everlasting competition between programmers who tries to write larger, better and idiot-safe programs and the universe producing larger and stupider idiots...
...so far the universe won
bump

Offline yellow

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: disabling subject of comments
« Reply #3 on: March 08, 2006, 11:09:19 AM »
thank you very much :)