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 08-25-2008 11:31 PM

Quote:

Originally Posted by flypaper (Post 1606672)
If you're setting colors for stuff like reminders, can you set ALL the colors so that its easy enough to read? See my screenshot.

http://uselessforum.com/picture.php?...&pictureid=918

You want the text "Sponsored Links" to display in another color? You can do that by editing the template called "kbank_announce". A little confuse here because in default template, that text is displayed in black :D

fly 08-25-2008 11:47 PM

Quote:

Originally Posted by mrpaint (Post 1606939)
You want the text "Sponsored Links" to display in another color? You can do that by editing the template called "kbank_announce". A little confuse here because in default template, that text is displayed in black :D

It doesn't appear that the Sponsored links is using a hard coded color, that grey you see in my pic is one of my forum colors. And I didn't edit the template...

mrpaint 08-26-2008 10:00 AM

Quote:

Originally Posted by flypaper (Post 1606956)
It doesn't appear that the Sponsored links is using a hard coded color, that grey you see in my pic is one of my forum colors. And I didn't edit the template...

You should edit template and use the color you like. It is very easy :D

Find
HTML Code:

<strong style="margin-left: 5px;">$vbphrase[kbank_announce]</strong>
Replace with (or something like that)
HTML Code:

<strong style="margin-left: 5px; color: black;">$vbphrase[kbank_announce]</strong>

hoof 08-28-2008 11:24 AM

Hi mrpaint,

Could you tell me how to display the credits in the navbar user info?
I am trying to dispaly it here but I am having trouble figuring out the vbphrase to use:

Code:

"Good Morning, Hoof.
35 New Posts since your last visit.
You last visited: Yesterday at 07:40 PM
Credits :
Private Messages: Unread 0, Total 26.
You have no new reputation comments.

Appreciate the help :) and the hack looks good so far!

mrpaint 08-29-2008 10:11 AM

Quote:

Originally Posted by hoof (Post 1608962)
Hi mrpaint,

Could you tell me how to display the credits in the navbar user info?
I am trying to dispaly it here but I am having trouble figuring out the vbphrase to use:

Code:

"Good Morning, Hoof.
35 New Posts since your last visit.
You last visited: Yesterday at 07:40 PM
Credits :
Private Messages: Unread 0, Total 26.
You have no new reputation comments.

Appreciate the help :) and the hack looks good so far!

You can insert something like this:

HTML Code:

$kbank[name]: $bbuserinfo[kbank]

hoof 08-29-2008 10:42 AM

Quote:

Originally Posted by mrpaint (Post 1609769)
You can insert something like this:

HTML Code:

$kbank[name]: $bbuserinfo[kbank]

Perfect! Thanks :)

I am also converting from vbcredits and have it disabled with kbank pointing to "credits" for now. I also have Ishop up and running as my store and everything works great.

The only thing I see is it doesn't completely show correct money values when looking at "Top Lists" is there a way to easily move the vbcredits points to the correct table in kbank? Or a conversion tool?

~Thanks!

mrpaint 08-30-2008 02:27 AM

Quote:

Originally Posted by hoof (Post 1609783)
Perfect! Thanks :)

I am also converting from vbcredits and have it disabled with kbank pointing to "credits" for now. I also have Ishop up and running as my store and everything works great.

The only thing I see is it doesn't completely show correct money values when looking at "Top Lists" is there a way to easily move the vbcredits points to the correct table in kbank? Or a conversion tool?

~Thanks!

Use `credit` field in `user` table as kBank field and everything is done, isn't it? :D

RedeemedWarrior 08-31-2008 07:17 AM

I must say i have got this working now and i am very impressed

mrpaint 08-31-2008 12:26 PM

Quote:

Originally Posted by RedeemedWarrior (Post 1611008)
I must say i have got this working now and i am very impressed

Thank you :D I'm in upgrading progress :P

hoof 08-31-2008 06:04 PM

Another question :)

I have a few skins that do not have the traditional navbar and use an image/button the code provided
Code:

$template_hook[navbar_buttons_left]
doesn't work for them. Any way to get the drop down code for those of us using buttons?

Here's the code I am using:
Code:

<td width="63" height="69" class="nav_buttons">
<a href="???">
<img src="$stylevar[imgdir_misc]/nav_bank.png" width="63" height="69" border="0" alt="" /></a></td>


hoof 08-31-2008 10:33 PM

Figured it out :)

If you use skins with images or if you need to add a link to the navbar ( the auto template feature only worked on the default skin for me) here's the code I used:

Code:

<!-- kBank START #navbar item -->
<td width="63" height="69" id="navbar_kbank" class="nav_buttons" /><a href="$kbank[phpfile]$session[sessionurl_q]" accesskey="k" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_bank.png" width="63" height="69" border="0" alt="" /></a>
<script type="text/javascript"> vbmenu_register("navbar_kbank",1); </script></td>

You'll need to clean it up with your image dimensions and img name :)

mrpaint 09-01-2008 10:48 AM

Quote:

Originally Posted by hoof (Post 1611503)
Figured it out :)

If you use skins with images or if you need to add a link to the navbar ( the auto template feature only worked on the default skin for me) here's the code I used:

Code:

<!-- kBank START #navbar item -->
<td width="63" height="69" id="navbar_kbank" class="nav_buttons" /><a href="$kbank[phpfile]$session[sessionurl_q]" accesskey="k" rel="nofollow"><img src="$stylevar[imgdir_misc]/nav_bank.png" width="63" height="69" border="0" alt="" /></a>
<script type="text/javascript"> vbmenu_register("navbar_kbank",1); </script></td>

You'll need to clean it up with your image dimensions and img name :)

Yeah, great solution for image navbar button :D

mrpaint 09-02-2008 10:54 PM

New version (2.1) is coming out with new features:
  • Never expires item
  • Customized Userinfo itemtype with limited edit time (member can edit username/usertitle once or twice,etc)
  • Admin can select exactly which element is shown in post and profile
  • Thanks can be counted like post (still work well when update posts count)
Any more suggestion? Thank you :D

hoof 09-05-2008 10:45 AM

Quote:

Originally Posted by mrpaint (Post 1613174)
New version (2.1) is coming out with new features:
  • Never expires item
  • Customized Userinfo itemtype with limited edit time (member can edit username/usertitle once or twice,etc)
  • Admin can select exactly which element is shown in post and profile
  • Thanks can be counted like post (still work well when update posts count)
Any more suggestion? Thank you :D

Mrpaint,

Is there an option to add more options to what you can add to what members can buy? I would like to be able to add other items for sale that are not vb modifications. If i wanted to put up an image for sale or a banner is there a way to include a blank form and fill in the options of what we want to add?

Also, is there a way to do the above and let members put items up?

mrpaint 09-05-2008 10:55 AM

Quote:

Originally Posted by hoof (Post 1615039)
Mrpaint,

Is there an option to add more options to what you can add to what members can buy? I would like to be able to add other items for sale that are not vb modifications. If i wanted to put up an image for sale or a banner is there a way to include a blank form and fill in the options of what we want to add?

Also, is there a way to do the above and let members put items up?

I will create new option for announce itemtype that allow member to use image :D
About the other idea, tell me if I'm correct: You want to sell REAL stuff (a shirt for example) and you want to allow member to buy via forum by points?

EarnDollars 09-06-2008 12:04 PM

Ok, Looks working now after I uploaded all files (I use the full version include HELP files so take me a long time).

Now doing all needed settings and will back to here to share my status soon

I suggest change the 1st step as "Upload Files" in the Read Me file.
Just me 2 cents


__________________________________________________ _____________________________
Hi MrPaint,
I am tring to intall it today, but got below error notice at the 1st step ( Import Product).
My forum with 3.7.0.

And now my forum is broken because of this... I can NOT access my forum, can not access the ACP...

My forum is http://sdnforum.com/forums/

URGENT HELP PLZ

Thanks!

Warning: include_once([path]/kbank/init.php) [function.include-once]: failed to open stream: No such file or directory in [path]/includes/init.php(293) : eval()'d code on line 7

Warning: include_once() [function.include]: Failed opening '[path]/kbank/init.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/init.php(293) : eval()'d code on line 7

Warning: include([path]/kbank/hook_fetch_userinfo_query.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/functions.php(1267) : eval()'d code on line 2

Warning: include() [function.include]: Failed opening '[path]/kbank/hook_fetch_userinfo_query.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/functions.php(1267) : eval()'d code on line 2

Warning: include([path]/kbank/hook_fetch_musername.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/functions.php(1044) : eval()'d code on line 2

Warning: include() [function.include]: Failed opening '[path]/kbank/hook_fetch_musername.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/functions.php(1044) : eval()'d code on line 2

Warning: include([path]/kbank/hook_fetch_userinfo.php) [function.include]: failed to open stream: No such file or directory in [path]/includes/functions.php(1343) : eval()'d code on line 2

Warning: include() [function.include]: Failed opening '[path]/kbank/hook_fetch_userinfo.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in [path]/includes/functions.php(1343) : eval()'d code on line 2

mrpaint 09-06-2008 02:59 PM

Hi EarnDollars, I will update this ;) Thank you

EarnDollars 09-06-2008 05:56 PM

Quote:

Originally Posted by mrpaint (Post 1615910)
Hi EarnDollars, I will update this ;) Thank you

Thanks! it is a great product and I am still learning how to use it properly.

Here have a few questions:
1: Point for referer of new user ( Ammount of points a user gets when the new user posts)
If I set the value as 50 here, the member will get one time 50 points when his refered member have the 1st post, or he will earn 50 points repeated for each of his refered member's posts?

2: The new usergroup, Company Group and Bank Group:
What is the benefit of a registered menber to join these groups? What is the extra feature of new groups which don't have as a member offefault "registered member group"?

3: Is there any way to rename "KBank" and "kShop" to make them match my forum better? for example, I'd like to call them as "DBank" and "DShop", can / how can I do that?

Thanks a lot!

Julian

fly 09-07-2008 12:50 AM

Can we have an option for users to buy other users a title?

epsol 09-07-2008 12:57 AM

is there a way to use kbank with ibproarcade, for both credits and jackpots?

mrpaint 09-07-2008 01:57 AM

Quote:

Originally Posted by EarnDollars (Post 1616025)
Thanks! it is a great product and I am still learning how to use it properly.

Here have a few questions:
1: Point for referer of new user ( Ammount of points a user gets when the new user posts)
If I set the value as 50 here, the member will get one time 50 points when his refered member have the 1st post, or he will earn 50 points repeated for each of his refered member's posts?

2: The new usergroup, Company Group and Bank Group:
What is the benefit of a registered menber to join these groups? What is the extra feature of new groups which don't have as a member offefault "registered member group"?

3: Is there any way to rename "KBank" and "kShop" to make them match my forum better? for example, I'd like to call them as "DBank" and "DShop", can / how can I do that?

Thanks a lot!

Julian

1. Old-Member will receive referer points for each post from new-member posted in 30 days from register day
2. Company Group can:
  • Place bid (with Auction enabled items)
  • Item price has no limit (normal member has a price limit when selling item)
  • If member buy item from company, item tax will be paid by company
  • No tax when donating
3. You can search phrases and translate them

Quote:

Originally Posted by flypaper (Post 1616267)
Can we have an option for users to buy other users a title?

Yes, member can by customize_userinfo itemtype (with title editing enabled) and gift to his/her friend

Quote:

Originally Posted by epsol (Post 1616269)
is there a way to use kbank with ibproarcade, for both credits and jackpots?

Currently not supported, sorry :(

EarnDollars 09-07-2008 03:33 AM

Quote:

Originally Posted by mrpaint (Post 1616288)
3. You can search phrases and translate them

Thanks a lot!
Making all settings now. Will announce this new feature to Members soon

mrpaint 09-07-2008 05:49 AM

Quote:

Originally Posted by EarnDollars (Post 1616320)
Thanks a lot!
Making all settings now. Will announce this new feature to Members soon

Your members would love it :D
Gud luck!

MCAlexandre 09-08-2008 11:17 AM

Excelente mod, thanks. :D
Tough, I'm having a problem. When I try to delete a post, this error shows up:
Quote:

Database error in vBulletin 3.7.2:

Invalid SQL:

SELECT kbank,
userid
FROM _pkppost
WHERE post.postid = 5389;

MySQL Error : Unknown table 'post' in where clause
Error Number : 1109
Help, please. :P

mrpaint 09-08-2008 01:52 PM

Quote:

Originally Posted by MCAlexandre (Post 1617319)
Excelente mod, thanks. :D
Tough, I'm having a problem. When I try to delete a post, this error shows up:

Help, please. :P

Here is your solution :P

Known Bug
  1. Database Error deleting posts

marc2005 09-08-2008 02:15 PM

It's a great Mod! Very useful and funny. Although i still have one question:

what's the use (difference) of Company Group, Member Group, Normal Group and Bankrupted Group?

My understand is Bankrupted Group are users without money, Normal Group are those the kBank system doesn't effect and only Company Group can post Announce? Is that correct?

mrpaint 09-08-2008 04:35 PM

Quote:

Originally Posted by marc2005 (Post 1617428)
It's a great Mod! Very useful and funny. Although i still have one question:

what's the use (difference) of Company Group, Member Group, Normal Group and Bankrupted Group?

My understand is Bankrupted Group are users without money, Normal Group are those the kBank system doesn't effect and only Company Group can post Announce? Is that correct?

Normal Group: Member with basic permission to donate money, buy/use item
Company Group: Member with special permission (detail found here: https://vborg.vbsupport.ru/showthread.php?p=1616288)
BankRupted Group: Member with no permission (used mostly when he/she has been taken away all points)

Thank you :D

marc2005 09-09-2008 11:30 AM

Quote:

Originally Posted by mrpaint (Post 1617561)
Normal Group: Member with basic permission to donate money, buy/use item
Company Group: Member with special permission (detail found here: https://vborg.vbsupport.ru/showthread.php?p=1616288)
BankRupted Group: Member with no permission (used mostly when he/she has been taken away all points)

Thank you :D

i'm clear now, thanks.:up:

komirad 09-09-2008 12:18 PM

How do I hide the points from showing at postbit?

mrpaint 09-10-2008 11:32 AM

Quote:

Originally Posted by komirad (Post 1618188)
How do I hide the points from showing at postbit?

This option is available in the 2.1 version ;) It's coming out :D

MCAlexandre 09-10-2008 01:57 PM

Worked perfectly with some errors, but thanks. :D

mrpaint 09-11-2008 01:58 PM

Quote:

Originally Posted by MCAlexandre (Post 1619002)
Worked perfectly with some errors, but thanks. :D

Hi there, why don't you post your errors? Thanks :D

EarnDollars 09-15-2008 07:40 AM

Hi MrPaint,
Is there any way to create item types other than the 4 default types?

foe example, I want to allow my members use their forum money to buy Hosting package provided by me, how to set this type?

Thx!

Julian

mrpaint 09-15-2008 11:02 AM

Quote:

Originally Posted by EarnDollars (Post 1622495)
Hi MrPaint,
Is there any way to create item types other than the 4 default types?

foe example, I want to allow my members use their forum money to buy Hosting package provided by me, how to set this type?

Thx!

Julian

I'm developing ver2.1 with new itemtype that create item with your own infomation. If you want to run your function (create account or something) you can develop itemtype yourself ;)

EarnDollars 09-15-2008 12:52 PM

Quote:

Originally Posted by mrpaint (Post 1622545)
I'm developing ver2.1 with new itemtype that create item with your own infomation. If you want to run your function (create account or something) you can develop itemtype yourself ;)

Thanks!
Waiting to use the new version soon :)

mrpaint 09-16-2008 01:49 PM

Feature that have been developed in v2.1:
  • Never expires item
  • Customized Userinfo itemtype with limited edit time (member can edit username/usertitle once or twice,etc... Confirmation required)
  • Admin can select exactly which element is shown in post and profile
  • Thanks can be counted like post (still work well when update posts count)
  • Item quantity in kShop
  • One time register points
  • Uninstall codes
  • New itemtype with "open" information
  • Addon for vbookie
Testing for bug now :D Any more suggestions? :cool:

Vackrick 09-18-2008 05:14 AM

can u faster release cause we adding item getting error...

Vackrick 09-18-2008 05:14 AM

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

mrpaint 09-18-2008 08:12 AM

Quote:

Originally Posted by Vackrick (Post 1624579)
Invalid argument supplied for foreach() in [path]/admincp/kbankadmin.php on line 859

Please add itemtype before adding items. Read more here: http://hskl.net/f/kbank.php?do=help

fly 09-18-2008 09:27 AM

Quote:

Originally Posted by mrpaint (Post 1623361)
Feature that have been developed in v2.1:
  • Never expires item
  • Customized Userinfo itemtype with limited edit time (member can edit username/usertitle once or twice,etc... Confirmation required)
  • Admin can select exactly which element is shown in post and profile
  • Thanks can be counted like post (still work well when update posts count)
  • Item quantity in kShop
  • One time register points
  • Uninstall codes
  • New itemtype with "open" information
  • Addon for vbookie
Testing for bug now :D Any more suggestions? :cool:

plz plz plz allow users the option to give someone else a title. Not send them a gift, where the person can use it or not, but force them to use a title. :D


All times are GMT. The time now is 12:45 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.02337 seconds
  • Memory Usage 1,867KB
  • 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
  • (6)bbcode_code_printable
  • (4)bbcode_html_printable
  • (26)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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