2008-06-15, 09:47 AM
i want to upload my files to my host and don't use original methode of mybb in uploading files
i mean i want to change the methode of mybb to my own
originally in mybb files are uploaded by this methode:
example.zip ==> 1234566_example.attach
but i love to use this methode:
$filename= "attachment id"+"file_name"+"file_ext"
like : example.zip ==> 35example.zip
so i want to do this and change the attachment download link in posts like this:
www.website.com/attachmen.php?aid=45 ==> www.website.com/uploads/35example.zip
i hope explanation is enough
i mean i want to change the methode of mybb to my own
originally in mybb files are uploaded by this methode:
example.zip ==> 1234566_example.attach
but i love to use this methode:
$filename= "attachment id"+"file_name"+"file_ext"
like : example.zip ==> 35example.zip
so i want to do this and change the attachment download link in posts like this:
www.website.com/attachmen.php?aid=45 ==> www.website.com/uploads/35example.zip
i hope explanation is enough