[DBTech] DragonByte Credits

[DBTech] DragonByte Credits [Paid] 5.0.3

No permission to buy (€14.95)
Yeah, like I said previously; every manually applied fix was also added to the release files :)

Fillip

Uploaded the files from the latest beta
Did an "update add-on" with the newest XML
repaired cache

Feedback:
When I click on "manage users" the page loaded shows nothing besides a couple letters (See screenshot below)

Screen Shot 2016-11-15 at 7.46.07 AM.webp

Rebuilding caches:
Had no issues or errors. We have a bout 700.000 threads and 5 events to be calculated. Didn't take very long.
Just noticed (and that is probably intended this way) if you check "Reset to 0" it resets everything and calculates all the events again starting with 0
If you really want to reset everything to 0 you need to set all events to "inactive" and then rebuild the cache.
 
A couple pre-sale questions:

1. How difficult is it to set up the Paypal internet points purchase feature? Is there a guide?
2.How hard is it to create custom events? Do you guide us in the right direction to learn how to add a custom event?
3. The taxation event. Can this be run on a specific user group? I want to tax coins for inactive users.
 
Hotfix added for that :)

A couple pre-sale questions:

1. How difficult is it to set up the Paypal internet points purchase feature? Is there a guide?
2.How hard is it to create custom events? Do you guide us in the right direction to learn how to add a custom event?
3. The taxation event. Can this be run on a specific user group? I want to tax coins for inactive users.
  1. You modify the settings in the Purchase event trigger, then create a Purchase event - that's pretty much it :)
  2. It requires a lot of PHP coding and knowledge of XenForo modifications, if you're interested I can try to write up a dev guide.
  3. You can indeed limit who this event affects by user group :)

Fillip
 
1.Whereabouts do you create a purchase event? Is there coding involved or do I just enter paypal api code or something into the settings.
2.That would be fantastic. If you made the php coding fairly simple to integrate then people could help you add events to your product. Somewhat open source like for your userbase.
3. Awesome to hear thanks!
 
Fillip,

It shows nicely the currency and credits earned in the postbit. My test currency is "fishies collected"

Screen Shot 2016-11-16 at 10.52.46 AM.webp

I would like to add this added also to the "Visitors panel" which shows in the sidebar when a user is logged in.
Any hint what code to add to template?

Screen Shot 2016-11-16 at 10.50.02 AM.webp
 
I don't know what the variable used to refer to the visiting user is, but if your currency is currency ID 1 something like
Code:
{xen:number {$user.credits_1}}
might work :)
Fillip

Thanks again.

It was not
{xen:number {$user.credits_1}}
but
{xen:number $visitor.credits_1}

I am still in the learning curve with Xenforo coming from vBulletin and every little bit of help usually points me in the right direction to figure things out and so did yours :)
 
Any idea what this error means?

Undefined index: credits_1 - library/DBTech/Credits/Model/Event.php:471

Code:
array(3) {
  ["url"] => string(55) "https://www.domain.com/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(43) "https://www.domain.com/admin.php?nodes/"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
 
Any idea what this error means?

Undefined index: credits_1 - library/DBTech/Credits/Model/Event.php:471

Code:
array(3) {
  ["url"] => string(55) "https://www.domain.com/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(3) {
    ["redirect"] => string(43) "https://www.domain.com/admin.php?nodes/"
    ["execute"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
  }
}
Have you updated to the latest version? IIRC this was fixed a couple versions ago.


Fillip
 
The credit addon is a priority purchase for my community. But while testing the demo, I have observed some few missing features which I have listed below as a suggestion.

1 (a). Withdrawal tab - bank deposit
(b). Withdrawal event

2. Purchase - bank deposit
3. Username event
4. Date of birth event
5. Register event

1 (a). Withdrawal - bank deposit
I'm suggesting you add a 'Withdrawal' tab after the 'Transfer' tab. It will be useful in communities where members are being rewarded with real money and a payout is required. Maybe for the start, a manual form filled by user to request a direct bank transfer to user's bank account. This will require a plain form 1.) Account name 2.) Account number 3.) Bank name, inside the 'Withdrawal' tab that will submit to the 'Transaction Log' as pending and admin can mark as 'Paid' after user has been manually paid.

1 (b). Withdrawal event
To control withdrawal rate, the admin can charge for every single withdrawal

2. Purchase - bank deposit
This is same as number 1 (a) above. But the member should be able to choose bank deposit as the purchase method. This will also require a plain form 1.) Payee name 2.) Payee username 3.) Amount paid 4.) Payment receipt number 5.) Admin bank account info where deposit will be made.

3. Username event
I'm suggesting a new event where user can be charged to change username.

4. Date of birth event
I'm suggesting a new event where user can be charged to change their date of birth

5. Register event
I'm suggesting a new event where user will be rewarded for registration
 
1 (b). Withdrawal event
2. Purchase - bank deposit
At this time, we have no plans of adding a feature that allows users to convert virtual currency to real world currency. If we were to do that, people would start requesting integration with obscure and localised online systems that allow depositing into people's bank accounts, which is a can of worms I would rather not open.

That being said, you could achieve this via our DragonByte Shop mod: https://xenforo.com/community/resources/dbtech-dragonbyte-shop.5019/ by creating a "Custom Item" item and using the 5 input areas to request these bank details.

3. Username event

4. Date of birth event
That is not something this mod can do. This mod is not intended to let you unlock features that XF permissions do not let you, if we were to add such a feature it would be in our DragonByte Shop mod.

5. Register event
This is already a feature :)


Fillip
 
DragonByte Tech updated [DBTech] DragonByte Credits with a new update entry:

4.0.0 Beta 3

Feature: New Rebuild Options: Avatar, MediaGallery Rate, MediaGallery Rated, Purchase, Registration, Sticky, XenResource Rate, XenResource Rated
Change: The Rebuild feature now displays the event trigger title while rebuilding
Change: When the Rebuild feature is done processing a certain event trigger, it’ll say "Done" instead of "0"
Fix: Fixed an issue where the XenResource Upload event trigger would not rebuild correctly
Fix: Fixed an issue where the Post...

Read the rest of this update entry...
 
@DragonByte Tech I'm trying to set 24 hour limitation on bank deposit (and withdraw) event, so that users can deposit/withdraw only once per day. Are these setting correct?

bank 1 day setting.webp

I have noticed a problem when above setting is enabled. When a user first time deposit an amount it work correctly, but if a user try to deposit again within 24 hours, the amount is deposited successfully and amount is not deducted from user's wallet.
 
Last edited:
If that event is tied to DragonByte Shop, do not modify the settings in any way, shape or form. Those settings do not apply to the "Integration" events from DB Shop or DB Donate. There is no way to limit deposits like that, and if there was, it would be happening in DB Shop, not DB Credits.

Sorry.


Fillip
 
If that event is tied to DragonByte Shop, do not modify the settings in any way, shape or form. Those settings do not apply to the "Integration" events from DB Shop or DB Donate.
okay, I have reverted those settings.
There is no way to limit deposits like that, and if there was, it would be happening in DB Shop, not DB Credits.
Trying to achieve this via an item in DB Shop but there is a problem. Seems like the Bank permission does not seem to work correctly, if I set permission No ( in admin.php?user-groups/ ) it just hides the bank links but do not actually stop user accessing the bank page if the bank page URL is known.
 
Trying to achieve this via an item in DB Shop but there is a problem. Seems like the Bank permission does not seem to work correctly, if I set permission No ( in admin.php?user-groups/ ) it just hides the bank links but do not actually stop user accessing the bank page if the bank page URL is known.
I'll look into that for a future version :)


Fillip
 
I'll look into that for a future version :)


Fillip
Thank you. Please also consider adding a few new usergroup permissions (which have been suggested previously)
  • Can view Steal
  • Can view Lottery
  • Can view Trade
Currently they are enable/disable globally, usergroup permissions are also needed :)
 
Thank you. Please also consider adding a few new usergroup permissions (which have been suggested previously)
  • Can view Steal
  • Can view Lottery
  • Can view Trade
Currently they are enable/disable globally, usergroup permissions are also needed :)
Both the permissions issue and those 3 UG permissions will be added to the next version :)


Fillip
 
Back
Top Bottom