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.


Messages - bigrossco

Pages: [1]
1
Coding / help
« on: April 23, 2007, 04:48:18 am »
I am wanting help to do the following:

I have some PHP and mysql know-how and want to change this code:

        $result = db_query("UPDATE {$db_prefix}members
                            SET shop_Flag = '{$_POST['flag']}'
                            WHERE ID_MEMBER = {$ID_MEMBER}",
                            __FILE__, __LINE__);

to be able to INSERT INTO a table i have made, i know that it would usaly be done as follows:

Code: [Select]
$result = db_query("INSERT INTO {$db_prefix}gifts {(member, gifts) VALUES ($_POST['user'], $_POST['gift'])");
but when i go to the page is shows error:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/chatsuk/public_html/forum/Sources/shop/items/Flag.php on line 79

2
Items / Re: 'Profile Image' item
« on: April 23, 2007, 04:11:33 am »
yes ive seen these posts but nothing has seem to be done about it, your suggestion re sending the image the only prob is that is when you would send it they would be able to select in this instant any FLAG they wish where i want to send them a flag i pick, surly from what i know a box could be added before or after the flag sallection, where you enter their username, and you would then select the flag then click on submit or what ever its called which would then inturn update the database and added it to that user?

3
Items / Re: 'Profile Image' item
« on: April 22, 2007, 10:56:00 pm »
how can i modify this item to send the image to someone else? i.e. I would select the flag and then put in username and it would then show it on that users profile, it should also show more then one flag on their profile!

I am going ot change it from flags to other images and just wondering how to do this :)

Thanks

4
i would love a lottery as well :) aspecaly cause it would involve more than 1 person :) and i know vbplaza has it as used it on an old forum before i left to setup my own one but didnt go down the path of having to pay to get vbuiliten and also saw their shop mod is not available lol

5
Items / Re: Item request: Lotery
« on: March 23, 2007, 11:53:13 pm »
i love this idea 2 :)

6
Items / Re: REQUEST : Gifts
« on: March 23, 2007, 08:25:57 pm »
yeh i know it would be lol thats y i suggested it :P

my users are always on at me to find out when we can get it

7
Items / Re: REQUEST : Gifts
« on: March 23, 2007, 07:27:56 pm »
thats no problem :)  its just quite a good mod that all

this is a sample of what its like on posts so you can see better by what i mean

http://www.chatsusa.com/f13/what-chatsusa-means-me-17757/index2.html


(not my site, a site i used to be a member of before i left to setup my own )

8
Items / Re: REQUEST : Gifts
« on: March 23, 2007, 07:09:08 pm »
its just something other forum shop systems offer, you would go to the shop, buy a gift from their you would get a list of gifts i.e. Wine, Rose, gift box, heart, that kind of stuff, you would then enter the username of who to send it to then on the forum it would show the image of that gift under their details.

It just something i know people love to have and use, and know it to be popular on other systems (have seen this on other sites)

R

9
Items / REQUEST : Gifts
« on: March 22, 2007, 10:29:31 pm »
Hay!

Must say i love this mod!

but one thing missing, one thing ALL my users want SMFShop to have:

Ability to give gifts to other users

here is how it would work,

you would buy the gift from the store, and then in the users details next to his/her posts below their info/profile aviator it would show small images of their gifts

This mod is availble for other shop's i.e. you can get this for the shop used on VBuiliten

Thanks :)

Pages: [1]