vb.org Archive

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

bogie 07-10-2006 03:05 PM

Adding Options
 
Okay, I need to add some options to the vbplaza for my game. They are simple functions that don't do anything fancy. Basically they purchase the item and its a record for the admins to verify, nothing more.

I'm having some trouble creating options for these. I get this error when trying to make a purchase:

The vbPlaza option you are trying to purchase has an invalid Set Name.

Is there a guide for creating options?

For example, I offer members the ability to open an office (forum) on the board. I want an option that they can purchase and will charge them x amount of points and record it in the item history (and their history). Nothing fancy, just a paper trail for the admins to verify the purchase.

fff 07-10-2006 10:54 PM

I'd be curious to know what the fix is for that too. I can't get the sports icons to show up in the category, so I tried to do it manually. It works in the vb plaza main menu, but when I click on it, I get that exact same message.

CMX_CMGSCCC 07-13-2006 08:54 PM

The Set Name is the field it has to modify inside of the MySQL table that u r going to modify.

Like the Change User Title option would have 'usertitle' in there as its the fieldname inside of the 'user' table.

-CMX

bogie 07-14-2006 03:34 AM

What if I don't want to modify anything though? I just want the money to be deducted from their account and the purchase added to their item history (a reciept of the purchase). How can I accomplish this?

bogie 07-16-2006 05:57 AM

Bump.


All times are GMT. The time now is 01:57 PM.

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.01121 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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