$config['shop'] = array(
'enabled' => false,
'loginToView' => false, // Do user need to login to see the shop offers?
'enableShopConfirmation' => true, // Verify that user wants to buy with popup
'useDB' => false, // Fetch offers from database, or the below config array
'showImage' => true,
'imageServer' => 'items.znote.eu',
'imageType' => 'gif',
);
true
. You can enable shop in config.php here:
ZnoteAAC/config.php at 0c64adb55e31c9617ec9f048620bedb343dfd7cf · Znote/ZnoteAAC
Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server. - Znote/ZnoteAACgithub.comBy setting enabled toPHP:$config['shop'] = array( 'enabled' => false, 'loginToView' => false, // Do user need to login to see the shop offers? 'enableShopConfirmation' => true, // Verify that user wants to buy with popup 'useDB' => false, // Fetch offers from database, or the below config array 'showImage' => true, 'imageServer' => 'items.znote.eu', 'imageType' => 'gif', );
true
.
For "Buy points" you need to enable some sort of purchase gateway like PayPal, pagseguro or PayGol:
ZnoteAAC/config.php at 0c64adb55e31c9617ec9f048620bedb343dfd7cf · Znote/ZnoteAAC
Developement repository for the Znote AAC project. A website portal to represent and manage your Open Tibia server. - Znote/ZnoteAACgithub.com
[Error - mysql_real_query] Query: INSERT INTO player_items (player_id, pid, sid, itemtype, count, attributes) VALUES (3,1,101,2457,1,''),(3,2,102,2173,1,'\0'),(3,3,103,1988,1,''),(3,4,104,2463,1,''),(3,5,105,2525,1,''),(3,6,106,7410,1,''),(3,7,107,2647,1,''),(3,8,108,11117,
Message: Out of range value for column 'itemtype' at row 9
[Error - mysql_real_query] Query: INSERT INTO player_items (player_id, pid, sid, itemtype, count, attributes) VALUES (3,1,101,2457,1,''),(3,2,102,2173,1,'\0'),(3,3,103,1988,1,''),(3,4,104,2463,1,''),(3,5,105,2525,1,''),(3,6,106,7410,1,''),(3,7,107,2647,1,''),(3,8,108,11117,
Message: Out of range value for column 'itemtype' at row 9
[Error - mysql_real_query] Query: INSERT INTO player_items (player_id, pid, sid, itemtype, count, attributes) VALUES (3,1,101,2457,1,''),(3,2,102,2173,1,'\0'),(3,3,103,1988,1,''),(3,4,104,2463,1,''),(3,5,105,2525,1,''),(3,6,106,7410,1,''),(3,7,107,2647,1,''),(3,8,108,11117,
Message: Out of range value for column 'itemtype' at row 9
Error while saving player: Lucifer
Yes but when i enable paypal system it says php cURL is not enabled. It is required to for paypal or captcha services. 1. Find your php.ini file. 2. Uncomment extension=php_curl Restart web server. If you don't want this then disable paypal & use_captcha in config.php.
but i dont have the php.ini i have searched everywere.
@Znote Hello. I have the same problem, follow my information.
1. ubuntu 16.04
2. Othire
3. apache2
4. php7.0
I appreciate the attention.
Lua:Yes but when i enable paypal system it says php cURL is not enabled. It is required to for paypal or captcha services. 1. Find your php.ini file. 2. Uncomment extension=php_curl Restart web server. If you don't want this then disable paypal & use_captcha in config.php. but i dont have the php.ini i have searched everywere.
sudo apt install php7.0-curl
Thanks, I was able to install a phpcurl 7.40, but the recapctha doesn't appear on my account creation screen, but if you try to create it, the message "prove you're not a robot"Have you triedsudo apt install php7.0-curl
You can also look for php.ini in these directories on Ubuntu:
/etc/php/7.0/cli/php.ini
/etc/php/7.0/fpm/php.ini
?