New Features:
Alert Preferences
- Users can selectively disable notifications for each different event trigger
Currency
- The currency settings "Maximum Earned" and "Limit Period" are now implemented
Events
- The event settings "Frequency", "Maximum Applications" and "Limit Period" are now implemented
Transactions: Display Options
- Order by Date or Amount in ascending or descending order...
I've sent you a PMCan I change my vB Credits lifetime version over to it, XF Credits?
New Features:
AdminCP
- Added compatibility with upcoming "Integration" product designed to create a dedicated AdminCP tab for all DragonByte Tech products
Event: Daily Activity
- Awarded on first login each day
- Usergroups that can be affected by this event
- Charge for event trigger
- Daily Activity amount
- Random Addition
- Frequency
- Maximum Applications
- Limit Period
- Alert
Event: Follow
- ...
Indeed it is, you can limit the events by usergroup(s) and forum(s). For instance, you could make an event that awards 5 credits for posting a new thread to every usergroup except admins, in all forums except your spam forums1. Create new thread: it is possible to asign a particular forum instead of all?
You can create virtually unlimited different events with different event configurations. In the global options for this mod, you can choose whether only the best, or all, events apply. For instance, let's say a user matches the criteria for an event that awards 5 credits, and an event that awards 10 credits. With the "Best" setting (default), they will earn 10 credits. With the "All" setting, they will earn 15, each event with its own individual transaction log entry.1.2 it is possible to develop many triggers to many different subforums?
Indeed they can, by clicking the currency display a popup will appear where you can purchase credits from a "Purchase" tab. By right-clicking the tab and hitting Copy Link, you can create a direct link to purchasing credits which you can add to any template anywhere in XF if you would like to have an easier way of purchasing credits.2. Can users buy credits with real money (with PayPal)?
This is planned, but at this time I've not found a good way of doing this that3. It is possible to automatically give credits weekly or monthly (like a salary)?
They absolutely do not need to log out/log in, it's checked on every page load4. Daily login: it is necessary for the user to log out and log in every time or just for entering the page they'll earn the free credit
Indeed there is5. Are there any birthday credits?
I believe not, no. There's extensive privacy settings per-currency (coupled with a usergroup permission for who can see "hidden" currencies), and I believe they should be applied correctly on the statistics / transaction log page. If this turns out not to be the case, I will hotfix it immediately after reading the report6. User without permissions are able to see the statistics? Like the poorest or richest user
New Features:
Revamped Navbar
- The navbar tab can now be moved to any of the available hook locations in the navbar area via a revamped setting
- The navbar tab now includes a user's total amount of credits as well as a direct link to purchase credits, if any Purchase events are set up
- The navbar tab can now integrate its items into the DragonByte Shop navbar tab, if you would rather have one unified tab than two
User Management
- ...
Server Error
Invalid argument supplied for foreach()
XenForo_Application::handlePhpError() in DBTech/Credits/Event.php at line 244
DBTech_Credits_Event->trigger() in DBTech/Credits/Event/Daily.php at line 9
DBTech_Credits_Event_Daily->apply() in DBTech/Credits/XenForo/EventListener/VisitorSetup.php at line 15
DBTech_Credits_XenForo_EventListener_VisitorSetup::listen()
call_user_func_array() in XenForo/CodeEvent.php at line 90
XenForo_CodeEvent::fire() in XenForo/Visitor.php at line 477
XenForo_Visitor::setup() in XenForo/Session.php at line 419
XenForo_Session::startAdminSession() in XenForo/ControllerAdmin/Abstract.php at line 48
XenForo_ControllerAdmin_Abstract->_setupSession() in XenForo/Controller.php at line 306
XenForo_Controller->preDispatch() in XenForo/FrontController.php at line 350
XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
XenForo_FrontController->run() in /home/takethep/public_html/admin.php at line 13
Server Error Log
Error Info
ErrorException: Invalid argument supplied for foreach() - library/DBTech/Credits/Event.php:244
Generated By: Regs, 10 minutes ago
Stack Trace
#0 /home/takethep/public_html/library/DBTech/Credits/Event.php(244): XenForo_Application::handlePhpError(2, 'Invalid argumen...', '/home/takethep/...', 244, Array)
#1 /home/takethep/public_html/library/DBTech/Credits/Event/Daily.php(9): DBTech_Credits_Event->trigger('daily', 1, '', false, Array)
#2 /home/takethep/public_html/library/DBTech/Credits/XenForo/EventListener/VisitorSetup.php(15): DBTech_Credits_Event_Daily->apply(1, 1458543600, '')
#3 [internal function]: DBTech_Credits_XenForo_EventListener_VisitorSetup::listen(Object(XenForo_Visitor))
#4 /home/takethep/public_html/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#5 /home/takethep/public_html/library/XenForo/Visitor.php(477): XenForo_CodeEvent::fire('visitor_setup', Array)
#6 /home/takethep/public_html/library/XenForo/Session.php(419): XenForo_Visitor::setup(1, Array)
#7 /home/takethep/public_html/library/XenForo/ControllerAdmin/Abstract.php(48): XenForo_Session::startAdminSession(Object(Zend_Controller_Request_Http))
#8 /home/takethep/public_html/library/XenForo/Controller.php(306): XenForo_ControllerAdmin_Abstract->_setupSession('Index')
#9 /home/takethep/public_html/library/XenForo/FrontController.php(350): XenForo_Controller->preDispatch('Index', 'DBTech_Credits_...')
#10 /home/takethep/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/takethep/public_html/admin.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(57) "http://www.mydomain.com/admin.php?dbtech-credits/event"
["_GET"] => array(1) {
["dbtech-credits/event"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Server Error Log
Error Info
ErrorException: Undefined offset: 2 - library/DBTech/Credits/Event.php:244
Generated By: Regs, 13 minutes ago
Stack Trace
#0 /home/takethep/public_html/library/DBTech/Credits/Event.php(244): XenForo_Application::handlePhpError(8, 'Undefined offse...', '/home/takethep/...', 244, Array)
#1 /home/takethep/public_html/library/DBTech/Credits/Event/Daily.php(9): DBTech_Credits_Event->trigger('daily', 1, '', false, Array)
#2 /home/takethep/public_html/library/DBTech/Credits/XenForo/EventListener/VisitorSetup.php(15): DBTech_Credits_Event_Daily->apply(1, 1458543600, '')
#3 [internal function]: DBTech_Credits_XenForo_EventListener_VisitorSetup::listen(Object(XenForo_Visitor))
#4 /home/takethep/public_html/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#5 /home/takethep/public_html/library/XenForo/Visitor.php(477): XenForo_CodeEvent::fire('visitor_setup', Array)
#6 /home/takethep/public_html/library/XenForo/Session.php(419): XenForo_Visitor::setup(1, Array)
#7 /home/takethep/public_html/library/XenForo/ControllerAdmin/Abstract.php(48): XenForo_Session::startAdminSession(Object(Zend_Controller_Request_Http))
#8 /home/takethep/public_html/library/XenForo/Controller.php(306): XenForo_ControllerAdmin_Abstract->_setupSession('Index')
#9 /home/takethep/public_html/library/XenForo/FrontController.php(350): XenForo_Controller->preDispatch('Index', 'DBTech_Credits_...')
#10 /home/takethep/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/takethep/public_html/admin.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(57) "http://www.mydomain.com/admin.php?dbtech-credits/event"
["_GET"] => array(1) {
["dbtech-credits/event"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Server Error Log
Error Info
ErrorException: Undefined index: credits_1 - library/DBTech/Credits/Event.php:466
Generated By: Regs, 14 minutes ago
Stack Trace
#0 /home/takethep/public_html/library/DBTech/Credits/Event.php(466): XenForo_Application::handlePhpError(8, 'Undefined index...', '/home/takethep/...', 466, Array)
#1 /home/takethep/public_html/library/DBTech/Credits/Event/Daily.php(9): DBTech_Credits_Event->trigger('daily', 1, '', false, Array)
#2 /home/takethep/public_html/library/DBTech/Credits/XenForo/EventListener/VisitorSetup.php(15): DBTech_Credits_Event_Daily->apply(1, 1458543600, '')
#3 [internal function]: DBTech_Credits_XenForo_EventListener_VisitorSetup::listen(Object(XenForo_Visitor))
#4 /home/takethep/public_html/library/XenForo/CodeEvent.php(90): call_user_func_array(Array, Array)
#5 /home/takethep/public_html/library/XenForo/Visitor.php(477): XenForo_CodeEvent::fire('visitor_setup', Array)
#6 /home/takethep/public_html/library/XenForo/Session.php(419): XenForo_Visitor::setup(1, Array)
#7 /home/takethep/public_html/library/XenForo/ControllerAdmin/Abstract.php(48): XenForo_Session::startAdminSession(Object(Zend_Controller_Request_Http))
#8 /home/takethep/public_html/library/XenForo/Controller.php(306): XenForo_ControllerAdmin_Abstract->_setupSession('Index')
#9 /home/takethep/public_html/library/XenForo/FrontController.php(350): XenForo_Controller->preDispatch('Index', 'DBTech_Credits_...')
#10 /home/takethep/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#11 /home/takethep/public_html/admin.php(13): XenForo_FrontController->run()
#12 {main}
Request State
array(3) {
["url"] => string(57) "http://www.mydomain.com/admin.php?dbtech-credits/event"
["_GET"] => array(1) {
["dbtech-credits/event"] => string(0) ""
}
["_POST"] => array(0) {
}
}
Yes, I had 2 currencies set-up.@RDR: Not sure what happened there, sorry about that
Do you have more than one currency created?
Regardless, I've added code to the /library/DBTech/Credits/Event.php file that should resolve those issues, if you re-download the mod and re-upload the files.
Fillip
The username isn't needed for the Alerts method, can you double-check your Alert Preferences in your User CP to make sure all the bits under DragonByte Credits are checked?I have my username filled in and have set (Pro) Transaction Alert Method to Alerts and no alerts are being sent.
I've double-checked each event and made sure Alert is set to Yes on the event Advanced Settings tab.
What am I missing?
Cheers,
Regs.
We use essential cookies to make this site work, and optional cookies to enhance your experience.