Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Downloads Permissions
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: Downloads Permissions
I'm not sure whether using an image bbCode tag is the correct way to go about it.  For example, if the image is changed in any way, the URL gets changed too, so, not really ideal.
MyBB's solution to use something like [attachment=id] makes a bit more sense.
Would likely require at least some conditionals to perform replacements and existing posts would need to be manually ported across...

Though if all you care about is preventing hotlinking, it makes more sense to configure the webserver to perform the block rather than do something with PHP.

My Blog
05-30-2014 12:18 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

Messages In This Thread
Downloads Permissions - leefish - 05-29-2014, 12:37 PM
RE: Downloads Permissions - ZiNgA BuRgA - 05-30-2014 12:18 PM
RE: Downloads Permissions - leefish - 05-30-2014, 02:16 PM
RE: Downloads Permissions - ZiNgA BuRgA - 05-30-2014, 04:45 PM
RE: Downloads Permissions - leefish - 06-02-2014, 03:02 AM

 Standard Tools
Forum Jump: