@up
I got no idea from where you get that code, but you got PHP and HTML code in one document without any <?PHP and ?> , it cannot work.
system/load.compat.phpWhere is the config-and-function.php file?
system/load.compat.php
in that file are fuctions from old acc. Maker to make old acc. Maker 'pages' work.
something like:Which path format do I have to use for Linux? I am using '/root/dir/dir/' and it's not working.
It gives me lua file doesn't exists.
1. Old guild images were in folder, now images are in database and only way to add them is to go guild 'management' panel (as owner of guild) and use upload script. Put guild images in some folder (with 'listing') and post in news that players must get their logo and upload again on guilds page.Still got some problems
* Old guild images are blank(homepage can't find them, and ive tried finding where the new images are to mainly just copy and paste, but can't find it)
* Elfs script with top guild etc. is not working, you asked where I got the scirpt: http://otland.net/f118/0-3-6-0-4-top-fragers-top-guilds-one-database-query-68893/
* My guild wars (by elf) is not working either, since its not showing the images(same problem as above?) http://paste.ots.me/8036/text
Regards WibbenZ
Try:Well my server is in root/dir/dir but it still says me that there is no config file.
See:
How to check if php got rights to read that folder? I am using lighttpd.
About PayPalHi, I got some problems with your paypal scripts. Ive removed the old IPN settings in paypal, Made it work with the config, I get the money, but the player does not get the points, what am I doing wrong?, or is the paypal script not automatic?
/Abbe
$paypal_report_url = 'http://anderion.net/paypal_report.php';
If it shows images for some guilds and only old does not work you can try to replace:3. It kinda workes, still dosent show images, is it posible to if it dosent find the image(the players havent uploaded new images) to get that blank defult image?
WibbenZ
<?php
if(!defined('INITIALIZED'))
exit;
$guild_id = (int) $_REQUEST['id'];
$guild = new Guild($guild_id);
$guildLogo = $guild->getGuildLogo();
$guildLogoInfo = explode(';', $guildLogo, 3);
$image = array();
$image['content_mtime'] = $guildLogoInfo[0];
if(isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) && strtotime(preg_replace('/;.*$/','',$_SERVER["HTTP_IF_MODIFIED_SINCE"])) == $image['content_mtime'])
{
header('HTTP/1.0 304 Not Modified');
/* PHP/webserver by default can return 'no-cache', so we must modify it */
header('Cache-Control: public');
header('Pragma: cache');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $image['content_mtime']) . ' GMT');
}
elseif($guild->isLoaded() && strlen($guildLogo) > 0)
{
$image['content_type'] = substr($guildLogoInfo[1], 5);
$image['content'] = base64_decode(substr($guildLogoInfo[2], 7));
header('Content-Type: ' . $image['content_type']);
header('Cache-Control: public');
header('Pragma: cache');
header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $image['content_mtime']) . ' GMT');
echo $image['content'];
}
else
{
header('Content-Type: image/gif');
readfile('images/default_guild_logo.gif');
}
16 Feb 2013, 13:06 + Asdasd killed at level 134 by Mijos.
16 Feb 2013, 13:06 + Mijos killed at level 173 by Asdasd.
Still need help :sI did try that, Still isent working I get the money but the account dosent get the points, im using windows, is there any chmod command but for cmd on windows?, I tried changing owner on the map custom scripts. Could you take a look at it over team viewer or something?, I tried following your "config" and the config.php is correctly done. Please.
Abbe
It says wrong IP, because only notify.paypal.com has valid IPs. After payment paypal server opens that page all tells acc. maker to add points. Of course players can't open that pagebump
--http://chimera.sytes.net/paypal_report.php--
it says wrong ip.. where do i set the ip or what ip is it talking about? im confused.
Regards,
Kakha