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)

parseforum 07-31-2008 06:55 AM

Quote:

Please uninstall and re-install to re-create kbank tables
I can not go to the forum https://vborg.vbsupport.ru/external/2008/07/3.gif

mrpaint 07-31-2008 07:19 AM

Quote:

Originally Posted by parseforum (Post 1588090)
I can not go to the forum http://qsmile.com/qsimages/54.gif

Please run these queries manually:

Quote:

CREATE TABLE `" . TABLE_PREFIX . "kbank_donations` (
`id` int(11) NOT NULL auto_increment,
`from` int(11) NOT NULL default 0,
`to` int(11) NOT NULL default 0,
`amount` int(11) NOT NULL default 0,
`tax` int(11) NOT NULL default 0,
`time` int(11) NOT NULL,
`comment` TEXT NOT NULL,
`postid` int(11) NOT NULL default 0,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "kbank_ban (
`id` int(11) NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL,
`time` int(11) NOT NULL,
`days` int (11) NOT NULL,
`reason` text NOT NULL,
`adminid` int (10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "kbank_banklogs (
`id` int(11) NOT NULL auto_increment,
`itemname` varchar(255) NOT NULL,
`itemtype` varchar(100) NOT NULL,
`amount` int(11) NOT NULL,
`time` int(11) NOT NULL,
`userid` int (10) unsigned NOT NULL,
`status` int(11) NOT NULL default 0,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

INSERT INTO `" . TABLE_PREFIX . "kbank_banklogs`
(id,itemname,itemtype,amount,time,userid)
VALUES
(1,'post','money',0," . TIMENOW . ",0),
(2,'register','money',0," . TIMENOW . ",0),
(3,'referer','money',0," . TIMENOW . ",0),
(4,'admindonate','money',0," . TIMENOW . ",0),
(5,'items','money',0," . TIMENOW . ",0),
(6,'other','money',0," . TIMENOW . ",0)
(7,'tax','money',0," . TIMENOW . ",0);

CREATE TABLE IF NOT EXISTS `" . TABLE_PREFIX . "kbank_items` (
`itemid` int(11) NOT NULL auto_increment,
`type` varchar(100) default NULL,
`name` varchar(200) default NULL,
`description` varchar(200) default NULL,
`price` int(11) default 0,
`userid` int(10) default 0,
`creator` int(10) default 0,
`create_time` int(11) default 0,
`expire_time` int(11) default 0,
`options` text,
`status` int(11) NOT NULL default '0',
PRIMARY KEY (`itemid`)
) TYPE=MyISAM;

CREATE TABLE IF NOT EXISTS `" . TABLE_PREFIX . "kbank_itemtypes` (
`itemtypeid` int(11) NOT NULL auto_increment,
`name` varchar(100) default NULL,
`filename` varchar(100) default NULL,
`userid` text,
`description` text,
`price` int(11) default 0,
`options` text,
PRIMARY KEY (`itemtypeid`)
) TYPE=MyISAM;

CREATE TABLE IF NOT EXISTS " . TABLE_PREFIX . "kbank_logs (
`id` int(11) NOT NULL auto_increment,
`type` int(4) default '1',
`userid` int(11) default NULL,
`timeline` int(11) default NULL,
`text1` text,
`int1` int(11) default NULL,
`detail` text,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

Gud luck

PGAmerica 07-31-2008 03:27 PM

Quote:

Originally Posted by mrpaint (Post 1587994)
With Item System, member can gift to other member (with short message and anonymous option)

OK, what about converting points from vbcredits to kbank?

mrpaint 07-31-2008 03:45 PM

Quote:

Originally Posted by PGAmerica (Post 1588436)
OK, what about converting points from vbcredits to kbank?

You can change table field of kBank into "credits" to use dirrectly points from vbcredits. If you want to uninstall vbcredits, you must run a query manually (after installing kbank)

Quote:

UPDATE `[TABLE_PREFIX]user`
SET money = credits
Replace [TABLE_PREFIX] with your table prefix!

So now, you can uninstall vbcredits (but you should disable instead of uninstall vbcredits, after a few days if everything is okie then you can uninstall it safely). I will create an automatic convert tool in the next version of kBank

Skyrider 07-31-2008 04:01 PM

I seem to have a lot of problems importing this plugin. It is using massive cpu usage on our forums and it is being stuck at:

Quote:

Installing....
Rename donation, ban & bank log table (need to run because productid changed)
Any advice?

mrpaint 07-31-2008 04:33 PM

Quote:

Originally Posted by FF|Skyrider (Post 1588460)
I seem to have a lot of problems importing this plugin. It is using massive cpu usage on our forums and it is being stuck at:



Any advice?

Live support via Y!M now :D

Skyrider 07-31-2008 07:01 PM

Thanks for helping out mrpaint, you've been really helpful! I do have some features that I think that should be added though:

1), Able to hide thanks/awards within the small profiles in posts.
2), Able to hide the credits you have and of others also in the small profiles of posts.
3), Create a new item so you can buy a forum style for you to choose! (new forum theme)
4), When you select that you can buy 5 of an item, I saw a whole list of names of that item. Possible it can be 1 item, but can be sold 5x? For example:

Quote:

Test Item! 1: Costs - Credits: 50.0000
Test Item! 2: Costs - Credits: 50.0000
Test Item! 3: Costs - Credits: 50.0000
Test Item! 4: Costs - Credits: 50.0000
Test Item! 5: Costs - Credits: 50.0000
Test power! 1: Costs - Credits: 240.000
Test power! 2: Costs - Credits: 240.000
Test power! 3: Costs - Credits: 240.000
I think it should be:
Quote:

Test Item! 5: Costs - Credits: 50.0000 (Quantity: 5x)
Test power! 3: Costs - Credits: 240.000 (Quantity: 3x)
This way, it won't spam up the whole shop list :).

5), When you change your nickname, you should see an example how it will look AND once changed, you should not be able to change again! I noticed I could keep changing my nickname all the time, which should not happen! :).

6), Able to select ID's of forum sections which are not supposed to gain credits when posting replies or new threads. Off-topic for example.

7), You should be able to select ID's where you can gain bonus credits, or create new usergroups or forums where you can add / edit your own what should be bonused. Example:

Usergroup: Administrator - gets 4 credits per thread and 8 credits per reply.
Usergroup: Super Moderator - Gets 19 credits per thread and 30 credits per reply.

Do remember that the "Credits" I added is the money value with this plugin.

Fraxter 07-31-2008 11:09 PM

How is the direct link to the kbank shop? CanĀ“t find it.

regards and thanks for this great Addon!

Pander23

Skyrider 08-01-2008 12:11 AM

<a href="http://feelxthexlife.com/products/kbank/Download" target="_blank">http://feelxthexlife.com/products/kbank/Download</a>

Fraxter 08-01-2008 12:16 AM

I don?t mean the download link (i don?t said that!) i mean the link to the shop in vbulletin.

Like www.example.com/kshop.php (false link) i need the correct link to integrate a link in my navbar.


All times are GMT. The time now is 10:35 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.01495 seconds
  • Memory Usage 1,756KB
  • 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
  • (10)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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