| Author |
Thread Statistics | Show CCP posts - 1 post(s) |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.20 19:42:00 -
[1]
Something fishy is going on with mine  I've tried everything. CHMOD'ing things to 777, changing things around, all to no avail.
For some reason it just doesn't want to access the images (any form of hotlink prevention is disabled).
www.ravenwarriors.com/kb -
Corp: www.ravenwarriors.com Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.21 19:26:00 -
[2]
Anyone know of a way to optimize the way the ! portraits are grabbed/drawn? Sometimes it takes up to 4-6 seconds for them to be drawn/grabbed, which is rather slow. -
Corp: www.ravenwarriors.com Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.21 21:15:00 -
[3]
Edited by: Grez on 21/09/2006 21:16:37 Due to the state img.eve.is is in at the moment, it takes forever for it to find out that no one has an id of 0, and so it returns a "!" portrait. I decided to edit the way the portraits are grabbed, so that if the id is 0, then it won't look for at img.eve.is for a solution, and take forever if the server is under load.
In common/portrait.php, below the line "$portrait = "cache/portraits/".$id."_".$size.".jpg";", paste the following:
if ($id == "0") { $img = @imagecreatefromjpeg( $portrait ); imagejpeg( $img ); imagedestroy( $img ); exit; } else {
Remember to add a } at the bottom of the code (before it exits the PHP), and you should find loading a lot faster. -
Corp: www.ravenwarriors.com Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.22 16:27:00 -
[4]
Edited by: Grez on 22/09/2006 16:28:39 I've written a little kill deletion script of my own, I hated having to add the ID into the URL to delete the killmail so, I added a little to liquid's. I'm a PHP novice, so I'm sure this can be optimized, but it works.
[ edit ] Unfortunatly, if I post it, it screws up the entire forum :D, so grab the code here!
You can also add this to admin_menu.php to add "Delete kill" to the admin menu.
$menubox->addOption( "Delete kill", "?a=kill_delete" ); ---
Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.24 20:11:00 -
[5]
If anyone has the requirements for this killboard, I don't mind setting them up on a webserver for you (I setup RISE's killboard earlier). Just give me a shout ingame, and I'll do what I can to help. ---
Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.27 16:04:00 -
[6]
Originally by: TigCobra my images arent showing up any suggestions?
http://eve-battlestars.net
Get rid of .htaccess in the main folder, for some reason it borks up on some machines.
Also, anyone else know how to make the class.toplist.php file display ONLY the corps in the alliance in the top corps list? I've been looking at the SQL query in there, and it's beyond my level of PHP. Liquid, perhaps you might know? ---
Cache Clearer
Still waiting for a Wrangler-edit! |

Grez
Minmatar The Raven Warriors
|
Posted - 2006.09.30 20:48:00 -
[7]
Originally by: Ranko Edited by: Ranko on 30/09/2006 12:11:06
Originally by: Idaeus Someone wouldn't happen to have a clean sql dump, with no record of everything except the basics? My webserver keeps choking on the import. :/
How are you trying to do a server import? via a ssh screen? or via the phpmyadmin system?
If your doing it via SSH, it should work just fine just type in:
mysql -uUSERNAME -p NEWDBNAME < /PATH/TO/INSTALL.SQL
If you are using phpmyadmin, it has a limit if 2meg file import, so give this file a try, its just the normal install.sql file thats been 'bzipped' so it should work just fine.
http://www.sanjiyan.com/files/install.sql.bz
Say if it works or not.
It depends on your server host. Mine has a 51MB limit to SQL database imports. ---
Cache Clearer
Still waiting for a Wrangler-edit! |
| |
|