Competitions

Competitions [Paid] 2.1.10

No permission to buy (£50.00)
Can the following be done with your addon?

2) Have the functionality to set different ticket entry limits based on user criteria, without having to create different user groups every time. This also removes the limitation that the user has to wait for the user group promotion cron to run, before they can enter with their increased ticket rate. F.ex 20 posts gives 1 ticket, 40 posts + 1 resource provides another and so on. Utilizing the user criteria that are available, which in turn would make any addon that has custom user criteria, eligible for usage. (Bob Showcase addon etc etc).

3) New user criteria: Able to specify that users need to post in X forum node to qualify. Thus you can incentivize users posting in high value areas and less in off topic areas (while still allowing their posts in said areas to count towards their overall post count).

@Stuart could you answer this? I asked like 4 months ago.
 
@Stuart could you answer this? I asked like 4 months ago.
Apologies. I wasn't watching the thread, so I had no idea you replied. I'm watching it now.

Can the following be done with your addon?

2) Have the functionality to set different ticket entry limits based on user criteria, without having to create different user groups every time. This also removes the limitation that the user has to wait for the user group promotion cron to run, before they can enter with their increased ticket rate. F.ex 20 posts gives 1 ticket, 40 posts + 1 resource provides another and so on. Utilizing the user criteria that are available, which in turn would make any addon that has custom user criteria, eligible for usage. (Bob Showcase addon etc etc).

3) New user criteria: Able to specify that users need to post in X forum node to qualify. Thus you can incentivize users posting in high value areas and less in off topic areas (while still allowing their posts in said areas to count towards their overall post count).
2) What's a ticket? Don't know what a ticket is in the context of your question, so it doesn't make any sense to me, sorry.

3) Well look, most things are possible. It's a case of whether it's worth it.
You haven't been very specific. Do you mean the user has to have posted at least 1 thread in 1 specific forum? I think you need to flesh out your idea significantly.
Personally I wouldn't add this functionality because I have no use for it. I never use the criteria for entering competitions currently. Most sponsors want as many people to be able to enter as possible.
 
Last edited:
Slight bug. When viewing the archive of entrants, going from the initial primary page (entries) via the following url:

Code:
https://forum.domain.com/competitions/some-title.6/entries

to page 2, references the url as

Code:
https://forum.domain.com/competitions/entries?page=2

So it's dropping the "some-title.6" from the url string. Manually going to some-title.6/entries?page=2 works though.
 
Slight bug. When viewing the archive of entrants, going from the initial primary page (entries) via the following url:

Code:
https://forum.domain.com/competitions/some-title.6/entries

to page 2, references the url as

Code:
https://forum.domain.com/competitions/entries?page=2

So it's dropping the "some-title.6" from the url string. Manually going to some-title.6/entries?page=2 works though.
Thanks for reporting. Can you confirm the version you are using please?
 
Ok, I can't reproduce the problem

Code:
https://www.avforums.com/competitions/win-a-james-bond-007-scalextric-set.1207/entries
and the page nav buttons at the bottom link correctly e.g.
Code:
https://www.avforums.com/competitions/win-a-james-bond-007-scalextric-set.1207/entries?page=2
and clicking that takes me to page 2 and the nav links continue to be correct with page 3 being
Code:
https://www.avforums.com/competitions/win-a-james-bond-007-scalextric-set.1207/entries?page=3
and opening correctly.

Could you message me privately to give me a login so I can have a look to see what is going on please?
 
is there a phrase or template I can edit to rename the "Competitions" tab to "Giveaways"?

additionally, is there any way to remove the requirement for needing a question with an answer to enter?
 
Last edited:
is there a phrase or template I can edit to rename the "Competitions" tab to "Giveaways"?

additionally, is there any way to remove the requirement for needing a question with an answer to enter?
It’s fully phrased. Have you tried changing a phrase to see if it works?
The issue is that the routes will all use ‘competition’.
 
Just thought I would let you know; the Easter Sale on M2N Addons is live now, and will run until Apr 2, 2024 at 12:00 AM!

All products: 15% off

I should add that those thinking about renewing, we will be releasing an update on all (or nearly all) of our addons to support Xenforo 2.3 as soon as possible.
 
Last edited:
I am unable to disable this plugin, doing so stops any thread from working.

  • nvalidArgumentException: Invalid thread type 'competition'
  • src/XF/App.php:3149
  • Generated by: Unknown account
  • Jul 5, 2024 at 9:08 AM

Stack trace​

#0 src/XF/Repository/ThreadType.php(44): XF\App->threadType('competition')
#1 src/XF/Pub/Controller/Thread.php(156): XF\Repository\ThreadType->getThreadTypeListData(Array, 1)
#2 src/addons/MaZ/AMP/XF/Pub/Controller/Thread.php(28): XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): MaZ\AMP\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#4 src/addons/SV/UserActivity/XF/Pub/Controller/Thread.php(15): XFMG\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(352): SV\UserActivity\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(SV\ReportCentreEssentials\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportCentreEssentials\XF\Pub\Controller\Thread), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state​

array(4) {
["url"] => string(80) "/forum.x.com/threads/giveaway-steam-game-prison-architect.1027255/page-13"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
I am unable to disable this plugin, doing so stops any thread from working.

  • nvalidArgumentException: Invalid thread type 'competition'
  • src/XF/App.php:3149
  • Generated by: Unknown account
  • Jul 5, 2024 at 9:08 AM

Stack trace​

#0 src/XF/Repository/ThreadType.php(44): XF\App->threadType('competition')
#1 src/XF/Pub/Controller/Thread.php(156): XF\Repository\ThreadType->getThreadTypeListData(Array, 1)
#2 src/addons/MaZ/AMP/XF/Pub/Controller/Thread.php(28): XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/addons/XFMG/XF/Pub/Controller/Thread.php(11): MaZ\AMP\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#4 src/addons/SV/UserActivity/XF/Pub/Controller/Thread.php(15): XFMG\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(352): SV\UserActivity\XF\Pub\Controller\Thread->actionIndex(Object(XF\Mvc\ParameterBag))
#6 src/XF/Mvc/Dispatcher.php(258): XF\Mvc\Dispatcher->dispatchClass('XF:Thread', 'Index', Object(XF\Mvc\RouteMatch), Object(SV\ReportCentreEssentials\XF\Pub\Controller\Thread), NULL)
#7 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\ReportCentreEssentials\XF\Pub\Controller\Thread), NULL)
#8 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#9 src/XF/App.php(2485): XF\Mvc\Dispatcher->run()
#10 src/XF.php(524): XF\App->run()
#11 index.php(20): XF::runApp('XF\\Pub\\App')
#12 {main}

Request state​

array(4) {
["url"] => string(80) "/forum.x.com/threads/giveaway-steam-game-prison-architect.1027255/page-13"
["referrer"] => bool(false)
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
Investigating. What version of Xenforo and the Competitions addon are you using?
 
Does this add-on have a way of displaying a list of all the entrants participating in the competition? I'm looking for a solution that allows the members to submit a form as a means to officially enter a competition. I'd like to then display all the entrants and what they answered in the form. Does the Competitions add-ons do this?
 
Does this add-on have a way of displaying a list of all the entrants participating in the competition? I'm looking for a solution that allows the members to submit a form as a means to officially enter a competition. I'd like to then display all the entrants and what they answered in the form. Does the Competitions add-ons do this?
Competitions are entered via a form (with radio buttons to select the correct answer) and we have a competitions archive page which displays a paginated list of all entrants for each competition, although it's designed to be available to admin because it has some edit controls. And we don't display the answer they selected, but instead simply whether their answer is correct or not.
 
The issue is that the competitions addon creates a competition thread type and there is no method in Xenforo to cater for removed custom thread types. We're still figuring this out, bit I've asked the coder to bump it to the top of the list.
 
The issue is that the competitions addon creates a competition thread type and there is no method in Xenforo to cater for removed custom thread types. We're still figuring this out, bit I've asked the coder to bump it to the top of the list.
Maybe put a notice on future purchases or make a dummy plugin to resolve it for now?
 
Back
Top Bottom