First, put the hack in the Public Folder inside the dropbox. Then, right click the file and "copy Public link". Voilá!
Only Dropbox accounts made over 7(?) months ago have a Public folder. This is a feature no longer given out, so only old Erophox users have it.