The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
My board has been Hijacked!
someone registered "sabrehood.com" and when that 's typed in, it opens my forum in a frame below his ad for motorcycle parts. My forum has been hijacked and I want to add some code to index.php that will close his window and then open my forum in the full window without his advertisement on the top over my banner.
Can someone tell me how to do this in php? My board is at: www.thesabrehood.org I appreciate your time and help in getting rid of this "unwanted" advertising hijack! Thanks, matt caswell |
#2
|
||||
|
||||
Looks like some iframe code.
He has his banner / header up top, then a <iframe> YOUR SITE HERE </iframe> beneath it. Well not EXACTLY like that, but you get the idea. You need to find a way to stop your site from being iframed. |
#3
|
|||
|
|||
Looks like you've sorted it now.
|
#4
|
|||
|
|||
He hijacked your board by registering a user with the username sabrehood[dot]com ? :erm:
I doubt that had anything to do with it really It's probably because you are running an outdated version of vBulletin. Make sure your using the most recent version available. |
#5
|
|||
|
|||
If i understand this correct, it is not your site hijacked, but he includes your content (in an iframe) on his domain.
Can probably be blocked using a .htaccess to disallow linking from external sites, but not a real expert on this. |
#6
|
||||
|
||||
or you could have a checker
if $_DOMAIN != THEsabrehood.com header('Location: http://www.thesabrehood.com/'); That should piss him off |
#7
|
|||
|
|||
Quote:
He's using just "sabrehood.com" Where would I put this checker? Thanks so much for your help. matt |
#8
|
||||
|
||||
make a new plugin, location global_start and any name you want
Code:
if ($_SERVER['HTTP_HOST'] != thesabrehood.com || $_SERVER['HTTP_HOST'] != thesabrehood.org || $_SERVER['HTTP_HOST'] != thesabrehood.net) { header('Location: http://www.thesabrehood.com/'); } if it dosent work properly it might lock you out of your own site untill you temporarily disable plugins, so i guess wait for a confirmation from a better coder than I. |
#9
|
|||
|
|||
Add this javascript code to your headinclude template:
<SCRIPT TYPE="text/javascript"> <!-- if (top.frames.length!=0) top.location=self.document.location; // --> </SCRIPT> |
#10
|
|||
|
|||
Thanks for all the suggestions and help. I was able to get him to de-link my board after calling him and confronting him for theft of content and bandwidth.
Matt Caswell |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|