Installation is extremely easy. First open the attach.php file and check the configuration. It's designed to work with the private attachments hack and the attachment viewer. After checking the config, upload the file to your forums directory, create a new template called attachment with the contents of the attachment.txt file and a new template called attachmentbit with the contents of the attachmentbit.txt file. That's it.
Feedback is always appreciated. You can get assistance, if needed, either through an e-mail or through my forums.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Is it possible to grant moderators and admins delete privileges? This would be a great addon for managing the amount of attachments you currently have!
EDIT: Listing of file size would be pretty groovy too...
Is it possible to grant moderators and admins delete privileges? This would be a great addon for managing the amount of attachments you currently have!
EDIT: Listing of file size would be pretty groovy too...
Nice ideas It would be nice to see them added into this hack
kool ive been lookin for something like this , cheers ... i have the hack thing "attactments : 112" and i was lookin 2 put a link on that to goto all the attatchment and this hack wood b perfect thanks alot.
Invalid SQL: SELECT attachment.attachmentid,attachment.userid,attachme nt.dateline,attachment.filename,attachment.visible ,attachment.private,attachment.counter,post.postid ,post.threadid,thread.title,user.username FROM attachment LEFT JOIN post on attachment.attachmentid=post.attachmentid LEFT JOIN thread USING(threadid) LEFT JOIN user on attachment.userid=user.userid WHERE attachment.visible=1 AND post.attachmentid<>0 LIMIT 0,15
mysql error: Unknown column 'attachment.private' in 'field list'
mysql error number: 1054
this is how i have set up the attatc.php file
PHP Code:
//===================== config ===============
$privattach = 0; // set this to 1 if you have the private attachments hack installed. 0 if not.
$ppg = 15; // atttachments to show per page
$maxppg = 100; // maximum attachments per page
$attachviewer = 1; //set this to 1 if you've got the attachment viewer installed. 0 if not.
//============================================
Installation is extremely easy. First open the attach.php file and check the configuration. It's designed to work with the private attachments hack and the attachment viewer. After checking the config, upload the file to your forums directory, create a new template called attachment with the contents of the attachment.txt file and a new template called attachmentbit with the contents of the attachmentbit.txt file. That's it.
Feedback is always appreciated. You can get assistance, if needed, either through an e-mail or through my forums.
Private attachment : allows u 2 attactch files in a pm
Attachment viewer: shows the attachment within a page looking like your forum, ie includes the header/footer and shows who posted the attactment
Originally posted by corsacrazy damn im getting this error
this is how i have set up the attatc.php file
PHP Code:
//===================== config ===============
$privattach = 0; // set this to 1 if you have the private attachments hack installed. 0 if not.
$ppg = 15; // atttachments to show per page
$maxppg = 100; // maximum attachments per page
$attachviewer = 1; //set this to 1 if you've got the attachment viewer installed. 0 if not.
//============================================