vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vbBux / vbPlaza (https://vborg.vbsupport.ru/forumdisplay.php?f=171)
-   -   Gifts (https://vborg.vbsupport.ru/showthread.php?t=112906)

Ambie 04-13-2006 01:41 PM

Gifts
 
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 04:45 PM

1 Attachment(s)
You dont have these settings?

-CMX

Ambie 04-13-2006 07: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 01: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 12:28 PM

Quote:

Originally Posted by Ambie
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 03: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 04:32 PM

It was a bug, run the following query:

Code:

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 04:04 PM

Error:
Quote:

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
Quote:

";


All times are GMT. The time now is 07:38 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01783 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete