I solve it! For anyone that wants to know.
1) Ftp Server
Create a copy of
newattachment.php -->
newattachmentmine.php
2) VBulletin Templates
Create a new clone of
newattachment, newpost_attachment, newpost_attachmentbit, newpost_attachment, newattachment_errormessage, newattachment_keybit, template, for example
newattachmentmine, newpost_attachmentmine, newpost_attachmentbitmine, newpost_attachmentmine, newattachment_errormessagemine, newattachment_keybitmine.
Into this templates replace the value
newattachment.php with the new
newattachmentmine.php file.
3) Form Hack PHP
Replace the values
newattachment.php,
newpost_attachment,
newpost_attachmentbit to the new one
newattachmentmine.php,
newpost_attachment_mine,
newpost_attachmentbit_mine.
4) In this file
newattachmentmine.php replace all this templates
newattachment, newpost_attachment, newpost_attachmentbit, newpost_attachment, newattachment_errormessage, newattachment_keybit, with the new.
Also find this code (normally in line 79)
PHP Code:
// No permissions to post attachments in this forum or no permission to view threads in this forum.
if (empty($vbulletin->userinfo['attachmentextensions']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostattachment']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canview']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
print_no_permission();
}
Remove this from the if.
PHP Code:
OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canview'])
Like this.
PHP Code:
// No permissions to post attachments in this forum or no permission to view threads in this forum.
if (empty($vbulletin->userinfo['attachmentextensions']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canpostattachment']) OR !($forumperms & $vbulletin->bf_ugp_forumpermissions['canviewthreads']))
{
print_no_permission();
}
After that if you change the permission setting in a forum "Can View Forum = No" and the others yes. Users can post the form and can attach files normally, but they can’t see the answer post.
I think maybe it’s useful for someone this trick.
P.S.
Be careful, because if you don’t do that correctly may you corrupt the form or the attach option of your site.