![]() |
Seems to work perfect in 2.28! Great hack! Thanks!!
|
I run 2.28 and Cannot seem to get this to work with trilOByte's Welcome panel hack. the code works so i cannot hotlink the avatar, but in the welcome panel it also shows my logo instead of the users avatar. any help would be awsome! thanks
// Cross-link hack by Guru 2/24/2002 // Check that we aren't linked somewhere else $url = parse_url($HTTP_REFERER); $checkurl = strtolower($url["host"]); if (false === strpos($checkurl, "wpgrevscene") || false === strpos($checkurl, "winnipegrevscene")) { // Remove this code if you just want to break the image // Substitute my Logo header("Content-Type: image/gif"); $filename = "/home/wpgrevsc/www/images/wpgrev.gif"; $image = fread(fopen($filename,"r"),100000); echo $image; fclose($image); // End Substitute my Logo exit; } |
Will this also work if you place it somewhere for smilies?
Where the heck would it go? |
I have no clue for the last two questions. Anyone?
|
Quote:
Code:
RewriteEngine On |
After a brief amount of thought, of course smilies can't be protected by this code. They are individual files, served up by your host.
|
FWC,
That worked perfectly! Thanks for the help! Does anyone know if there is a way to also protect an IIS server the same way, I don't use it for my vb server, but some of my web pages are hosted on Win2k. |
Quote:
I can't help you with IIS, though. Don't know of the equivalent to mod_rewrite. |
is there a way to put a link at the top and bottom of the attachment...
Image Found at Mysite.com or Visit Mysite.com as part of the attachment |
|
All times are GMT. The time now is 03:18 PM. |
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:
|