Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Sakuragi

Pages: [1]
1
Coding / Need help with making an Item
« on: January 08, 2007, 06:40:50 am »
Hi,
I need help making a item.

with this item members can purchase an award to display it on this profile
members awards mod

function onUse:

Code: [Select]
         function onUse() {


        global $db_prefix, $ID_MEMBER, $item_info;

       $result = db_query("
INSERT INTO `{$db_prefix}awards_members` VALUES (20003, 2, {$ID_MEMBER}, 2007-01-07, 0);
");
        return "Success!";
    }

when I use this item I see this error

Hacking attempt... 


here is the table structure:
Code: [Select]
ID_AWARD_MEMBER int(8) unsigned NOT NULL DEFAULT '0',
ID_AWARD BIGINT(10) UNSIGNED NOT NULL DEFAULT '0',
ID_MEMBER INT(8) UNSIGNED NOT NULL DEFAULT '0',
dateReceived DATE NOT NULL DEFAULT '0001-01-01',
favorite TINYINT(4) UNSIGNED NOT NULL DEFAULT '0',
UNIQUE KEY ID_AWARD_MEMBER (ID_AWARD_MEMBER),
KEY ID_AWARD (ID_AWARD)

Thanks for your help!

2
General SMFShop Discussion / filedownload.php
« on: April 15, 2006, 04:13:33 am »
I have a problem with filedownload's item , when I try to download a file which makes more than 10Mo I obtain an empties file!!
this is what I see when I open this file
<br />
<b>Fatal error</b>:  Allowed memory size of 8388608 bytes exhausted (tried to allocate 27852800 bytes) in <b>/home/Saku/domains/Saku.com/public_html/smf/Sources/shop/items/filedownload.php</b> on line <b>43</b><br />

3
General SMFShop Discussion / Suggestion
« on: March 22, 2006, 04:00:24 am »
Each post must be grater than X characters to get credit
is there anyway to make this possible??

or maybe you could integrate SMFShop mod  with the Affiliate mod...Could you do that?It would be cool if you could!

4
General SMFShop Discussion / bug on trade center
« on: January 03, 2006, 06:19:45 am »
hello daniel
when a member buys item from another member, it's the admin who receive the money!

Pages: [1]