You can use the "User promotions" system in XF2 to promote users, and Credits does insert itself into the User Criteria system, so that may work for youI bought it about an hour ago. Is there a way to link the credits to a level system or advance a user's rank with credits?
You can use the "User promotions" system in XF2 to promote users, and Credits does insert itself into the User Criteria system, so that may work for you
Fillip
You can integrate the Shop currency with the Credits currency by changing the points field to be equal between them, and also selecting the DB Credits currency in the integration menu in the currency settings.Thanks! I'm looking into how to do that for Trophie's as well. Another question came to mind. The Dragon Shop and Dragon Credits addons have created two entities known as Credits. Once counts characters. The other does not. How do I get the Shop to use the Currency listed under the Credits Addon?
Thanks!
XF\Db\Exception: MySQL query error [1264]: Out of range value for column 'dbtech_credits_credits' at row 1 in src/XF/Db/AbstractStatement.php at line 212
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 196
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 77
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 79
XF\Db\AbstractAdapter->query() in src/addons/DBTech/Credits/Application/Db.php at line 785
DBTech\Credits\Application\Db->query() in src/addons/DBTech/Credits/Model/Event/AbstractEvent.php at line 649
DBTech\Credits\Model\Event\AbstractEvent->_commit() in src/addons/DBTech/Credits/Model/Event/AbstractEvent.php at line 598
DBTech\Credits\Model\Event\AbstractEvent->trigger() in src/addons/DBTech/Credits/Model/Event/Warning.php at line 45
DBTech\Credits\Model\Event\Warning->apply() in src/addons/DBTech/Credits/XF/Entity/Warning.php at line 50
DBTech\Credits\XF\Entity\Warning->_postSave() in src/XF/Mvc/Entity/Entity.php at line 1145
XF\Mvc\Entity\Entity->save() in src/XF/Service/User/Warn.php at line 169
XF\Service\User\Warn->_save() in src/XF/Service/ValidateAndSavableTrait.php at line 40
XF\Service\User\Warn->save() in src/XF/ControllerPlugin/Warn.php at line 41
XF\ControllerPlugin\Warn->actionWarn() in src/XF/Pub/Controller/Member.php at line 975
XF\Pub\Controller\Member->actionWarn() in src/XF/Mvc/Dispatcher.php at line 249
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 88
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 41
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 328
XF::runApp() in index.php at line 13
ALTER TABLE xf_user MODIFY dbtech_credits_credits DOUBLE NOT NULL DEFAULT '0'
You can integrate the Shop currency with the Credits currency by changing the points field to be equal between them, and also selecting the DB Credits currency in the integration menu in the currency settings.
Fillip
Thanks for the reply! I'm trying to wrap my head around this. So I've enabled integration and posting awards the integrated currency, but it doesn't change/move the Shop Currency at all. So it's not accumulating and working properly so I can purchase anything. There has to be a setting somewhere that I am missing.
You may have done some of these steps already, so treat this as a checklist:
In the "Event Settings" you can limit it to postings in particular forums or by particular usergroups. I would select nothing for those until you're sure it works. Hopefully this helps. It's easier once you've made the first one.
- AdminCP
- DragonByte Credits
- Options
- General Options
- Enable Modification
- Event Options
- Enable Events
- Manage Currencies
- Credits (or whichever currency you're using)
- Main Settings
- Active: Yes
- Currency Settings
- Make note of the column (default for 'Credits' is dbtech_credits_credits)
- Manage Events
- Add New Event: Post
- Main Settings
- Active: Yes
- Event Settings
- Currency: Credits
- Charge for Event Trigger: No
- Post Amount: 1 (or more)
- Post Negation Amount: Same as Post Amount
- Advanced Settings
- Frequency: 1
- Maximum Applications: 0
- Limit Period: 0
- Display in Transaction Log: Yes
- Event Trigger Specific Settings
- Thread ID: none or 0
- DragonByte Shop
- Options
- General Options
- Enable Modification
- Enable Points Accumulation: Off (your points are coming from DBCredits)
- Manage Currencies
- Points (or whichever currency you're using)
- Main Settings
- Active: Yes
- Currency Settings
- Points Column: the column from the other currency (again, default is dbtech_credits_credits)
- Points per Post: 0 (you'll gain currency from the DBCredits Events)
- Points per Thread: 0 (you'll gain currency from the DBCredits Events)
- Advanced Settings
- Integrated Currency: Credits
Got it working. Is there a way to set it up so that, for example, you use your Points to buy something from the shop but it doesn't detract from Credits? Only Shop Points?
I don't think there's an option for that, but one way you could do it is to create a second currency, Dollahs, and have users gain them at the same rate as Credits. So the one currency will show the maximum currency attained and the other one will be spent on Shop purchases.
No worries! I did exactly that and it worked! Thanks so much! New problem though. When setting up a paycheck event, the section that lets me specify length of time between payouts isn't showing up.
This is one of the things I'm going to make sure to improve in the re-engineered version - I made it so it would be possible for me (running in debug mode) to modify the event trigger settings, but it had unintended consequences when dealing with disabled checkboxes and forms that could lead to erasing all the settings for event triggers, which is somewhat sub-optimal.Be careful not to delete anything in Event Triggers, though. That could cause you to have to reinstall the add-ons and start over.
This is one of the things I'm going to make sure to improve in the re-engineered version - I made it so it would be possible for me (running in debug mode) to modify the event trigger settings, but it had unintended consequences when dealing with disabled checkboxes and forms that could lead to erasing all the settings for event triggers, which is somewhat sub-optimal.
Fillip
Thanks for all your help. I bought both the XenForo software and the Dragon stuff within hours of itself. Having someone to bounce basic setup questions off has been immensely helpful and proof that I made the right call.
It should be hotfixed in the latest version but I will review every piece of functionality - after all, I have to, since almost 0% of the existing code will be keptSounds good.
Will you also be updating the filters for the Transaction Log? I can't recall if I've seen it reported, yet, but I've noticed it won't actually filter for users, and filters for event/currency will disappear if you try to go to the next page. Not a major issue, of course, but now I've got someone complaining his points aren't right and I have 103 pages of transaction log to sift through to show him that yes, they are correct.
We use essential cookies to make this site work, and optional cookies to enhance your experience.