Author Topic: How do I allow hotlinking  (Read 6025 times)

0 Members and 1 Guest are viewing this topic.

Offline dbb

  • Pre-Newbie
  • Posts: 2
    • View Profile
How do I allow hotlinking
« on: December 10, 2008, 12:18:03 AM »
Hello,

I would like to allow hotlinking to my website, but I am not sure how to do it.  So that I can link straight to the download button link.  I searched on this forum, but couldn't find anything.  From what I read I have to do something with an .htaccess file?  If someone could please direct me in the right direction I would appreciate it.  Thank you.

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: How do I allow hotlinking
« Reply #1 on: December 10, 2008, 01:28:27 AM »
Hello and welcome to 4images forum.

This is a feature in 4images.
Find in includes/functions.php
function check_download_token($token) {


Insert below:

  return true;
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline dbb

  • Pre-Newbie
  • Posts: 2
    • View Profile
Re: How do I allow hotlinking
« Reply #2 on: December 10, 2008, 05:50:46 AM »
Works great.  Thanks a lot.  :)

Offline scottwest

  • Pre-Newbie
  • Posts: 1
    • View Profile
Re: How do I allow hotlinking
« Reply #3 on: May 28, 2015, 06:10:05 AM »
Still works great... Thanks