Thanks Marco - I was aware I could do all of these, but I've set up my forum so that guest can view attachments, as I feel it's pointless having members sign up just to view attachments, I just wanted a way so that they couldn't be hotlinked (as one of my members has, without asking me - and is leeching MY bandwidth away) - so I came up with an anti-leech system that stops these, but gives you a direct link to the post where the attachment is - at least this way the guest will visit the forum first.
I know there are easier ways, but this has a feature that .htaccess can't perform - link to the post.
Cheers
|