Version: , by Ambie
Developer Last Online: Sep 2010
Version: Unknown
Rating:
Released: 04-13-2006
Last Update: Never
Installs: 0
No support by the author.
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.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
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. (I didn't notice till late last night)I took the line out for now.
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
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.
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