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)

mrpaint 07-13-2008 10:00 PM

kBank 2.1 - Money System
 
kBank v2.1 for vBulletin 3.6.x (tested with vBulletin 3.6.8 Patch Level 2) and vBulletin 3.7.x (tested with vBulletin 3.7.0)

[WHAT IS IT?]
kBank is a money system for your vBulletin Board with a lot of feature (listed below). With kBank, your members will try to post as much as possible (even spam) to earn points to get cool items or to be the richest man in the world :D You will love it!

[MAIN FEATURE]
1. Admin function:
1.1 Edit Settings (a lot of settings)
1.2 Donate members: by usergroup or username
1.3 Detail statistic updated daily, full action log (admin log & member log)
1.4 Tool to manage everything (itemtypes, item, transactions log)
1.5 Salary Center (AdminCP > kBank > kBank Salary Center): Provide tool to calculate mod activities
2. Member function:
2.1 Donate money
2.2 View history of transactions
2.3 Buy/Sell/Produce/Use/Gift items
2.4 Monthly Tax
2.5 Intergrated Who Visited In 24h (with Paul M's permission)
2.6 There are many top list based on different factors: Top Posts (all time), Top Posts In 1 Day, Top Posts Each Day, Top Richest, Top Richest (with Items), Top Thanked (times), Top Thanked (amount), Top Sent Thank (times),Top Sent Thank (amount), Top Thanked Post (times), Top Thanked Post (amount), Top Awarded (times), Top Awarded (amount), Top Amount of Tax. List for kBank Admin Only: Top Thanked by Area, Top Awarded by Area, Top Give Award (times), Top Give Award (amount)
2.7 Grant Permission (allow trusted-person to access your points)
3. Other:
3.1 Included 5 itemtypes: Announcement, Custom User Info, Profile Images (big avatar/signature picture), None (item with your information), Pack (many-in-1 item)
3.2 Included kBank Award/Thank system. Allow forum staff to award high quality post or take points from spam. Member can easily donate others via good post
3.3 Included kBank Hide with 1 hidden-type: Require thank
3.4 Included Help files (need to install FULL version)
[CHANGE LOG]
Version 2.1 (Release Date: 18-08-2008)
1. Item: Add Never Expires option, group similar items in kShop
2. Itemtype: Add edit time limitation (member can edit username/usertitle once or twice,etc... Confirmation required) for Customized Userinfo itemtype. Add new itemtype with "open" information
3. Admin Tool: Admin can select exactly which element is shown in post and profile. Add 1-time register points. Add option to count thanks as posts (still work well when update posts count). Add Salary Center
4. Add product uninstall codes
5. Create addon to work with vbookie
Version 2.0.1 (Release Date: 27-07-2008)
1. Fix mysql queries (cause database error)
2. Fix thank issue (delay update of thank times/amount)
3. Improve kBank Hide (working with extremely long hide content)

Cause of file size limitation, you can download FULL version (with help) here: http://www.mediafire.com/?sharekey=2...77ec469acb75af

[KNOWN ISSUES]
  1. After installing if you can not see kBank Salary Center under kBank menu, please download file "cpnav_kbank.xml" (attached) and upload overwrite into ./includes/xml
  2. Please download customize_userinfo.kbank.php (attached below) and upload overwrite into ./kbank/itemtypes to fix HTML username/usertitle issue
  3. Fatal error when Update award/thank: https://vborg.vbsupport.ru/showpost.php?p=1637542

mrpaint 07-14-2008 06:20 PM

Before and After enable Items (online 24h list)

Attachment 84062

Sponsored Links

Attachment 84063

View All History

Attachment 84064

My Items

Attachment 84065

Shop

Attachment 84066

Available Top List

Attachment 84067

Award/Thank form

Attachment 84068

Post with a lot of thanks

Attachment 84069

Post with award

Attachment 84070

For detail document and screenshot, please visit this page (English - no registration required): http://hskl.net/f/kbank.php?do=help

Hornstar 07-14-2008 07:32 PM

Thanks, i'll see how well this goes with one of my modifications then I might recommend this money system to my users. Thanks for sharing.

esperone 07-14-2008 08:27 PM

nice mod. well done.

*installed

esperone 07-14-2008 08:48 PM

im getting this error when trying to add new items into the shop:

Warning: Invalid argument supplied for foreach() in [path]/admincp/kbankadmin.php on line 859

germinus 07-14-2008 09:07 PM

lol where are the items that folks can buy??!

Q-v-n-s-Q 07-14-2008 10:55 PM

this is complex, but thanks for share tho

SwollenCranium 07-14-2008 11:50 PM

Looks way too 'crowded' and a bit haphazard for my tastes.

Good job none the less.

lostguy 07-14-2008 11:53 PM

Okay u need update it because lot of us using vb3.7.2 patch 1

####################
Template: navbar (or header, depending on your style's templates)
####################
Find:
----------------------------------------
<if condition="false"><td class="vbmenu2_control"><a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td></if>
----------------------------------------
Add BELOW:
----------------------------------------
$template_hook[navbar_buttons_lef"]
----------------------------------------

Dont exist in your Navbar !

###################
Template: MEMBERINFO
####################
Find:
----------------------------------------
<if condition="$vboptions['usereferrer']">
----------------------------------------
Add BELOW:
----------------------------------------
$template_hook[profile_stats_pregeneral]
----------------------------------------

Dont exist in your MEMBERINFO

This new script out not long ago why it didnt test on latest ? This is depressing my day btw .

juan71287 07-15-2008 01:20 AM

Quote:

Originally Posted by esperone (Post 1575365)
im getting this error when trying to add new items into the shop:

Warning: Invalid argument supplied for foreach() in [path]/admincp/kbankadmin.php on line 859

im getting that too

mrpaint 07-15-2008 02:53 AM

Quote:

Originally Posted by esperone (Post 1575365)
im getting this error when trying to add new items into the shop:

Warning: Invalid argument supplied for foreach() in [path]/admincp/kbankadmin.php on line 859

You should add itemtypes before you can add new items. Click Item Types Management and you will be redirected to Add New Item Types page. Read this for more information: http://hskl.net/f/kbank.php?do=help&page=add_itemtype

Quote:

Originally Posted by lostguy (Post 1575515)
Okay u need update it because lot of us using vb3.7.2 patch 1

####################
Template: navbar (or header, depending on your style's templates)
####################
Find:
----------------------------------------
<if condition="false"><td class="vbmenu2_control"><a href="$vboptions[bburl]/calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td></if>
----------------------------------------
Add BELOW:
----------------------------------------
$template_hook[navbar_buttons_lef"]
----------------------------------------

Dont exist in your Navbar !


###################
Template: MEMBERINFO
####################
Find:
----------------------------------------
<if condition="$vboptions['usereferrer']">
----------------------------------------
Add BELOW:
----------------------------------------
$template_hook[profile_stats_pregeneral]
----------------------------------------

Dont exist in your MEMBERINFO

This new script out not long ago why it didnt test on latest ? This is depressing my day btw .

As far as I know, no template edit is require for vBulletin 3.7 but I will get 3.7.2 PL1 and check this out

Thank you

Edit: Checked, no template edit needed for vBB 3.7.x (include 3.7.2 PL1)

juan71287 07-15-2008 04:51 AM

Quote:

Originally Posted by mrpaint (Post 1575592)
You should add itemtypes before you can add new items. Click Item Types Management and you will be redirected to Add New Item Types page. Read this for more information: http://hskl.net/f/kbank.php?do=help&page=add_itemtype


As far as I know, no template edit is require for vBulletin 3.7 but I will get 3.7.2 PL1 and check this out

Thank you

Edit: Checked, no template edit needed for vBB 3.7.x (include 3.7.2 PL1)

Thanks, that worked:)

lostguy 07-15-2008 06:38 AM

When i click " Account Management " i got DATABASE error .

Yes i did upload the kbank.php into forum root

mrpaint 07-15-2008 06:43 AM

Quote:

Originally Posted by lostguy (Post 1575686)
When i click " Account Management " i got DATABASE error .

Yes i did upload the kbank.php into forum root

Why don't you quote your database error here or send it to me by PM?
Thank you :D

lostgirl815 07-15-2008 06:45 AM

Posting so I can find this again later.

verino 07-15-2008 06:49 AM

hi mrpaint :D

i sent you email just now, regarding your mod.

Pls check it if you got the time :D

mrpaint 07-15-2008 06:53 AM

Quote:

Originally Posted by verino (Post 1575691)
hi mrpaint :D

i sent you email just now, regarding your mod.

Pls check it if you got the time :D

I have just replied your email :D Hope it helps

verino 07-15-2008 06:59 AM

Quote:

Originally Posted by mrpaint (Post 1575692)
I have just replied your email :D Hope it helps

1. You can change KL$ to whatever you want (for example VERINO$) and it will display in everywhere instead of default value
2. I will try to provide more detail help. About your question, kBank has a donation limit for each transaction and a 24h limit of each user. Is that what you want?

the first time i installed, i see in the memberinfo : KL<username>$

Is that showing for how much their donation ? and your readme.txt :

3. Create groups, config permission for Member Group, Bank Rupted Group (limited permission), Company Group, Bank Group

I have to create new usergroups ?

Is there a feature that telling you (as admin) how many times user has donated, the amount, the time they donate and when it will be expired ?

Thank's :)

mrpaint 07-15-2008 07:05 AM

Quote:

Originally Posted by verino (Post 1575695)
the first time i installed, i see in the memberinfo : KL<username>$

Is that showing for how much their donation ? and your readme.txt :

3. Create groups, config permission for Member Group, Bank Rupted Group (limited permission), Company Group, Bank Group

I have to create new usergroups ?

Is there a feature that telling you (as admin) how many times user has donated, the amount, the time they donate and when it will be expired ?

Thank's :)

I don't understand "KL<username>$". What is it? Can you take a screenshot?

Create usergroup with permission as you want (by Usergroup Manager). You can read this Help Entry for more detail: http://hskl.net/f/kbank.php?do=help&...tall_usergroup

lostguy 07-15-2008 07:05 AM

Btw the Kbank Item section VERY confusing..Do u step by step tuts ? this not helping by exploring .

verino 07-15-2008 07:09 AM

Quote:

Originally Posted by mrpaint (Post 1575697)
I don't understand "KL<username>$". What is it? Can you take a screenshot?

Create usergroup with permission as you want (by Usergroup Manager). You can read this Help Entry for more detail: http://hskl.net/f/kbank.php?do=help&...tall_usergroup

what i mean is, it shows for ex : KLverino$ = 145 . And i don't know from where it get the 145. But i think i know, this is more to vbpoints system maybe ? :D

mrpaint 07-15-2008 07:25 AM

Quote:

Originally Posted by lostguy (Post 1575698)
Btw the Kbank Item section VERY confusing..Do u step by step tuts ? this not helping by exploring .

You can read this: http://hskl.net/f/kbank.php?do=help (English, no registration)

Quote:

Originally Posted by verino (Post 1575701)
what i mean is, it shows for ex : KLverino$ = 145 . And i don't know from where it get the 145. But i think i know, this is more to vbpoints system maybe ? :D

You can check your transaction history: click View All History :D If you are kBank Admin, you can see all other member history
About KLverino$, I can't get it, take a screenshot please :D

verino 07-15-2008 07:30 AM

Quote:

Originally Posted by mrpaint (Post 1575710)
You can read this: http://hskl.net/f/kbank.php?do=help (English, no registration)


You can check your transaction history: click View All History :D If you are kBank Admin, you can see all other member history
About KLverino$, I can't get it, take a screenshot please :D

sorry, i meant : KL$ : 145

:D

mrpaint 07-15-2008 07:41 AM

Quote:

Originally Posted by verino (Post 1575712)
sorry, i meant : KL$ : 145

:D

If you change Name (kBank Settings) to something else, it will replace KL$ :D About your 145, just check your history

Good luck

unuttum 07-15-2008 08:24 AM

What is this:D??

Please a?ıklayın:D

lostguy 07-15-2008 11:35 AM

Quote:

Originally Posted by mrpaint (Post 1575687)
Why don't you quote your database error here or send it to me by PM?
Thank you :D


Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT
allowed.grantid AS grantid
,user.userid AS userid
,user.username AS username
FROM `XXXXXkbank_granted_permission` as allowed
INNER JOIN `XXXXXuser` ON (user.userid = allowed.userid)
WHERE allowed.allowid = 1;

MySQL Error : Unknown column 'user.userid' in 'field list'
Error Number : 1054
Request Date : Tuesday, July 15th 2008 @ 12:34:01 PM
Error Date : Tuesday, July 15th 2008 @ 12:34:02 PM
Script : http://www.XXXX.com/forum/kbank.php?
Referrer : http://www.XXXX.com/forum/index.php
IP Address : XXXXXX
Username : XX
Classname : vB_Database
MySQL Version : 5.0.51a-community

=========================
hope this help !

lostguy 07-15-2008 12:04 PM

I got suggestion !

why not make a simple Shop item ?

Example allow admin add Item we wanna let our member buy ! So after they buy it ..the Item will be located under their User Profiles . U can set How many amount for that item wanna sell .

Ofcourse allow member SEND the item gift to Someone ! So it wil be located under their User Profiles ...People can view where they Post or reply .

mrpaint 07-15-2008 01:16 PM

Quote:

Originally Posted by lostguy (Post 1575849)
Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT
allowed.grantid AS grantid
,user.userid AS userid
,user.username AS username
FROM `XXXXXkbank_granted_permission` as allowed
INNER JOIN `XXXXXuser` ON (user.userid = allowed.userid)
WHERE allowed.allowid = 1;

MySQL Error : Unknown column 'user.userid' in 'field list'
Error Number : 1054
Request Date : Tuesday, July 15th 2008 @ 12:34:01 PM
Error Date : Tuesday, July 15th 2008 @ 12:34:02 PM
Script : http://www.XXXX.com/forum/kbank.php?
Referrer : http://www.XXXX.com/forum/index.php
IP Address : XXXXXX
Username : XX
Classname : vB_Database
MySQL Version : 5.0.51a-community

=========================
hope this help !

My mistake, I will fix this soon :D

About your suggestion, Items currenttly working that way (add item or produce item, buy item and use). If you want some item display as properties (cars, mobiles,.v.v.) they don't have any real value so I don't make it :D

germinus 07-15-2008 05:29 PM

Where is the documentation about kbank hide and award system?

lostguy 07-15-2008 07:54 PM

Quote:

Originally Posted by mrpaint (Post 1575932)
My mistake, I will fix this soon :D

About your suggestion, Items currenttly working that way (add item or produce item, buy item and use). If you want some item display as properties (cars, mobiles,.v.v.) they don't have any real value so I don't make it :D

Ya i only have gift smal images ..where i want my members can buy it and place unde their post count .

Just a simple Buy and buy for another members .

lg

mrpaint 07-16-2008 12:01 AM

Quote:

Originally Posted by germinus (Post 1576146)
Where is the documentation about kbank hide and award system?

About your previous question, yes, point is show in postbit (right after posts)
Currently I have no document about Hide and Award. Here is some tips:

Hide:
Use tag [hide-thanks] or [hide] (shortcut for [hide-thanks])

No options: [hide-thanks]Hello[/hide-thanks] ~> Require thank (any amount) to see hidden data
With options: [hide-thanks=50]Hello[/hide-thanks] ~> Require thank at least 50 to see hidden data
The maximum require thank can adjust in kBank Hide Settings (AdminCP)

Award:
Just design 4 images:
kbank_awardthank.gif
kbank_award.gif
kbank_thank.gif
remove_awarded.gif
Place them in buttons folder

To award/thank just click the button in postbit and fill the form :D Simple enough

lostguy 07-16-2008 10:54 AM

Quote:

Originally Posted by mrpaint (Post 1575932)
My mistake, I will fix this soon :D

About your suggestion, Items currenttly working that way (add item or produce item, buy item and use). If you want some item display as properties (cars, mobiles,.v.v.) they don't have any real value so I don't make it :D

Well i been waiting because the script installed in my forum ..So im gonna wait how long with database error >?

lg

germinus 07-16-2008 05:00 PM

Quote:

Originally Posted by mrpaint (Post 1576395)
About your previous question, yes, point is show in postbit (right after posts)
Currently I have no document about Hide and Award. Here is some tips:

Hide:
Use tag [hide-thanks] or [hide] (shortcut for [hide-thanks])

No options: [hide-thanks]Hello[/hide-thanks] ~> Require thank (any amount) to see hidden data
With options: [hide-thanks=50]Hello[/hide-thanks] ~> Require thank at least 50 to see hidden data
The maximum require thank can adjust in kBank Hide Settings (AdminCP)

Award:
Just design 4 images:
kbank_awardthank.gif
kbank_award.gif
kbank_thank.gif
remove_awarded.gif
Place them in buttons folder

To award/thank just click the button in postbit and fill the form :D Simple enough

Hide code does hide the content but when you click the thanks button you get a small window pop up showing the original post which still shows access denied in the original post and also in the pop up window. So it would seem there is no way to reveal the hidden text

mrpaint 07-16-2008 05:32 PM

Quote:

Originally Posted by lostguy (Post 1576715)
Well i been waiting because the script installed in my forum ..So im gonna wait how long with database error >?

lg

Please open kbank.php and

Find & Replace

Quote:

INNER JOIN `" . TABLE_PREFIX . "user` ON
with

Quote:

INNER JOIN `" . TABLE_PREFIX . "user` AS `user` ON
Quote:

Originally Posted by germinus (Post 1577013)
Hide code does hide the content but when you click the thanks button you get a small window pop up showing the original post which still shows access denied in the original post and also in the pop up window. So it would seem there is no way to reveal the hidden text

I don't understand what you are saying?

germinus 07-16-2008 05:47 PM

It doesnt show the hidden text after clicking the thanks button

snowlion 07-16-2008 06:15 PM

Quote:

Originally Posted by germinus (Post 1577060)
It doesnt show the hidden text after clicking the thanks button

Did you read here
Quote:

No options: [hide-thanks]Hello[/hide-thanks] ~> Require thank (pay any amount) to see hidden data

Virulent1 07-16-2008 06:35 PM

Is this working for 3.7.2?

germinus 07-16-2008 08:13 PM

Quote:

Originally Posted by snowlion (Post 1577078)
Did you read here

Yes I can read, but thanks for asking!

lostguy 07-16-2008 11:17 PM

Quote:

Originally Posted by mrpaint (Post 1577045)
Please open kbank.php and

Find & Replace



with




I don't understand what you are saying?

Replace all ? because i have more " INNER JOIN `" . TABLE_PREFIX . "user` ON "

I need replace all those with that line right ?

lostguy 07-16-2008 11:25 PM

kbank_awardthank.gif < dont even show my button image and not even inside the FULL Zip package !

kbank_awardthank.gif
kbank_award.gif
kbank_thank.gif
remove_awarded.gif

ya didnt find these button too !


All times are GMT. The time now is 06:16 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.01841 seconds
  • Memory Usage 1,865KB
  • 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
  • (27)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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