vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Add-On Releases - kBank - A Money System (https://vborg.vbsupport.ru/showthread.php?t=210236)

mrpaint 05-09-2009 12:40 PM

Quote:

Originally Posted by algert (Post 1807443)
Ok, so here's the screenshot:-

That's strange!
Can you send me an admin account with query permission via PM or email (daohoangson[at]gmail.com) so I can check it out

algert 05-09-2009 01:02 PM

Quote:

Originally Posted by mrpaint (Post 1807453)
That's strange!
Can you send me an admin account with query permission via PM or email (daohoangson[at]gmail.com) so I can check it out

How to make a query permission account?

mrpaint 05-09-2009 01:18 PM

Quote:

Originally Posted by algert (Post 1807461)
How to make a query permission account?

Oh, just create a new account (or use an existing account). Remember it's userid
Open ./includes/config.php, look for

PHP Code:

$config['SpecialUsers']['canrunqueries'] = 'x'

You can have something already in x, just add our userid into it so it looks like

PHP Code:

$config['SpecialUsers']['canrunqueries'] = '1'

or
PHP Code:

$config['SpecialUsers']['canrunqueries'] = '1,2,3,4'


davoodblack 05-09-2009 01:39 PM

this Mods havnt any convertor from VBPlazza or VBCredits? i have the VBCredits System but i need number of Points....

mrpaint 05-09-2009 01:47 PM

Quote:

Originally Posted by davoodblack (Post 1807473)
this Mods havnt any convertor from VBPlazza or VBCredits? i have the VBCredits System but i need number of Points....

You can change the money field in kBank Settings to match vBCredits field

algert 05-09-2009 01:56 PM

I've send the details, so did you get anyway to get it fixed yet?

mrpaint 05-09-2009 05:49 PM

Quote:

Originally Posted by algert (Post 1807483)
I've send the details, so did you get anyway to get it fixed yet?

Sent detail instruction
Hope it helps :D

algert 05-10-2009 04:35 AM

Quote:

Originally Posted by mrpaint (Post 1807586)
Sent detail instruction
Hope it helps :D

Yes it fixed, thank you! I respect and appreciate your time to give support to fix the bugs I've encountered. :up::up:

algert 05-10-2009 08:41 AM

Hey dude, I'd like to take back my words on something, I remember I've did some suggestion on renaming award system and all, after playing around with it for 2 days, I've discovered that award means +ve and -ve and, i dont actually need thank system, so yeah, that suggestion I'll take back.. :D

But I hope the next update, comes with bank, so people can deposit/withdraw earning interest. :D

algert 05-10-2009 09:22 AM

Sorry if I'd be annoying, lol.. anyway, I've found another I'd called it a bug to me.. if I award someone the award info will be extra large, I mean can it be shown like the thanks in one line, like this screenshot:-
https://vborg.vbsupport.ru/

Thanks in advance, once again.

mrpaint 05-10-2009 10:03 AM

Quote:

Originally Posted by algert (Post 1807904)
Sorry if I'd be annoying, lol.. anyway, I've found another I'd called it a bug to me.. if I award someone the award info will be extra large, I mean can it be shown like the thanks in one line, like this screenshot:-
http://spirted.com/images/bbjdowhbxx72mzxx5xxn.png

Thanks in advance, once again.

Award can be display just like thank by editing the phrase (please search phrase in AdminCP). It's not a bug, I just want to display awards different from thanks :D

algert 05-10-2009 10:41 AM

Quote:

Originally Posted by mrpaint (Post 1807920)
Award can be display just like thank by editing the phrase (please search phrase in AdminCP). It's not a bug, I just want to display awards different from thanks :D

Oh my apologies for naming it a bug, can you tell me which phrase to edit for awards, and the code for it to be replaced, sorry.. once again.. :S

Edited:- I think I will try to manage it out, I have fixed the award words. Sorry to bother anyway.

mrpaint 05-10-2009 11:15 AM

Edit phrase: kbank_award_the_message_with_username
You can use something like

Quote:

{4} awarded {1} For <b>{2}</b> {5}: {3}
{1} is the username of the poster
{2} is the amount
{3} is the reason
{4} is the username of the staff
{5} is money name

jeremycards 05-10-2009 11:26 AM

HELP! i just installed this addon. Everything was uploaded then i imported. i started checking out the options and when i clicked save changes, my forum gave a great database error and it started flooding my email with errors!! i dont know what to do, i tryed deleting the files from the database but it gets worse errors, help please! This is what the mails say and they wont stop coming

Database error in vBulletin 3.7.3:

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_global AS phrasegroup_global,
language.phrasegroup_holiday AS phrasegroup_holiday,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

,kbank_granted.allow_count AS kbank_granted_count
,kbank_granted.allow_userid AS kbank_granted_userid
,kbank_granted.allow_username AS kbank_granted_username
,kbank_granted.allow_usergroupid AS kbank_granted_usergroupid
,kbank_granted.allow_membergroupids AS kbank_granted_membergroupids
,kbank_granted.allow_Oro AS kbank_granted_Oro

FROM endsekuser AS user
LEFT JOIN endsekuserfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN endsekusertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN endseklanguage AS language ON (language.languageid = IF(user.languageid = 0, 2, user.languageid))

LEFT JOIN (
SELECT
kbank_granted.userid AS userid
,COUNT(*) AS allow_count
,GROUP_CONCAT(user.userid SEPARATOR '|') AS allow_userid
,GROUP_CONCAT(user.username SEPARATOR '|') AS allow_username
,GROUP_CONCAT(user.usergroupid SEPARATOR '|') AS allow_usergroupid
,GROUP_CONCAT(user.membergroupids SEPARATOR '|') AS allow_membergroupids
,GROUP_CONCAT(user.Oro SEPARATOR '|') AS allow_Oro
FROM `endsekkbank_granted_permission` AS kbank_granted
INNER JOIN `endsekuser` AS user ON (user.userid = kbank_granted.allowid)
WHERE kbank_granted.userid = 1
GROUP BY kbank_granted.userid
) AS kbank_granted ON (kbank_granted.userid = user.userid)

WHERE user.userid = 1;

MySQL Error : Unknown column 'user.Oro' in 'field list'
Error Number : 1054
Request Date : Sunday, May 10th 2009 @ 05:25:23 AM
Error Date : Sunday, May 10th 2009 @ 05:25:23 AM
Script : http://forum.endingsekai.com/index.php
Referrer :
IP Address : 190.17.181.228
Username :
Classname : vB_Database
MySQL Version :

mrpaint 05-10-2009 11:44 AM

Hi there,

Don't worry too much. With that error message, I can see that you changed the kBank field to "Oro". I think you made mistake in this step. I think you want to change the name to "Oro" (means "gold" in Spanish, right?) instead of the field.

Now you can fix by 3 steps:
  1. Turn off all hooks
  2. Go to kBank Settings page, change "Oro" back to "money" in "Money field" and change value of "Name of points" to "Oro"
  3. Turn hooks back on
If you don't know how to turn off hooks, take a look at this page: http://www.vbulletin.com/forum/showthread.php?t=196688 (I have just Googled it :D)

Good luck to you

jeremycards 05-10-2009 11:46 AM

i see, i tough it might have been that the problem (oro is gold in spanish actually =P) i'll give it a try and tell you, thanks for your help

Xile1508 05-10-2009 11:52 AM

Does this allow members to buy items, ( A member can use his/her points to be granted access to download a specific file. )

Eg. A Graphics Design Site, Using this could allow there members to spend their points to download a certain Brush Pack etc.

jeremycards 05-10-2009 11:57 AM

worked like a charm, thanks a lot!

edit: Oh by the way, is there a way to make this available only in one subforum?

edit 2: scratch that, i already found out. But now i have a problem. People can buy stuff from the shop even without having the necesary money for it :S what could be happening?

Abderian 05-10-2009 12:35 PM

Is there something obvious I am missing? When my users buy custom avatars they do not show up... Their profiles are set to view avatars and the gallery works, and their avatar shows in the admin cp but not in posts.

algert 05-10-2009 12:37 PM

Quote:

Originally Posted by jeremycards (Post 1807973)
worked like a charm, thanks a lot!

edit: Oh by the way, is there a way to make this available only in one subforum?

You can go to Admin CP>Kbank>Edit Settings> Under Points Per Thread - Default Value - Click on Reset Forum Policy, you can edit the permissions.

I hope it helps.

mrpaint 05-10-2009 12:37 PM

Quote:

Originally Posted by Xile1508 (Post 1807969)
Does this allow members to buy items, ( A member can use his/her points to be granted access to download a specific file. )

Eg. A Graphics Design Site, Using this could allow there members to spend their points to download a certain Brush Pack etc.

You will need a Downloading Plugin and kBank will be used as a Money Gateway (with some modification) to require point when downloading. I'm thinking about require money when downloading attachments, too. Maybe it will be available in the future
With kBank, now, you can purchase items with special function like changing username, usertitle, display background in posts, etc

Quote:

Originally Posted by jeremycards (Post 1807973)
worked like a charm, thanks a lot!

edit: Oh by the way, is there a way to make this available only in one subforum?

You can specify points policy for each forum (Forum Manager)

mrpaint 05-10-2009 12:44 PM

Quote:

Originally Posted by Abderian (Post 1808009)
Is there something obvious I am missing? When my users buy custom avatars they do not show up... Their profiles are set to view avatars and the gallery works, and their avatar shows in the admin cp but not in posts.

Please make sure to enable Avatar in vBulletin Settings and Avatar permission in usergroup

Quote:

Originally Posted by algert (Post 1808011)
You can go to Admin CP>Kbank>Edit Settings> Under Points Per Thread - Default Value - Click on Reset Forum Policy, you can edit the permissions.

I hope it helps.

Very nice of you :D Thanks so much

Abderian 05-10-2009 12:49 PM

If I enable in usergroup won't they be able to use without buying?

mrpaint 05-10-2009 01:01 PM

Quote:

Originally Posted by Abderian (Post 1808017)
If I enable in usergroup won't they be able to use without buying?

You can limit the default size of avatar to something like 1px*1px or 1KB in size :D I'm still looking a way to bypass this inconvenient stuff

Abderian 05-10-2009 02:11 PM

Thanks that worked. I set my forum to give people 0.0000 AB$ when they post, but it still gives it them

jeremycards 05-10-2009 02:16 PM

thanks for the help. Now i have a problem, people can buy the items i put in the shop even without having ennough money =/ what could be wrong?

mrpaint 05-10-2009 02:47 PM

Quote:

Originally Posted by Abderian (Post 1808052)
Thanks that worked. I set my forum to give people 0.0000 AB$ when they post, but it still gives it them

Please double check your settings
You can see the Policy at the bottom of forumdisplay to see the affecting values

mrpaint 05-10-2009 02:48 PM

Quote:

Originally Posted by jeremycards (Post 1808055)
thanks for the help. Now i have a problem, people can buy the items i put in the shop even without having ennough money =/ what could be wrong?

How can it be? :-??
Screenshot please...

jeremycards 05-10-2009 04:39 PM

well i dont know what can i screenshot =/ i putted an item for 10$. Someone with 0$ press buy and he get it, simple as that =/ i dont know how to prevent that.

algert 05-10-2009 08:05 PM

Second problem

I've chosen to disable the award system

Quote:

Kbank(navbar)>Drop Down List>Available Top Lists

Available Top Lists

* Top Posts (all time)
* Top Posts (in the last 24hours)
* Top Posts In 1 Day
* Top Posts Each Day
* Top Threads
* Top Threads (by replies)
* Top Threads (by views)
* 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

Lists for kBank Managers Only

* Top Thanked by Area
* Top Awarded by Area
* Top Give Award (times)
* Top Give Award (amount)
Is it possible to remove all things related to award system? How can i do so? :confused:

Thanks once again! :D

mrpaint 05-11-2009 11:10 AM

Quote:

Originally Posted by jeremycards (Post 1808147)
well i dont know what can i screenshot =/ i putted an item for 10$. Someone with 0$ press buy and he get it, simple as that =/ i dont know how to prevent that.

You can do it again :P
Add new item with price = $10
Create new user with money = 0
Screenshot the shop before buying
Buy
Screenshot my items after buying


Quote:

Originally Posted by algert (Post 1808241)
Second problem

I've chosen to disable the award system



Is it possible to remove all things related to award system? How can i do so? :confused:

Thanks once again! :D

OOps, I'm sorry, they all are displayed by default and can not be hide. I will add the hidding function soon. Is that okey?

algert 05-11-2009 11:15 AM

Quote:

Originally Posted by mrpaint (Post 1808495)
You can do it again :P
Add new item with price = $10
Create new user with money = 0
Screenshot the shop before buying
Buy
Screenshot my items after buying




OOps, I'm sorry, they all are displayed by default and can not be hide. I will add the hidding function soon. Is that okey?

Owh okay, No problem, btw, whats with khide, I don't understand the use of it.. xD

Abderian 05-11-2009 02:24 PM

Policy at bottom of forum:
kBank Policy
Posting New Thread: 0 AB$
Posting New Reply: 0 AB$
AB$ for each character in post: 0

Yet givers me 5 for each reply?

I set all values to 0.00001.

mrpaint 05-11-2009 03:03 PM

Quote:

Originally Posted by algert (Post 1808496)
Owh okay, No problem, btw, whats with khide, I don't understand the use of it.. xD

You can use tag in post like [hide]something you want to hide[/hide]
You can specify some amount like [hide=50]something you want to hide, too[/hide]

Using [hide] will require other member to thank you to view the content
Using [hide=x] will require other member to thank you at least x amount of points to view the content

Quote:

Originally Posted by Abderian (Post 1808642)
Policy at bottom of forum:
kBank Policy
Posting New Thread: 0 AB$
Posting New Reply: 0 AB$
AB$ for each character in post: 0

Yet givers me 5 for each reply?

I set all values to 0.00001.

Hmm...
Let me check

algert 05-12-2009 04:06 AM

Quote:

Originally Posted by mrpaint (Post 1808689)
You can use tag in post like [hide]something you want to hide[/hide]
You can specify some amount like [hide=50]something you want to hide, too[/hide]

Using [hide] will require other member to thank you to view the content
Using [hide=x] will require other member to thank you at least x amount of points to view the content

Thanks! I understood now.. :D:D When you've make an option to remove the award system from the top lists, PM me or mail me please. ^_^

algert 05-13-2009 05:40 AM

A new problem i've found, when i go to kshop it shows 5 pages available to be bought(but I only have less than 10 items to be bought, all the items available is already on first page) like this:-
https://vborg.vbsupport.ru/

then when i click on any of the pages it shows an error:-
https://vborg.vbsupport.ru/

jeremycards 05-13-2009 05:36 PM

Quote:

Originally Posted by mrpaint (Post 1808495)
You can do it again :P
Add new item with price = $10
Create new user with money = 0
Screenshot the shop before buying
Buy
Screenshot my items after buying

Well never mind that, after some thinking i wont need to use the shop, i just need the addon to count the posts people make in a single thread (i made a subforum just for that thread, its a forum game). But right that isn't working properly either! x_x i dont know why. I setted everything so you could get money ONLY by replying at topics in an specific subforum. But i dont know, it gave me 1 gold once after replying, but then nothing else, i keep replying but i can't get more than 1, what could be the problem?.

algert 05-14-2009 04:41 AM

Quote:

Originally Posted by jeremycards (Post 1810186)
Well never mind that, after some thinking i wont need to use the shop, i just need the addon to count the posts people make in a single thread (i made a subforum just for that thread, its a forum game). But right that isn't working properly either! x_x i dont know why. I setted everything so you could get money ONLY by replying at topics in an specific subforum. But i dont know, it gave me 1 gold once after replying, but then nothing else, i keep replying but i can't get more than 1, what could be the problem?.

You would need to set the setting, go to admin CP>Kbank>Edit Settings>Set value for Points per Thread - Default Value/Points per Posts - Default Value/Points per Character - Default Value and some maybe be not right, so click on Reset Forum Policy and made some changes there by reset the default value of each forum.

jeremycards 05-14-2009 10:34 AM

its all setted, replies in just 1 forum are setted to give 1 point, and the rest is all 0. But for some reason they get just 1 point for replying many times at that subforum. What i want is them to get 1 point for every reply in an especific thread, but i dont know what isn't working

algert 05-15-2009 03:55 AM

Quote:

Originally Posted by jeremycards (Post 1810591)
its all setted, replies in just 1 forum are setted to give 1 point, and the rest is all 0. But for some reason they get just 1 point for replying many times at that subforum. What i want is them to get 1 point for every reply in an especific thread, but i dont know what isn't working

For a specific thread, I really have no idea on how to do this, sorry what I know is, u can't set them for each subforums/sections, but for threads I don't think this would be possible.. :S


All times are GMT. The time now is 12:44 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.03745 seconds
  • Memory Usage 1,861KB
  • 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
  • (3)bbcode_php_printable
  • (27)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