PDA

View Full Version : Xray anti cheat in user profile


Firewarrior
10-13-2008, 09:24 PM
Can anyway make a addon so that user can put in there profile there xray anti cheat info

On there website there is a php code that they give you but as i am no coder maybe some one can do somethink with it

This is the php code on there website ( http://www.xraygaming.com/index.php?pageid=xac-linking ) (more info can be found on that site as well if needed)

<?php
// Grab the link to a user's XAC Screenshot profile
$guid = 'GUID GOES HERE'
$xacprofile = "User has never used X-ray Anti-Cheat";
if (strlen($guid) == 40)
{
$xacurl = file_get_contents("http://www.xraygaming.com/screenshotlink.php?guid=" . $guid);
if (strlen($xacurl) > 0 and $xacurl != "NONE")
{
$xacprofile = "<a href=\"" . $xacurl . "\">Click here to view</a>";
}
}
echo($xacprofile);
?>

Marco van Herwaarden
10-14-2008, 07:35 AM
Please see: Including External Files (http://www.vbulletin.com/docs/html/main/templates_externalfiles)

Firewarrior
10-14-2008, 04:04 PM
All ready have but as i am no coder i dont under stand it
thats why i said here :P