The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Right : News!!!
Ive done all the file editing (i think), all the queries, and all the "add new" templates... The only thing left is for Template editing I should be complete tomorrow for a Beta Hack release Satan |
#12
|
||||
|
||||
Quote:
|
#13
|
||||
|
||||
But with this, Ive included a bit of code which stops users using outside your specified domain...
Its kind of the same thing, except I dont know how to do it with .htaccess, so I did it this way instead Here is the code im using Erwin: Code:
$referers = array ('www.yoursite.com','yoursite.com','ip address here'); function check_referer($referers){ if (count($referers)){ $found = false; $temp = explode('/',getenv("HTTP_REFERER")); $referer = $temp[2]; for ($x=0; $x < count($referers); $x++){ if (ereg ($referers[$x], $referer)) { $found = true; } } if (!$found){ exit; } return $found; } else { return true; } } check_referer($referers); Satan |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|