REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Modded Download Section with MYPS
#11
First Post Updated with working version.
Do not download it from somewhere else cause it probably won't work =P
Reply
#12
Thanks Lex, do we just upload these overwriting the old files or do we have to deactivate the old version, upload the new files, then reactivate?
Reply
#13
Awesome. Gonna use this myself actually.
Reply
#14
Xtreme2damax Wrote:Thanks Lex, do we just upload these overwriting the old files or do we have to deactivate the old version, upload the new files, then reactivate?

Just overwrite the files and activate the upgrade_ds.php file
Reply
#15
It seems even this modified version still has that auto-renaming issue with files.

Is there anyway to have files retain their original filename once uploaded, say if you upload file x.zip it retains the name of file x.zip rather than being renamed to 17827382.zip for example?

The latter is quite unattractive and confusing, it would be nice to have file keep their name once uploaded.
Reply
#16
I've never mentioned anywhere it would change the filename to a 'proper' name ... =P
But could be done; aint such a big change.
But there's one side effect; what if 2 downloads have the same name ? And you delete one ... the second one will also be deleted; with the way its coded now that can never happen =P
Reply
#17
LeX- Wrote:I've never mentioned anywhere it would change the filename to a 'proper' name ... =P
But could be done; aint such a big change.
But there's one side effect; what if 2 downloads have the same name ? And you delete one ... the second one will also be deleted; with the way its coded now that can never happen =P

Couldn't a check be implemented, so if someone tries to upload a file with the same name it would return an error "File already exists, please rename the file" or something similar?

As for the deletion issue, can't files be assigned a file id or some sort, so if you delete one the other isn't deleted?

But it a check is implemented if the file exists and gives an error if it = true, that would take care of the second issue as well as they wouldn't be able to upload another file with the same name.
Reply
#18
Files should be like Mybb where they are given a special attachment name on upload and on download given their correct name. This is how it's more secure. Knowing the file name is just one way for people to circumvent your download system.
Reply
#19
labrocca Wrote:Files should be like Mybb where they are given a special attachment name on upload and on download given their correct name. This is how it's more secure. Knowing the file name is just one way for people to circumvent your download system.

That sounds even better, not sure why I didn't think of that. Tongue
Reply
#20
o man are all plugins for subscribers?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  MYPS Mybet labrocca 21 15,105 May 04, 2016, 06:08 PM
Last Post: hsnayd55
  Myps for Arcade problem AN Adam 1 4,088 Jul 22, 2010, 01:38 PM
Last Post: prizehubs
  MYPS Profile Shop labrocca 9 6,601 Apr 22, 2010, 07:32 PM
Last Post: scarface
  Minimum MYPS For View Attachment && PPV. labrocca 6 5,357 Aug 25, 2009, 01:25 PM
Last Post: D00MR4ZR
  MYPS Referrals labrocca 3 3,674 Sep 20, 2008, 08:42 PM
Last Post: labrocca

Forum Jump:


Users browsing this thread: 1 Guest(s)