![]() |
Remove Style Selection
Is there any way of removing the drop down style selection on one page only? I've made a product that prevents hotlinking to attachments (but provides a link straight to the post) - I need to remove the drop down as selecting that overrides the security and allows the download. I've got a custom template for this page, so if there's anything I can put in there, what can I use?
Cheers Jason |
when you edit a forum, you can choose: "Override Users' Style Choice"... even if they choose a different style, the selected style for that forum will occur!
|
Hmmm thanks - didn't know that was an option, however, my problem is, the page is sent from a template - so somewhere in that template I need to remove the drop down box (and just leave whatever style has been selected by the user - generally this is visitors and would see the standard one only).
Cheers |
vBulletin already comes with some sort of standard "Hot Linking" protection.
Consider the following: - you can already deny downloading of attachments to guests. Hotlinking to attachment.php will have no real use, as it would still require a member login to download. - If you are storing attachments in the database, then the above would be enough. - If you are storing in the filesystem, your attachment directory should be located above the webroot. This would make direct linking to the attachment impossible. - Even if stored in filesystem and under webroot, then using a .htaccess rule to prevent acces to attachments from outside links would be the best way to do it. |
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 |
All times are GMT. The time now is 05:49 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:
|