Join the Facebook Fan Page.
Started by SMFHacks.com Team, October 31, 2007, 06:55:37 PM
Quote from: SoLoGHoST on August 22, 2009, 12:51:55 AMPlusev you can query the messages table and do a COUNT on it WHERE id_member = $user_info['id'] (SMF 2.0.x) or id_member = $ID_MEMBER (SMF 1.1.x). Than you just find out if the returned count >= the post count you have set in the Downloads Config Settings (which will just need to add a text area for this). If you give me a week or so, will add it to the EDS AddOn.Cheers
Quote from: SoLoGHoST on September 17, 2009, 04:28:47 PMUploading is the problem, since it never fully uploads the entire contents of the file, this will cause it to be not downloadable, as is the link for your test at kh738tuh.zip [nofollow]! Basically it isn't checking for actual file existence after attempting to upload it, so that is why it creates an empty upload if the upload fails somewhere along the uploading process. Usually happens for files that are too big in filesize than what you have defined in you php.ini file and/or the downloads configuration Admin page.What my EDS AddOn [nofollow] will do is let you know if there is a problem while uploading and stop execution of the upload with a fatal_error(); if there is a problem instead of allowing the upload to go through.