vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - kBank 2.1 - Money System (https://vborg.vbsupport.ru/showthread.php?t=185318)

fly 08-12-2008 12:17 PM

What is the difference between an item and an item type?

edit: Any why do item types stay after I've deleted them?

mrpaint 08-12-2008 12:47 PM

Quote:

Originally Posted by flypaper (Post 1596935)
What is the difference between an item and an item type?

edit: Any why do item types stay after I've deleted them?

Member can only use item (not itemtype). Because real-delete an itemtype is dangerous (if there is any item based on that itemtype is working) so delete just remove itemtype from the active list. Actually, it shouldn't be shown, this bug has been acknowledged and will be fixed in the next version (hiding deleted itemtype)

fly 08-12-2008 01:31 PM

Quote:

Originally Posted by mrpaint (Post 1596961)
Member can only use item (not itemtype). Because real-delete an itemtype is dangerous (if there is any item based on that itemtype is working) so delete just remove itemtype from the active list. Actually, it shouldn't be shown, this bug has been acknowledged and will be fixed in the next version (hiding deleted itemtype)

Then I guess I don't understand why item types are there. Why not just items?

mrpaint 08-12-2008 02:38 PM

Quote:

Originally Posted by flypaper (Post 1596982)
Then I guess I don't understand why item types are there. Why not just items?

With itemtype we can improve performance because when many items are active, if each item contain all working information so that is a lot of data and need more memory. With itemtype, all we need to do is refer to itemtypeid :D

fly 08-12-2008 02:48 PM

Quote:

Originally Posted by mrpaint (Post 1597037)
With itemtype we can improve performance because when many items are active, if each item contain all working information so that is a lot of data and need more memory. With itemtype, all we need to do is refer to itemtypeid :D

Sorry for the barrage of questions here...

Then can you explain how itemtype has a price and items also have a price. How is the price of the end item actually calculated?

mrpaint 08-12-2008 03:19 PM

Quote:

Originally Posted by flypaper (Post 1597048)
Sorry for the barrage of questions here...

Then can you explain how itemtype has a price and items also have a price. How is the price of the end item actually calculated?

Itemtype has a basic price and duration price. Those prices only work in 2 cases: member try to produce items and calculate the real price for items (and set a max selling price for item, member can sell item more that this value).

Item price is set by member who produce/sell item for other member to buy it

Is that clear? Sorry for my bad English :P

fly 08-12-2008 11:20 PM

somehow i WILL figure out what all this means.

Can you give me a exact example (your help file has about 1000 examples). Say I wanted to allow users to buy the option of changing their name color to red. What would I need to do, start to finish?

Thanks for being so patient with me...

mrpaint 08-13-2008 01:09 AM

Quote:

Originally Posted by flypaper (Post 1597360)
somehow i WILL figure out what all this means.

Can you give me a exact example (your help file has about 1000 examples). Say I wanted to allow users to buy the option of changing their name color to red. What would I need to do, start to finish?

Thanks for being so patient with me...

Firstly, go to Item Types Management and add new itemtype (Filename: customize_userinfo.kbank.php), in Settings page, just enter into "Username Colors list" with value: "red" (your allowed username color)

Then go to Items Management and add new item based from the new created itemtype above

Member who has this item can change his/her username to red

Gud luck to you :D

sdfaheem 08-13-2008 04:37 AM

Is this something on the lines of namepros points system?

Any demo please???

mrpaint 08-13-2008 09:50 AM

Quote:

Originally Posted by sdfaheem (Post 1597497)
Is this something on the lines of namepros points system?

Any demo please???

I don't understand, what do you mean?
No english demo is available, you can view screenshot (2nd post) or read help (with lot of screenshots and feature instruction): http://hskl.net/f/kbank.php?do=help


All times are GMT. The time now is 11:02 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.01253 seconds
  • Memory Usage 1,744KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete