News:

Wondering if this will always be free?  See why free is better.

Main Menu

important attachment options

Started by drhamza, April 17, 2009, 01:44:47 AM

Previous topic - Next topic

drhamza

adding these features would be really cool, if there are tricks or similar plugins i would really appreciate it if you mention them please  :D

1. upload meter that shows the estimated time left and upload rate and similar information

2. embedding attachments: video, image, flash, pdf

3. an "upload" button next to the browse button, meaning that i can upload it before writing my post... and then while writing the post i can embed the attachment inside it

thanks for your help

drhamza

4. an attachment button next to the bold and italic (i.e. in the edit toolbar) that opens a box similar to that which opens when you press "additional options"

drhamza


H

Quote1. upload meter that shows the estimated time left and upload rate and similar information

Nice idea, however this isn't currently possible without extra php/server extensions

Quote2. embedding attachments: video, image, flash, pdf

You can already embed attachments however it is far too complicated. A proper interface would be good

Quote
3. an "upload" button next to the browse button, meaning that i can upload it before writing my post... and then while writing the post i can embed the attachment inside it

Would be needed in order for 2)

Quote4. an attachment button next to the bold and italic (i.e. in the edit toolbar) that opens a box similar to that which opens when you press "additional options"

Really depends on how the other options are integrated. Just having it as a button for no reason would seem a little redundant.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

drhamza

thanks a lot H
there is SMG modification i've just found, it has nice options, but still many things are missing... it shows a percentage of how much is uploaded, but can't it be more advanced showing time and stuff...
and the uploaded file... what's the problem of having the uploaded file in it's extension rather than id=5 or something like that.... why not have it in jpeg or wmv... for me, i have no problem because my forum is private and the uploaded files are not that important... i'm sure that no one will share it as a hotlink outside the forum

anyways, thanks again, and an advanced file manager is very important for many forums, all cg forums will need that for example, even if it was installed outside the smf and linked to it like the guys did with ajax chatbox...

cheers

青山 素子

#5
Quote from: drhamza on April 17, 2009, 03:29:11 PM
there is SMG modification i've just found, it has nice options, but still many things are missing... it shows a percentage of how much is uploaded, but can't it be more advanced showing time and stuff...

Because that requires a lot more logic (determining the transfer rate, figuring out the time remaining at current rate, etc) and would need special access, requiring a special browser plug-in/flash object or a server module.


Quote from: drhamza on April 17, 2009, 03:29:11 PM
and the uploaded file... what's the problem of having the uploaded file in it's extension rather than id=5 or something like that.... why not have it in jpeg or wmv...

It is for security purposes, actually. If the file name wasn't encrypted, you'd run into a few big issues:


  • Only one file can be uploaded with a specific name. You cannot have two "mytext.txt" files uploaded because the file names must be unique.
  • You cannot safely allow php or other server-parsed files to be uploaded. Someone could easily upload a php shell then access it directly, gaining full access to your site files.
  • There are tricks to make files with normal extensions be run by the server, even if you forbid the extension.

The last two points can be worked around by moving your attachments location outside a web-accessible location, but that would defeat your desire to link directly.

You are welcome to disable attachment filename encryption, but be aware that doing so is very dangerous to the security of your website.


Quote from: drhamza on April 17, 2009, 03:29:11 PM
anyways, thanks again, and an advanced file manager is very important for many forums, all cg forums will need that for example, even if it was installed outside the smf and linked to it like the guys did with ajax chatbox...

If you are in need of that level of management, look into one of the media gallery modifications available for SMF, or something like Gallery2 or Coppermine - both have SMF bridges.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


drhamza


Advertisement: