Referral System by Siropu

Referral System by Siropu [Paid] 1.1.3

No permission to buy (€14.99)
Good day Siropu, can an admin/mod assign an already registered member before installation of this add-on as a referral of someone? Basically assigning manually a member as a referred member.
 
Getting lots of error messages in ACP.

Server error log
  • ErrorException: Template error: [E_USER_WARNING] Function siropu_rs_referral_message is unknown
  • src/XF/Template/Templater.php:1109
  • Generated by: Unknown account
  • Nov 2, 2023 at 12:57 AM

Stack trace​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/boardga1/...', 1109)
#1 src/XF/Template/Templater.php(1109): trigger_error('Function siropu...', 512)
#2 internal_data/code_cache/templates/l1/s3/public/PAGE_CONTAINER.php(2217): XF\Template\Templater->func('siropu_rs_refer...', Array, true)
#3 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 src/XF/Pub/App.php(565): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#5 src/XF/App.php(2285): XF\Pub\App->renderPageHtml('







<div ...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#6 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('







<div ...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#7 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state​

array(4) {
["url"] => string(14) "/news/authors/"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}

Server error log
  • ErrorException: Template error: [E_USER_WARNING] Function siropu_rs_referral_link_param is unknown
  • src/XF/Template/Templater.php:1109
  • Generated by: Unknown account
  • Nov 1, 2023 at 9:21 PM

Stack trace​

#0 [internal function]: XF\Template\Templater->handleTemplateError(512, '[E_USER_WARNING...', '/home/boardga1/...', 1109)
#1 src/XF/Template/Templater.php(1109): trigger_error('Function siropu...', 512)
#2 internal_data/code_cache/templates/l1/s3/public/metadata_macros.php(189): XF\Template\Templater->func('siropu_rs_refer...', Array, true)
#3 src/XF/Template/Templater.php(827): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#4 internal_data/code_cache/templates/l1/s3/public/PAGE_CONTAINER.php(1479): XF\Template\Templater->callMacro('metadata_macros', 'share_url', Array, Array)
#5 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#6 src/XF/Pub/App.php(565): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#7 src/XF/App.php(2285): XF\Pub\App->renderPageHtml('






<form...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#8 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage('






<form...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#9 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#10 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#11 src/XF.php(524): XF\App->run()
#12 index.php(20): XF::runApp('XF\\Pub\\App')
#13 {main}

Request state​

array(4) {
["url"] => string(146) "/threads/what-games-absolutely-shouldve-gotten-an-expansion-and-what-games-got-an-expansion-but-wouldve-been-better-without-it.117/reply?quote=432"
["referrer"] => string(180) "https://www.boardgamedungeon.net/th...-been-better-without-it.117/?order=vote_score"
["_GET"] => array(1) {
["quote"] => string(3) "432"
}
["_POST"] => array(0) {
}
}
 
I'm trying to delete a user's account per his request, getting this error below. I did a rebuild of the add-on, tried again and same error.

Code:
Oops! We ran into some problems.
XF\Db\Exception: MySQL query error [1264]: Out of range value for column 'siropu_rs_referral_count' at row 1 in src/XF/Db/AbstractStatement.php at line 230
XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 78
XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 323
XF\Db\AbstractAdapter->update() in src/XF/Mvc/Entity/Entity.php at line 1362
XF\Mvc\Entity\Entity->fastUpdate() in src/addons/Siropu/ReferralSystem/XF/Entity/User.php at line 173
Siropu\ReferralSystem\XF\Entity\User->_postDelete() in src/XF/Mvc/Entity/Entity.php at line 1664
XF\Mvc\Entity\Entity->delete() in src/XF/Service/User/Delete.php at line 71
XF\Service\User\Delete->delete() in src/XF/Admin/Controller/User.php at line 727
XF\Admin\Controller\User->actionDelete() in src/XF/Mvc/Dispatcher.php at line 352
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
XF\App->run() in src/XF.php at line 524
XF::runApp() in admin.php at line 13
 
Siropu updated Referral System by Siropu with a new update entry:

Improvements & Bug Fixes

Added a new option called "Enable referrer auto-follow referral" where referrer will auto-follow the referral upon registration.

Made some changes to the referral link where it is now displayed in an input field with a copy to clipboard function, for a more compact look.

Fixed an issue with the "Encrypt user ID" feature where the hashids script used is no longer compatible with PHP 8.2 or newer and it has been replaced with sqids. If you have been using this feature and running at least...

Read the rest of this update entry...
 
Back
Top Bottom