Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    • CommentAuthor0078h
    • CommentTimeOct 17th 2007
     # 1
    Hi,
    I'de like to post a new discussion with a title and an attachment without a word in the discussion, does anyone knows how can i do that ?

    I've tried modifying the Framework.Class.SqlBuilder.php file at

    while (list($name, $value) = each($this->FieldValues)) {
    if ($Fields != "") {
    $Fields .= ", ";
    $Values .= ", ";
    }

    but i does not work,

    thank's !
    •  
      CommentAuthorWallPhone
    • CommentTimeOct 17th 2007 edited
     # 2
    I believe you would need to change this line of Vanilla.Class.CommentManager.php:
    $ResultComment = $cm->SaveComment($this->Comment, 1);

    Note the only thing that has changed is adding , 1.

    This will then allow blank messages everywhere... there are some delegates around this point that you could presumably attach to and skip the validation depending on if there is an attachment.
    • CommentAuthor0078h
    • CommentTimeOct 18th 2007
     # 3
    thanks,
    i did not find this line in this file but i found it in the Vanilla.Control.DiscussionForm.php file
    i added the ", 1" but it did not change anything, i use vanilla for attachments which does not need more text, do you know another solution ?
    • CommentAuthor0078h
    • CommentTimeOct 22nd 2007
     # 4
    No ? there is no way ??
    • CommentAuthor0078h
    • CommentTimeOct 26th 2007
     # 5
    Please i really need this option
Add your comments
    Username Password
  • Format comments as