PDA

View Full Version : Gifts


Ambie
04-13-2006, 02:41 PM
Two question about the gifts. In the new readme for 1.5.5 it says:

17) New Give Gifts Setting: Can Use Radio Buttons to display the gifts to choose from instead of the Drop Down Box. Admin CP -> vbPlaza -> Manage Options -> Give Gifts -> At the bottom.

I can't find this option anywhere under Give Gifts.


Also, has anyone figured out how to add a link in the postbit to directly buy a gift for a member?


Thanks.I love this hack and you do such great work keeping it updated and giving support. :)

CMX_CMGSCCC
04-13-2006, 05:45 PM
You dont have these settings?

-CMX

Ambie
04-13-2006, 08:14 PM
Nope, I don't have the last line. Should I just go ahead and put it in myself?

I just did it, works fine now. :) Thank you.

WolfsongNevan
04-15-2006, 02:52 AM
Just an FYI ... I just downloaded the newest version and didn't have those settings either. When I typed them in manually, it worked fine though.

Ambie
04-15-2006, 01:28 PM
Nope, I don't have the last line. Should I just go ahead and put it in myself?

I just did it, works fine now. :) Thank you.


Actually, it didn't work fine. Suddenly the gifts were free and some of the gifts were showing up as red x's in the post bit.:confused: (I didn't notice till late last night)I took the line out for now.

jilly
04-16-2006, 04:03 PM
I dont have that option in mine either - I have line 1 and 2 - but not line 3 I am going to type it in manually and see what happens.

*note - i added the option, set it to yes, and my gifts are not displaying in a radio button format - still just the drop down menu. I am going to re-upload gifts.php again and see if it makes any difference

*note - reuploaded and it didnt help

CMX_CMGSCCC
04-18-2006, 05:32 PM
It was a bug, run the following query:


UPDATE (TABLE_PREFIX)vbp_option SET inputfields = '', optionsettings = 'a:3:{i:1;a:5:{s:4:\"type\";s:1:\"1\";s:7:\"varname\";s:24:\"vbplaza_userbuyselfgifts\";s:5:\"title\";s:31:\"User\'s Can Buy Themself a Gift?\";s:11:\"description\";s:77:\"Enable this setting so that user\'s can buy themself a gift. (Default is Yes.)\";s:5:\"value\";s:1:\"1\";}i:2;a:5:{s:4:\"type\";s:1:\"1\";s:7:\"varname\";s:23:\"vbplaza_givegiftssendpm\";s:5:\"title\";s:28:\"Give Gifts sends PM to user?\";s:11:\"description\";s:88:\"Enable this to send a PM to the user who was send a gift from an user. (Default is Yes.)\";s:5:\"value\";s:1:\"1\";}i:3;a:5:{s:4:\"type\";s:1:\"1\";s:7:\"varname\";s:27:\"vbplaza_usegiftradiobuttons\";s:5:\"title\";s:35:\"Use Radio Buttons to display Gifts?\";s:11:\"description\";s:126:\"Enable this setting so that users will see all of the gifts with radio buttons, instead of the Drop Down Box. (Default is No.)\";s:5:\"value\";s:1:\"0\";}}' WHERE itemid = '27'";


Replace (TABLE_PREFIX) with your table prefix, or remove it if u do not have one. Then goto Admin CP -> vbPlaza Maintenance -> Rebuild Datastore.

Then it should show up at the bottom of vbPlaza -> Manage Options -> Give Gifts -> Option Settings at the bottom.

It will be fixed in 1.5.6.

-CMX

Senn
08-28-2006, 05:04 PM
Error:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '"' at line 1

Fixed :)

Remove the last ";