| Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 30 .. 30 :: one page |
| Author |
Thread Statistics | Show CCP posts - 26 post(s) |
|

Traveler

|
Posted - 2005.09.09 05:31:00 -
[481]
use showinfo:1373//<id> . 1 was the global character type which got removed with the patch. Therefore we use a fake type now.
Traveler UI programmer |
|

Cybu
|
Posted - 2005.09.09 16:42:00 -
[482]
Edited by: Cybu on 09/09/2005 16:41:56 Is there any way to get the character's corp title in php?
|

Lo'Ra Sha'pa'ai
|
Posted - 2005.09.09 23:46:00 -
[483]
Cheers, I've tried this example to get the pop up and to be able to start to use the server vars, but i don't get squat, so talk to me, what am i doing wrong? i just did copy paste... Regular apache - php server. Also i'm a programmer myself so i'm pretty sure that must be either something with changes that wasn't told, or something with $HTTP_SERVER_VARS... So ideas? -- Look me in the eyes amarr -- |

Ray McCormack
|
Posted - 2005.09.12 19:52:00 -
[484]
// Set Server Variables For Ease of Use $charname = $HTTP_SERVER_VARS['HTTP_EVE_CHARNAME']; $charid = $HTTP_SERVER_VARS['HTTP_EVE_CHARID']; $corpname = $HTTP_SERVER_VARS['HTTP_EVE_CORPNAME']; $alliancename = $HTTP_SERVER_VARS['HTTP_EVE_ALLIANCENAME']; $regionname = $HTTP_SERVER_VARS['HTTP_EVE_REGIONNAME']; $constellationname = $HTTP_SERVER_VARS['HTTP_EVE_CONSTELLATIONNAME']; $solarsystemname = $HTTP_SERVER_VARS['HTTP_EVE_SOLARSYSTEMNAME']; $stationname = $HTTP_SERVER_VARS['HTTP_EVE_STATIONNAME'];
etc, etc, etc. You may need to use stripslahes($var), though, depending on your server.
| The BIG Lottery | BIG Sales | 11720 | |

Mancer
|
Posted - 2005.09.15 07:40:00 -
[485]
I'm currently doing a corp website so I've been trying to gleam as much information for what the ingame browser can do and I will surely note any bugs I stumble across later on.
However for now I just wanted to waste your time with a flight of fantasy.
It's already suggested that the ingame browser will not support Javascript or Flash, However I had a vivid imagination and thought of what an in-game browser would be like if it supported VRML.
VRML on the internet has never really taken off because it either relied upon Third-party browsers or plugins, but it would of been cool to see rotating ship loadouts, 3D route mapping along with other things using the Engine to render.
I know before even Traveler posts that it would never be on the agenda, but I had to mention it none the less.
|

Cinnander
|
Posted - 2005.09.15 11:13:00 -
[486]
Edited by: Cinnander on 15/09/2005 11:14:17 When using the PHP header(); call to redirect eg after "posting" a form, the address bar remains as the URL of the "processing" script that redirected you. Result: If you click "back" you get the page which is actually two pages ago, and if you hit "refresh" you get a double-post situation, even though you may now be on a totally different area of the site (depending on where the script redirected you). This can be picked up by the script NP but still causes problems with certain scripts. EG, With a script that picks up if the post button was clicked (by the presence of the _POST['button'] header and redirects to home page if not: you always get "bounced" to the index or similar. if you click "back" or hit "refresh" on what should be the page after; all because the address bar still shows "process.php?bleh&bleh" |

Cybu
|
Posted - 2005.09.16 15:43:00 -
[487]
Correct me if I'm wrong, but shouldn't the <pre> tag preserve spaces and line breaks? Right now I can't see it doing anything :/
|

Virtuozzo
|
Posted - 2005.09.17 12:06:00 -
[488]
With the unfortunate absence of eve-i.com :/ Does anybody have a mirror of nonsequitur's latest build of the pgp IGB class files? Would be dearly appreciated ..
Virtuozzo
RECRUITMENT TEASERS. Last words of a Caldari general: "Pull the Ravens back! Full retreat! they've got frigates!" |

nonsequitur
|
Posted - 2005.09.18 05:31:00 -
[489]
Originally by: Virtuozzo With the unfortunate absence of eve-i.com :/ Does anybody have a mirror of nonsequitur's latest build of the pgp IGB class files? Would be dearly appreciated ..
I forgot about the stuff I had hosted on EVE-I... I uploaded the latest php/css stuff to eve-files for anyone that wants them.
[ HERE ]
|

Mancer
|
Posted - 2005.09.18 22:09:00 -
[490]
I found a slight problem, not so much with the in-game browser as more to do with my ISP caching method. It seemed that I got a stale cache of a page I was working on and I couldn't get it to refresh to begin with.
I did a little search and came across something mentioning just using the RELOAD/REFRESH button on the normal browser which causes the ISP's cache to test if the page should be retrieved based upon it's modified date or not.
This suggests that the browser sents something in the request to get the ISP's system to honour the request.
It worked with Firefox, however a second (purposely) staled page wouldn't reload from the in-game browser. I mention it incase it's possible to fix the magic that makes the reload work.
|

Virtuozzo
|
Posted - 2005.09.19 10:53:00 -
[491]
Originally by: nonsequitur
I forgot about the stuff I had hosted on EVE-I... I uploaded the latest php/css stuff to eve-files for anyone that wants them.
Cheers, most appreciated.
Virtuozzo
RECRUITMENT TEASERS. Last words of a Caldari general: "Pull the Ravens back! Full retreat! they've got frigates!" |

Jaabaa Prime
|
Posted - 2005.09.21 14:35:00 -
[492]
The "eve.corprole" bit 55 (36028797018963968L) is tied to the role "Communications Officer", does anyone know what this role is supposed to be for ? -- Intergalactic Teeth Pullers "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein |

Cybu
|
Posted - 2005.09.22 12:11:00 -
[493]
Originally by: Jaabaa Prime "Communications Officer", does anyone know what this role is supposed to be for ?
"Communications Officer - Can moderate corporation/alliance communications channels"
Is that what you meant?
|

Jaabaa Prime
|
Posted - 2005.09.23 13:37:00 -
[494]
Originally by: Cybu
Originally by: Jaabaa Prime "Communications Officer", does anyone know what this role is supposed to be for ?
"Communications Officer - Can moderate corporation/alliance communications channels"
Is that what you meant?
Yes, that would appear to be it, thanks. -- Intergalactic Teeth Pullers "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein |

Virtuozzo
|
Posted - 2005.09.23 15:06:00 -
[495]
Forgive the stupidity ... but I really miss eve-i.com :/ Is there an in game channel for IGB site development/programming where the guru's conceive their magic? If not, it might be an idea.
Virtuozzo
RECRUITMENT TEASERS. Last words of a Caldari general: "Pull the Ravens back! Full retreat! they've got frigates!" |

Jaabaa Prime
|
Posted - 2005.10.01 03:02:00 -
[496]
Originally by: Virtuozzo Forgive the stupidity ... but I really miss eve-i.com :/ Is there an in game channel for IGB site development/programming where the guru's conceive their magic? If not, it might be an idea.
The only half ways official site I know is from the EVE BHs here.
In game, no idea, sorry. -- Intergalactic Teeth Pullers "Only two things are infinite, the universe and human stupidity, and I'm not sure about the former." Albert Einstein |

anaesthesia
|
Posted - 2005.10.04 20:13:00 -
[497]
For any zope users out there, here is the DTML to request trusted access, and set server side vars. In case anyone needs it:
-- snip --
<dtml-if "REQUEST['HTTP_USER_AGENT'] != 'EVE-minibrowser/3.0'"> <div style="background-color:yellow;border:1px solid black;padding:5px;margin:10px 0px 10px 0px">CAUTION! this website can only be used with the eve online ingame browser. </div>
</dtml-if> <!-- LOOKING FOR TRUSTED HEADER INFO --> <dtml-if "REQUEST.has_key('HTTP_EVE.TRUSTED')"> <!-- FOUND TRUSTED HEADER INFO --> <dtml-if "REQUEST['HTTP_EVE.TRUSTED'] == 'yes'"> <!-- TRUSTED SETTING ENABLED --> <dtml-call "REQUEST.set('charname', REQUEST['HTTP_EVE.CHARNAME'])"> <dtml-call "REQUEST.set('charid', REQUEST['HTTP_EVE.CHARID'])"> <dtml-call "REQUEST.set('alliance', REQUEST['HTTP_EVE.ALLIANCENAME'])"> <dtml-call "REQUEST.set('allianceid', REQUEST['HTTP_EVE.ALLIANCEID'])"> <dtml-if "allianceid == 'None'"> <dtml-call "REQUEST.set('allianceid', 0)"> </dtml-if> <dtml-call "REQUEST.set('corpname', REQUEST['HTTP_EVE.CORPNAME'])"> <dtml-call "REQUEST.set('corpid', REQUEST['HTTP_EVE.CORPID'])"> <dtml-call "REQUEST.set('corprole', REQUEST['HTTP_EVE.CORPROLE'])"> <dtml-else> <dtml-call "REQUEST.RESPONSE.setHeader('eve.trustme', 'http://www.yoursite.com/' ) "> </dtml-if> <dtml-else> <dtml-call "REQUEST.RESPONSE.setHeader('eve.trustme', 'http://www.yoursite.com/' ) "> </dtml-if>
-- snip --
Hope someone finds this useful.
anaesthesia EVE BLACKMARKET
|

Virtuozzo
|
Posted - 2005.10.11 20:16:00 -
[498]
@ Traveller >
Any chance of updating the igbtest pages at the bughunter site? There's a bunch of pages missing it seems (like background images for instance). With the disappearance of eve-i.com all I've got left is that site for guidance (and I am by no means a programmer, I had to look up the word even :P )
Virtuozzo
RECRUITMENT TEASERS. Last words of a Caldari general: "Pull the Ravens back! Full retreat! they've got frigates!" |

Grismar
|
Posted - 2005.10.23 15:04:00 -
[499]
I ran into a new bug with the current (3582 client, Oct 23 2005) IGB version.
When you set the 'action' attribute for a form with the 'get' method to something containing query variables, for instance:
<form action="form.php?somevar="something" method="get"> <input type="text" name="test"> <input type="submit" value="go"> </form>
And you enter "testvalue" into the text field and then post it, the IGB will try to load:
http://somesite.com/form.php?somevar=something?test=testvalue
While it -should- load:
http://somesite.com/form.php?somevar=something&test=testvalue
Note the second ? being replaced with an ampersand. It should be easily fixed by checking if the URL in the action contains any unescaped ?'s. If it does, append the GET vars with &, append them with ? otherwise.
Greetings, Grismar.
Work in progress: EVE Explorer |

Jack Tau
|
Posted - 2005.10.28 11:28:00 -
[500]
I am currently switching my entire site over to CSS to speed up the IGB support, but I'm having a lot of problems.. The site(http://eve.enkidu.cx) contains a lot of forms, and laying them out with CSS was difficult enough, but now it seems the IGB doesnt support fieldsets and everything has fallen to bits. So I used inline to get my forms all lined up, but then it seems that doesnt work either! Have included a sample of whats not working, but you can go to the URL in game, and see the menus all messed up, or go in a browser to see how they should be.
CSS --- #Menu { list-style-type: none; margin: 0 0 2em 0; padding: 0; }
#Menu li { display: inline; margin-right: 1em; border-right: 1px solid #FFFFFF; padding-right: 1em; font-size: 16pt; }
#Menu li.last { border: none; }
#Menu li.on a { color: #FFFFFF; text-decoration: none; font-weight: bold;
Menu(edited-NoCode) ---- <div style="width:900px;text-align:center;"> <div id="content" style="text-align:center;"> <ul id="menu"> <li class="on"> <a href="./BPOs.asp">BPs</a> </li> <li> <a href="./BuildList.asp">Builds</a> </li> <li> <a href="./reports.asp">Reports</a> </li> <li id="last"> <a href="./forum" target="_blank">Forum</a> </li> </ul> </div> </div>
|

MadMuvvaMinnie
|
Posted - 2005.10.30 13:02:00 -
[501]
Two very simple php pages. The first contains a form with a text box. The second prints out the contents of the text box on the first page:
Quote: test1.php <html> <head></head> <body> <form method="post" action="test2.php"> Type Something<input type="Text" name="text1"><br> <input type="Submit" name="submit"> </form> </body> </html>
test2.php <html> <head></head> <body> <?php printf("<p>%s</p>\n", $text1); ?> </body> </html>
The text from test1.php is not making it to test2.php. $text1 shows as an empty string. Works fine with IE and NS. Any ideas what's going wrong?
|

Dale Cussler
|
Posted - 2005.10.31 10:07:00 -
[502]
Okay, I found a rather odd bug. Define a few classes, say,
.mytable { width: 100%; background-color: #000000; } .mytable th { background-color: #ffffff; color: #000000; }
Then, if used in this manner:
<table class="mytable"> <tr> <th>test</th> </tr> </table> <table class="mytable"> <tr> <th>test 2</th> </tr> </table>
2 things go wrong there; first, the width: attribute in the style is ignored. I had to change it to:
<table class="mytable" width="100%">
In order to work.
The second bug is also interesting. The first table looks like you'd expect it to, black background, and a white bar with black text.
The second table, however, is completely buggered up, and all style and class information isn't even applied. This leads me to believe that you can use a class only once...
|

Dale Cussler
|
Posted - 2005.10.31 11:08:00 -
[503]
And just to be complete, here's the code to do the trusted site stuff in Perl. Actually it assumes you are running under mod_perl, or HTML::Mason, or something to that effect.
sub _get_eve_headers { # assumes $r is an Apache::Request object my $r = shift; my $data = {}; my $ua = $r->header_in('User-Agent'); $data->{ingame} = ($ua=~/EVE-minibrowser/) ? 1 : 0; $data->{trusted} = ($r->header_in('Eve.trusted') eq 'yes') ? 1 : 0;
if($data->{trusted}) { foreach (qw(charname charid alliancename corpname regionname constellationname solarsystemname corprole)) { $data->{$_} = $r->header_in('Eve.'.$_); } } } sub _get_trust { my $r = shift; $r->header_out('eve.trustme' => 'http://www.yoursite.com/::Please allow us to access your pilot license information'); $r->send_http_header(); }
|

Jack Tau
|
Posted - 2005.11.03 16:57:00 -
[504]
Edited by: Jack Tau on 03/11/2005 16:57:21 This is something that *really* needs fixing, ASAP.. I've switched to a DIV/absolute layout for my site, which works great.. Except for forms.. If you put a form in a nested div, the page doesnt work at all(Something went wrong), if you put it in a single div(With absolute positioning) everything looks cool, except you can't type in the box :| Any help on this would be greatly appreciated, its stopping all my updates to my site.
Jack Tau
|

Jack Tau
|
Posted - 2005.11.04 11:19:00 -
[505]
This isnt a bug, but I thought you guys who regularly read this thread would like to know I have got a good layout format for using forms with CSS and NO tables. Its a combination of absolute layout, and margin positioning. This is not great for sites with just flat information(Just use normal CSS for that), but if you have lots of forms on your site, you will see a noticable improvement. Not only does it work, but it validates 100% as html 4.01 transitional. If anyone needs any pointers, just let me know...
Sample page
Just check out the source of the page, to see how its done.
|

Gunther Hoosler
|
Posted - 2005.11.06 15:51:00 -
[506]
Originally by: MadMuvvaMinnie Two very simple php pages. The first contains a form with a text box. The second prints out the contents of the text box on the first page:
Quote: test1.php <html> <head></head> <body> <form method="post" action="test2.php"> Type Something<input type="Text" name="text1"><br> <input type="Submit" name="submit"> </form> </body> </html>
test2.php <html> <head></head> <body> <?php printf("<p>%s</p>\n", $text1); ?> </body> </html>
The text from test1.php is not making it to test2.php. $text1 shows as an empty string. Works fine with IE and NS. Any ideas what's going wrong?
doesn't that need to be 'printf("<p>%s</p>\n", $_POST["text1"]);' ? Gunther Hoosler ALi Director
|

Simon Illian
|
Posted - 2005.11.07 11:22:00 -
[507]
sorry ask again, but can i have a list of the showinfo XX type for char,corp,station & other to do porper links ?
[Eve Tool for the mass] |

Jack Tau
|
Posted - 2005.11.08 00:51:00 -
[508]
I've been fiddling with the IGB for some time now, and I've finally *****ed a method of layout that is both fast, and works. I have made a massive list of do's and dont's for my future reference, but here's the basic ones...
Use CSS for everything, tables are just too damn slow.
Dont put forms inside absolute positions(They will appear read-only).
The display property of divs don't work.
Use fixed layout, with margined divs for laying out tabular data/forms(The codes HORRIBLE, but it works and its quick).
Disable every single image you dont absolutely need.
Remove all none-essential meta tags.
Avoid too much seperated CSS(i.e. in a .CSS file), it seems to be slightly slower.
Thats about all the ones that make a noticable difference.. HTH, Jack Tau CEO and Baldy(I tore it all out)
|

Gunther Hoosler
|
Posted - 2005.11.09 11:13:00 -
[509]
Originally by: Jack Tau
Use CSS for everything, tables are just too damn slow.
I'm getting very slow results with tables too,but i've never used any other method. Do you have an example of tabular-formatting using CSS? i found some stuff on the net which i'll try later but these rely on CSS @ directives and i'm not sure if these work okay
All this programming man, i just wanna play Gunther Hoosler ALi Director
|

Jack Tau
|
Posted - 2005.11.09 15:43:00 -
[510]
Originally by: Gunther Hoosler
Originally by: Jack Tau
Use CSS for everything, tables are just too damn slow.
I'm getting very slow results with tables too,but i've never used any other method. Do you have an example of tabular-formatting using CSS? i found some stuff on the net which i'll try later but these rely on CSS @ directives and i'm not sure if these work okay
All this programming man, i just wanna play
Sure, my website(eve.enkidu.cx) is half upgraded to CSS, you can see examples there(Login as test & test).. Its fiddly, ugly and I've had to set margins and positions using ASP to make it dynamic, but it works :)
|
| |
|
| Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 [17] 18 19 20 30 .. 30 :: one page |
| First page | Previous page | Next page | Last page |