4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: anantchai on September 23, 2002, 06:04:23 AM

Title: I dont want requiresd field,comment_headline
Post by: anantchai on September 23, 2002, 06:04:23 AM
How to define the headline in comment form to not-required? :wink:
Thank in advance.
Title: I dont want requiresd field,comment_headline
Post by: Jan on September 23, 2002, 10:03:36 AM
Just delete this part from details.php:

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


Greets Jan
Title: Re: I dont want requiresd field,comment_headline
Post by: Joss on January 31, 2006, 09:44:14 PM
Also, it will be useful for admins, to remove the code from admin/comments.php

Code: [Select]
if ($comment_headline == "") {
   $error['comment_headline'] = 1;
}
Title: Re: I dont want requiresd field,comment_headline
Post by: TheOracle on January 31, 2006, 09:51:19 PM
Also, it will be useful for admins, to remove the code from admin/comments.php

Code: [Select]
if ($comment_headline == "") {
   $error['comment_headline'] = 1;
}


"Or" uncomment it. ;)

This is a very old topic but the last input is useful. ;)
Title: Re: I dont want requiresd field,comment_headline
Post by: vitara on February 19, 2006, 05:05:50 PM
Ich habe das alles so gemacht.
comment_bit.html
comment_form.html
details.php

Aber es kommt immer noch die Meldung :

Das Feld Überschrift muss ausgefüllt werden!

Was mach ich da Falsch?
Title: Re: I dont want requiresd field,comment_headline
Post by: MaveriC on June 20, 2007, 07:15:56 PM
great! works on 1.7.4 FYI :)