Author Topic: Duplicate attachment file name glitch fixed  (Read 7098 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Duplicate attachment file name glitch fixed
« on: July 01, 2011, 02:26:42 am »
A lot of people will probably be pleased to learn that it is now possible to upload attachments using file names that were already used before on the forums. When updating to Simplemachines 1.1.8 in Early 2009, we lost the ability to disable encrypted attachment file names, but for some reasons, the SMF team did not plan anything to re-allow duplicate attachment name uploads, despite forcing encrypted names since then. Recently we learned that we could edit the old option in the MySQL database, to allow duplicate names.

It especially made things worse because once uploading failed, clicking back then trying again would also fail, regardless of the validity of the upload, so a full page refresh was required.

Hopefully this should be much less hassle for people who want to use common names, as file renaming to things like e3e3dwywe78ey7.jpg or trial and error aren't needed anymore.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: Duplicate attachment file name glitch fixed
« Reply #1 on: July 01, 2011, 02:46:13 am »
YAY!!!!!!!
This got so annoying :P
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Duplicate attachment file name glitch fixed
« Reply #2 on: July 01, 2011, 04:06:24 am »
Yeah it was. Also in Opera, when clicking post/preview, if I go back afterward, it no longer lets me type because of SMF locking down fields (probably a spam protection). I even remember having to restart the browser to get uploading to work again after an error.

Offline Stefan Bauwens

  • Creator of Myst 89 - סטיבן
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1799
  • Rating: +162/-24
  • 68k programmer
    • View Profile
    • Portfolio
Re: Duplicate attachment file name glitch fixed
« Reply #3 on: July 01, 2011, 04:17:46 am »
This is nice. Didn't happen too many times with me yet.


Very proud Ticalc.org POTY winner (2011 68k) with Myst 89!
Very proud TI-Planet.org DBZ winner(2013)

Interview with me

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #4 on: July 01, 2011, 04:46:02 am »
 :w00t: I had problems with that, especially with this ↓
clicking back then trying again would also fail
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #5 on: July 01, 2011, 10:25:17 am »
:w00t: I had problems with that, especially with this ↓
clicking back then trying again would also fail
Me too. I am so glad that this is fixed.

Offline thepenguin77

  • z80 Assembly Master
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1594
  • Rating: +823/-5
  • The game in my avatar is bit.ly/p0zPWu
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #6 on: July 01, 2011, 11:17:12 am »
Thank you so much. Now I can finally just upload a file without trying to figure out if that name has ever been used before. Now, I won't have to tack on "zzz" to my uploads.

I also lost an entire 4 paragraph post the other day due to refresh not working...
zStart v1.3.013 9-20-2013 
All of my utilities
TI-Connect Help
You can build a statue out of either 1'x1' blocks or 12'x12' blocks. The 1'x1' blocks will take a lot longer, but the final product is worth it.
       -Runer112

Offline mrmprog

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 559
  • Rating: +35/-1
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #7 on: July 01, 2011, 11:52:49 am »
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.

Offline Hot_Dog

  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3006
  • Rating: +445/-10
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #8 on: July 01, 2011, 12:19:36 pm »
This will be so much easier!  Thanks!

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Duplicate attachment file name glitch fixed
« Reply #9 on: July 01, 2011, 12:44:25 pm »
YAY!!!!!!!
This got so annoying :P

^ That. I had to submit some posts four or five times until I got it right x.x

Hurrah it's fixed!




Offline yunhua98

  • You won't this read sentence right.
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2718
  • Rating: +214/-12
  • Go take a dive in the River Lethe.
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #10 on: July 01, 2011, 02:21:42 pm »
yes!

Spoiler For =====My Projects=====:
Minor setback due to code messing up.  On hold for Contest.
<hr>
On hold for Contest.


Spoiler For ===Staff Memberships===:






Have you seen any good news-worthy programs/events?  If so, PM me with an article to be included in the next issue of CGPN!
The Game is only a demo, the code that allows one to win hasn't been done.
To paraphrase Oedipus, Hamlet, Lear, and all those guys, "I wish I had known this some time ago."
Signature Last Updated: 12/26/11
<hr>

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Duplicate attachment file name glitch fixed
« Reply #11 on: July 01, 2011, 02:25:53 pm »
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.
In my case, near the end, I clicked back, copied the post content, then refreshed the page and pasted the post again. But I still lost the topic title and stuff.

Offline Deep Toaster

  • So much to do, so much time, so little motivation
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 8217
  • Rating: +758/-15
    • View Profile
    • ClrHome
Re: Duplicate attachment file name glitch fixed
« Reply #12 on: July 01, 2011, 02:35:30 pm »
Ouch, that sort of happened to me (losing a large post) but it was not a super long one.
In my case, near the end, I clicked back, copied the post content, then refreshed the page and pasted the post again. But I still lost the topic title and stuff.

I learned to do that. It was annoying.




Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Duplicate attachment file name glitch fixed
« Reply #13 on: July 01, 2011, 03:02:41 pm »
Yeah, me too, I often lost large post, but I clicked back then copy-pasted the contents over.

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: Duplicate attachment file name glitch fixed
« Reply #14 on: July 02, 2011, 12:56:34 am »
I lost a huge post once due to this, and I'm glad to see it fixed.  Thanks! ;D