![]() |
Disable Right-Click in threads!
I would like to see a hack to disable right-clicking,but only in posts. I found a hack for phpbb that does it which i will give the code now...
Code:
<!-- Start add - No copy MOD --> |
Hmm.... should work if go to AdminCP -> Style Manager -> Edit Templates.
Find and open the template "SHOWTHREAD" and paste the above code right at the beginning. That should add this "mod" into every threadview. Not tested, but should work. |
easy just them in header in common templates
|
it could actually be added to the header template, just by wrapping it in
Code:
<if condition="THIS_SCRIPT == 'showthread'">Place code here...</if> |
umm idea isn't bad at all...but how to disable right ckick on images including avtar,posted image ....
Suggestion pls... Thanks |
Quote:
It only makes people mad at you :p |
Right-click blockers never work and are just annoying.
|
Thankx..
|
The best way around it is:
CTRL + C |
That's why i want a hack to be made to download a Attachment like a url instead. If that can be done it will be extremely hard for people to get the actual link to the file, but nobody is interested in making a hack like that i guess. Like a certain .url file in which customer's can simply edit and put their real links in there and upload as a attachment,when people download it,they don't download it but get redirected to the files instead. Of course my only concern would be people using Download Managers as their default downloading software,then they would be able to see the download links. I just want it to be as hard as possible is all for them.
|
Quote:
You want to prevent remotelinking to your site? That could be done by some sort of anti-leech script :) |
If your referring to editing the .htaccess to do that it wouldn't work if the files you want to prevent from being remotely linked off of are not on the same server the forums are on. If your referring to a vb hack then i am all ears!
But i think the use of attachment would be good,as they wouldn't be able to get the real link by saving the page and looking through the code to find the link. The download attachment as URL would work great i think. |
No, I'm not talking about the .htaccess, rather a real (PHP) script that acts like some kind of proxy for the download.
The download request is sent to the script (let it be "download.php" with an ID of the reqiested file, the script then checks if everything is in order and sends the contents of the requested file to the browser. This way you have absolute control over your downloads (you also can do some traffic checking) and the real location of the files is never revealed, the actual files can even be outside of the public accessible folder of the webserver :D |
but it would use up the webserver's bandwidth and the server your downloading from as well correct?
The reason i want it done with attachments instead of bb_codes is because of this |
how can i disable right click in certain forums any one has any ideas?
|
All times are GMT. The time now is 05:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|