Raffles for XenForo 1.x [Deleted]

I am retracting my previous request for notification. I have entered the raffle a second time and a prominent "Your entry has been recorded" is displayed at the top. I'm not sure if my screen did not show this before or if I didn't notice it or it glitched, but as long as that is displayed this is sufficient.


I will ask this question, is there any planned support for assigned winners to the individual prizes? I have a raffle with 10 winners. 5 of the prizes are different, one of the prizes there are 5 of.


Lastly, sorry to be a bug, but when the credits are spent on the raffle, how can I make it show up as 'credits spent' in ******* credits? If this is a problem for them, what would they need to know?
 
Last edited:
God, I'm back again! Sorry.

Getting Timezone ID is invalid errors on drawraffles.php line 28 and Raffle.php line 93, Details.php:24, index.php:29, mysqli.php:214

I have gone into my board information and and saved my time zone(Set to london UTC+0) as well as the admin user profile which I created the raffle to the same timezone.

I have disabled, not uninstalled, every addon that I have and only left Raffles on, and the errors are still generated. Once every 5-10 minutes there is one.

Code:
Error Info
ErrorException: date_default_timezone_set() [<a href='function.date-default-timezone-set'>function.date-default-timezone-set</a>]: Timezone ID '' is invalid -library/Snog/Raffles/Model/DrawRaffles.php:28
Generated By: Unknown Account, A moment ago
Stack Trace
#0 [internal function]: XenForo_Application::handlePhpError(8, 'date_default_ti...', '/home/xxxxx/...', 28, Array)
#1 /home/xxxxx/public_html/community/library/Snog/Raffles/Model/DrawRaffles.php(28): date_default_timezone_set('')
#2 /home/xxxxx/public_html/community/library/Snog/Raffles/CronEntry/DrawRaffles.php(22): Snog_Raffles_Model_DrawRaffles->drawRaffles()
#3 [internal function]: Snog_Raffles_CronEntry_DrawRaffles::drawRaffles(Array)
#4 /home/xxxxx/public_html/community/library/XenForo/Model/Cron.php(356): call_user_func(Array, Array)
#5 /home/xxxxx/public_html/community/library/XenForo/Deferred/Cron.php(24): XenForo_Model_Cron->runEntry(Array)
#6 /home/xxxxx/public_html/community/library/XenForo/Model/Deferred.php(256): XenForo_Deferred_Cron->execute(Array, Array, 7.99999213219, '')
#7 /home/xxxxx/public_html/community/library/XenForo/Model/Deferred.php(390): XenForo_Model_Deferred->runDeferred(Array, 7.99999213219, '', false)
#8 /home/xxxxx/public_html/community/library/XenForo/Model/Deferred.php(335): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#9 /home/xxxxx/public_html/community/deferred.php(23): XenForo_Model_Deferred->run(false)
#10 {main}
Request State
array(3) {
["url"] => string(45) "http://community.xxxxxxxxx.com/deferred.php"
["_GET"] => array(0) {
}
["_POST"] => array(4) {
["_xfRequestUri"] => string(10) "/admin.php"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(8) "********"
["_xfResponseType"] => string(4) "json"
}
}
 
Last edited:
God, I'm back again! Sorry.

Getting Timezone ID is invalid errors on drawraffles.php line 28 and Raffle.php line 93, Details.php:24, index.php:29, mysqli.php:214

I have gone into my board information and and saved my time zone(Set to london UTC+0) as well as the admin user profile which I created the raffle to the same timezone.

I have disabled, not uninstalled, every addon that I have and only left Raffles on, and the errors are still generated. Once every 5-10 minutes there is one.

The only way I can duplicate this is if the Raffle Admin User ID in ACP->Home->Options->Raffle Options is set to zero. Please double check that setting.
 
I am retracting my previous request for notification. I have entered the raffle a second time and a prominent "Your entry has been recorded" is displayed at the top. I'm not sure if my screen did not show this before or if I didn't notice it or it glitched, but as long as that is displayed this is sufficient.


I will ask this question, is there any planned support for assigned winners to the individual prizes? I have a raffle with 10 winners. 5 of the prizes are different, one of the prizes there are 5 of.


Lastly, sorry to be a bug, but when the credits are spent on the raffle, how can I make it show up as 'credits spent' in ******* credits? If this is a problem for them, what would they need to know?
There are no plans for assigning prizes to winners. On sites with multiple prizes, the order in which the winners are drawn establish who wins what prize and that is usually set out in the description for the raffle.

There are also no plans for logging support for the various credit systems. The raffle system simply deducts the raffle cost from the user's balance.
 
There are no plans for assigning prizes to winners. On sites with multiple prizes, the order in which the winners are drawn establish who wins what prize and that is usually set out in the description for the raffle.

There are also no plans for logging support for the various credit systems. The raffle system simply deducts the raffle cost from the user's balance.

I understand. I have not drawn a raffle yet so I am not quite familiar with how the drawing system works. I'll test that part out!
 
@Snog How does the Multiple Prize raffle work i have not tested it yet lol but going to yolo it. Just would be interested to know if you can answer before the raffle is drawn in my community hehe.

Does the Winners randomly get assigned a prize? Is there an option to Just see a list of winners and then allow in succession of the first picked winner to choose their prize then go down the list of winners?
 
@Snog How does the Multiple Prize raffle work i have not tested it yet lol but going to yolo it. Just would be interested to know if you can answer before the raffle is drawn in my community hehe.

Does the Winners randomly get assigned a prize? Is there an option to Just see a list of winners and then allow in succession of the first picked winner to choose their prize then go down the list of winners?
The raffle system does not assign a prize in multiple prize raffles. It simply draws multiple winners.

If you have different prizes for your raffle you should have it spelled out in the raffle description or rules that the first winner drawn wins prize #1, the second winner drawn wins prize #2, etc..
 
can i sell cradits for raffles? and also this works Brivium - Credits Resource Integration or i need premium?
According to that add-on's description, you need credits premium for it to work.

The raffle system should integrate with whatever credit system you use.
 
Couple of questions @Snog

Is there anyway I can stop the sideblock appearing on other pages? I only want it on Home (Featured Threads Portal) and Forum Index but it also appears on my arcade, sportsbook, showcase, members and xbox live pages - if there's not a simple solution already available it doesn't matter.

Also, is it possible to post the winner of the raffle in the same thread as the raffle announcement instead of creating a new thread for winners?
 
Last edited:
Couple of questions @Snog

Is there anyway I can stop the sideblock appearing on other pages? I only want it on Home (Featured Threads Portal) and Forum List but it also appears on my arcade, sportsbook, showcase, members and xbox live pages - if there's not a simple solution already available it doesn't matter.

Also, is it possible to post the winner of the raffle in the same thread as the raffle announcement instead of creating a new thread for winners?
You must be using a custom template for those pages that have the same template hooks as the main XenForo sidebar, or you're using the same sidebar template that XenForo uses. If it's a custom template, remove the 'ad_sidebar_top', 'ad_sidebar_below_visitor_panel' or 'ad_sidebar_bottom' hook from the custom template. If it's the standard sidebar template, there's nothing that can be done.

Unfortunately, there's no way to post the winner in the same thread as the announcement.
 
Ok, thanks that at least saves a lot of time banging my head against a wall trying to get not to show on those pages :)
 
I use raffles every few days to give away books. I'm very happy with the functionality, however after using it several month I would like to jpn my experience and make some suggestions. @Snog
  1. It would be very helpful if raffles would support the widget framework so that one can place raffle information on different positions.
  2. The possibility to copy a raffle would also be very helpful. For example the message text to inform the winners or the allowed user groups are always the same in my case.
 
I been trying to post issues on Snogssite but keep getting server error issue??? (Did someone enable Discouraged on me???)

.
No mate, Snog was away for a few days and in that time there was a server error for one of his mods which made it that anyoe usinf it couldn't post on their Forums including his site, I reported it here hope he will be around soon to sort it out:

https://xenforo.com/community/threads/os-browser-display-paid.69178/page-2#post-862354
 
It will take me a couple of days to catch up with email, etc. I'll take a look at this ASAP.

I've disabled the add-on that caused the error on my site. So, everyone should be able to post there again.
 
Last edited:
I been trying to post issues on Snogssite but keep getting server error issue??? (Did someone enable Discouraged on me???)

I found what was causing my issue with not being able to use Raffles.... Was another mod on here called Gamer Profiles
https://xenforo.com/community/resources/gamer-profiles.3678/

I was hoping these conflict issues were with old vBulletin but I guess some addons conflict with Xenforo as well...
What exactly was the problem here?

Right off hand, I don't see any reason that either off these add-ons would conflict with each other.

And in some tests I don't have any problems with a conflict.
 
Last edited:
Back
Top Bottom