like add image to guild?
Sounds scary, not sure how to make this method secure(You have to be very careful about letting users upload contents to server). But maybe make an option to select guild images from the image server.
like add image to guild?
Sounds scary, not sure how to make this method secure(You have to be very careful about letting users upload contents to server). But maybe make an option to select guild images from the image server.
Dont upload anything to the server, just make people use imgland.net or simulair and then redirect the link they get? ;o
Do you have to add any script in the server to get the Shop system to work ?
Yes, there is a talkaction script to receive donation items.
See the LUA folder on Znote AAC.
wow the image system
any player can upload image then the god must aprrove the image then show in web site?
Correct. I though about the "classic gallery system", and though that it was pretty crap, almost nobody actually used it, and almost never new images.
So then I thought "why not make it a community project?", so everybody on an OT server can participate making awesome gallery.
And yeah, player post their pics on website, GM logs in and approve image (so GM can verify its not advertisement or insult or bot images etc), and then the image will be displayed to public (everybody who visits gallery page), with title, image and a describtion.
I might also make similar system but with youtube videos as well.
// check that the request comes from PayGol server
if(!in_array($_SERVER['REMOTE_ADDR'],
array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) {
header("HTTP/1.0 403 Forbidden");
die("Error: Unknown IP");
}
Maybe later if I decide to create a forum system.i cant edit sorry but maybe can add in the next update something like comments in news by the players
Don't touch that file(That file only communicates with paygol), only edit values in config.phphow i edit paygol? in this part?
Code:// check that the request comes from PayGol server if(!in_array($_SERVER['REMOTE_ADDR'], array('109.70.3.48', '109.70.3.146', '109.70.3.58'))) { header("HTTP/1.0 403 Forbidden"); die("Error: Unknown IP"); }
i change this 109.70.3.48 for my ip? or just need add the files in folder lua?
//////////////////
/// PAYGOL SMS ///
//////////////////
// !!! Paygol takes 60%~ of the money, and send aprox 40% to your paypal.
// You can configure paygol to send each month, then they will send money to you 1 month after recieving 50+ eur.
$config['paygol'] = array(
'enabled' => true,
'serviceID' => 40339,// Service ID from paygol.com
'currency' => 'EUR',
'price' => 5,
'points' => 25, // Remember to write same details in paygol.com!
'name' => '25 points',
'returnURL' => "http://".$_SERVER['HTTP_HOST']."/success.php",
'cancelURL' => "http://".$_SERVER['HTTP_HOST']."/failed.php",
'ipnURL' => "http://".$_SERVER['HTTP_HOST']."/paygol_ipn.php",
);
[Error - TalkAction Interface]
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:onSay
[16/11/2012 4:56:16] Description:
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: attempt to compare boolean with number
[16/11/2012 4:56:16] stack traceback:
[16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: in function <data/talkactions/scripts/znoteshop.lua:2>
i have this error when i say !shop
Code:[Error - TalkAction Interface] [16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:onSay [16/11/2012 4:56:16] Description: [16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: attempt to compare boolean with number [16/11/2012 4:56:16] stack traceback: [16/11/2012 4:56:16] data/talkactions/scripts/znoteshop.lua:27: in function <data/talkactions/scripts/znoteshop.lua:2>
getItemWeight(q_itemid, q_count)
getItemWeightById(q_itemid, q_count)
wow excelent work Znote i love this AAC, when the next realese will be available?