The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Cross Linking Avatars
Looking for a working hack for 2.28 that will prevent users from uploading an avatar to my site and then linking to it for another site. it is really annoying.
|
#2
|
||||
|
||||
If you have the appache modual mod_rewrite installed then use that to block domians other than yours to use images from your server.
|
#3
|
|||
|
|||
will this code block access to avatars as well? do i need to install the save avatar as file hack? does that hack work with 2.28?
thanks for the speddy reply, i have done some searching but have found nothing concrete. directory /www/sites/vbforums.com/htdocs> <files avatar.php> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://www.vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://161\.58\.186\.97 [NC] RewriteRule avatar.php [F] </files> <files attachment.php> RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://www.vbforums.com [NC] RewriteCond %{HTTP_REFERER} !^http://161\.58\.186\.97 [NC] RewriteRule attachment.php [F] </files> </directory> |
#4
|
||||
|
||||
That should block all access from outside your domain's that you list instead of vbforums.com So all attachments and avatars
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|