open All Channels
seplocked EVE Technology Lab
blankseplocked "Confirm trust" feature in in-game browser.
 
This thread is older than 90 days and has been locked due to inactivity.


 
Author Topic

Trash King
Caldari
Deep Core Mining Inc.
Posted - 2003.07.24 08:06:00 - [1]
 

Edited by: Trash King on 24/07/2003 08:51:03
Yeah, this would be nice Very Happy
I hope it dont exist and i was just to blind to find it, but a feature to trust someones server by cliken yes or no would be nice.
Now you have to go to "options" -> "Trusted sites" and then add the full url.. no one wants to do this ;)

the evemail: is a nice feature so add a <a href="externalLink.aspx?l=trust%3Ahttp%3A%2F%2Fwww%2Eexample%2Ecom" alt="Trust us ;)" feature or something like this.. which promts the user "Do you want to trust Http://www.example.com" and adds it in the list auto.

Greets from the Actee system

Update:
header('eve.trustMe:http://www.example.com::Please trust me');

d'oh Rolling Eyes

Trash King
Caldari
Deep Core Mining Inc.
Posted - 2003.07.24 09:07:00 - [2]
 

Edited by: Trash King on 24/07/2003 09:08:17
Edited by: Trash King on 24/07/2003 09:07:54
argh, it dont work!

i tried the source from
http://www.mcdee.net/eve/trust.html
but it dont work..
if i visit his site in my ingame browser the prompt comes, my site makes nothing, not even an error!

For example i tried

<?php
header("eve.trustMe:Http://www.clanwork.net/eve/::Trust me");
?>

and nothing happened.. anyone knows why? this sucks :(

BH Trimaster

Posted - 2003.10.08 14:54:00 - [3]
 

recently discovered that in order mcdee's header to work, you need 2 more statements.

at the start of your php file before any html is output add

ob_start();

at the end of your php file after all html is output add

ob_end_flush();

that's it, then the trust popup with yes/no will appear.

example:
<?php
ob_start();
if(!$_SERVER['HTTP_EVE_TRUSTED']) {
//when using the igb, the tested variable
//exists always
die("link to out of game site<br>");
}
if($_SERVER['HTTP_EVE_TRUSTED']=="no") {
header("eve.trustme:http://your.site.com/path/to/start/dir/::A message begging for entrustment.<br>",false);
echo '<html><head><title>get trust</title></head><body>';
echo '<a href="blah.php">click after adding trust</a><br>';
echo '</body></html>';
die();
}
//trust is valid continue processing
?>

notes: blah.php could also be $PHP_SELF or $_SERVER['PHP_SELF']
use the latter if register globals is turned off.

hope this helps you out.


 

This thread is older than 90 days and has been locked due to inactivity.


 


The new forums are live

Please adjust your bookmarks to https://forums.eveonline.com

These forums are archived and read-only