Referral Contests 2 by Siropu

Referral Contests 2 by Siropu [Paid] 2.3.3

No permission to buy (€29.99)
I'm trying to decide between two addons "Referral Contests 2" and "Referral System". They seem to offer similar features. Can someone explain the key differences between them to help me decide which one to get?
Thanks!
 
@Siropu Server error log from this addon.

Code:
InvalidArgumentException: Cannot convert IP 'bb??' to binary src/XF/Repository/IpRepository.php:245

Generated by: Unknown account Jul 18, 2024 at 9:51 PM

Stack trace

#0 src/addons/Siropu/ReferralContests/XF/Entity/User.php(108): XF\Repository\IpRepository->getUsersByIp('bb??')
#1 src/addons/NF/Discord/XF/Entity/User.php(140): Siropu\ReferralContests\XF\Entity\User->_postSave()
#2 src/XF/Mvc/Entity/Entity.php(1324): NF\Discord\XF\Entity\User->_postSave()
#3 src/XF/Service/User/RegistrationService.php(320): XF\Mvc\Entity\Entity->save()
#4 src/XF/Service/ValidateAndSavableTrait.php(42): XF\Service\User\RegistrationService->_save()
#5 src/XF/Pub/Controller/RegisterController.php(334): XF\Service\User\RegistrationService->save()
#6 src/addons/SV/SignupAbuseBlocking/XF/Pub/Controller/Register.php(110): XF\Pub\Controller\RegisterController->actionConnectedAccountRegister(Object(XF\Mvc\ParameterBag))
#7 src/XF/Mvc/Dispatcher.php(362): SV\SignupAbuseBlocking\XF\Pub\Controller\Register->actionConnectedAccountRegister(Object(XF\Mvc\ParameterBag))
#8 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Register', 'ConnectedAccoun...', Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#9 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\SignupAbuseBlocking\XF\Pub\Controller\Register), Object(XF\Mvc\Reply\Reroute))
#10 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#11 src/XF/App.php(2777): XF\Mvc\Dispatcher->run()
#12 src/XF.php(798): XF\App->run()
#13 index.php(23): XF::runApp('XF\\Pub\\App')
#14 {main}

Request state

array(4) {
  ["url"] => string(50) "/login/register/connected-accounts/google/register"
  ["referrer"] => string(64) "/register/connected-accounts/google/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(15) {
    ["_xfToken"] => string(8) "********"
    ["username"] => string(7) "rasel34"
    ["dob_month"] => string(1) "1"
    ["dob_day"] => string(2) "22"
    ["dob_year"] => string(4) "1997"
    ["location"] => string(10) "Bangladesh"
    ["custom_fields"] => array(2) {
      ["gender"] => string(4) "male"
      ["siropu_referrer"] => string(9) "raselkupa"
    }
    ["email_choice"] => string(1) "1"
    ["accept"] => string(1) "1"
    ["_xfRedirect"] => string(98) "/smeye.88835/page-10"
    ["timezone"] => string(13) "Europe/Moscow"
    ["timetaken"] => string(7) "110.372"
    ["_xfRequestUri"] => string(42) "/login/register/connected-accounts/google/"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
My only suggestion is to contain the referral link in a textbox next to the [copy] button (if enabled).

The URL is a little bit too long and it would be more aesthetic if it were in a textbox where the link could be selected manually (a tap on mobile or tap/drag and copy on desktop) to the left of the [copy] button. It'd take up less page real estate too, removing a "line".

1725191929046.webp
 
@Siropu Can we make it so Referrer will autofollow the referral too? So a separate checkbox that says "Enable referrer auto-follow referral"
I need both sides to follow each other.
1728471645093.webp
 
Siropu updated Referral Contests 2 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...
 
Hi Siropu, I tried to write to you via the support link inside the add-on box, but I received an error. I'll copy it here if that's ok..

Hi there,

I've disabled all add-ons except Referral System 1.1.4 and Referral Contests 2.3.3. When they are both active, I get an error message only when I click my avatar picture or notification email icon in the top menu bar (see screen shots).

The error message says,

"
Oops! We ran into some problems.
Oops! We ran into some problems. Please try again later. More error details may be in the browser console."

The console shows





Blocked aria-hidden on an element because its descendant retained focus. The focus must not be hidden from assistive technology users. Avoid using aria-hidden on a focused element or its ancestor. Consider using the inert attribute instead, which will also prevent focus. For more details, see the aria-hidden section of the WAI-ARIA specification at . Element with focus: <a.overlay-titleCloser js-overlayClose> Ancestor with aria-hidden: <div.overlay>

Screenshot 2025-12-30 at 9.26.07 PM.webp


I have tried rebuilding both add-ons and the issue persists. Again, I disabled all add-ons and left just the Referral System and Referral Contests add-ons active. If I disable "referral contests" I can click the avatar / notification tabs. If I disable "referral system" I can also click the avatar / notification tabs. It looks like the issue is them both working at the same time.

I'm using the stock Xenforo theme.

Hope you can help. Let me know if you need Admin access?

Thank You,

Dan
 

Attachments

  • Screenshot 2025-12-30 at 9.16.03 PM.webp
    Screenshot 2025-12-30 at 9.16.03 PM.webp
    50.2 KB · Views: 2
  • Screenshot 2025-12-30 at 9.13.54 PM.webp
    Screenshot 2025-12-30 at 9.13.54 PM.webp
    106 KB · Views: 2
  • Screenshot 2025-12-30 at 9.13.46 PM.webp
    Screenshot 2025-12-30 at 9.13.46 PM.webp
    75.5 KB · Views: 2
  • Screenshot 2025-12-30 at 9.23.16 PM.webp
    Screenshot 2025-12-30 at 9.23.16 PM.webp
    33.3 KB · Views: 2
Some more info - this is from when clicking on the notification bell icon in the header with both referral system and referral contests adding activated.

I also deleted both add-ons and reinstalled with no change.
 

Attachments

  • Screenshot 2025-12-31 at 12.35.46 AM.webp
    Screenshot 2025-12-31 at 12.35.46 AM.webp
    76 KB · Views: 1
Back
Top Bottom