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-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.


All times are GMT. The time now is 11:33 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.01372 seconds
  • Memory Usage 1,752KB
  • 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
  • (4)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