![]() |
Dohhhhh....
|
Everything has been working fine until tonight when it pulled a raffle here was the results.
Nxxx Mxxx (Ticket #13), Debj (Ticket #3), Michael (Ticket #12), achantrenne (Ticket #11), Lynette (Ticket #15), ladybigg (Ticket #9), Lynette (Ticket #15), MrBill (Ticket #7), MrBill (Ticket #7), Lynette (Ticket #15), tedcrosby (Ticket #2), achantrenne (Ticket #11) Notice the multiple winners? Any idea why it would do this? |
Without a screenshot of your scheduled task log for that draw (which is hopefully in debug mode), I have no clue because in versions newer than 1.2.2 that was fixed. Did you set 'Multiple Wins' to No in the raffle itself? That setting moved to individual raffle settings in 1.2.6. How many prizes were to be awarded? How many members entered? Was more than one raffle drawn at that same time?
Also, was this a manual draw or a scheduled task draw? I've been running an perpetual test raffle on my site that draws daily and have not seen a multiple winner in over 100 draws. The last 28 are posted on my site. Also, you've made it even more dificult for me to check things by removing the copyright for the add-on. I went to simply double check what version you were running and the copyright isn't there for me to establish that. |
Quote:
|
Think I may see the problem. Take a look:
https://vborg.vbsupport.ru/attachmen...1&d=1313438688 It's adding Usergroups in twice. |
Ok, I didn't mean to upset you with the copyright thing. It does tell me that something is very wrong on your end though. The copyright is in a plugin and it should be showing.
And another good indication of something being amiss with your system is the usergroups coming up twice. The usergroups are read directly from the vBulletin database. I would seriously suggest you do this.. Completely delete all of these files... raffles.php admincp/raffleadmin.php includes/functions_raffles.php includes/cron/raffledraw.php includes/xml/bitfield_raffles.xml includes/xml/cpnav_raffles.xml includes/xml/hooks_raffles.xml Uninstall the raffle system from AdminCP->Plugins & Products->Manage Products Download the lastest version and install that. If you don't want to uninstall the raffle system, be absolutely certain the files get overwritten when uploading the new files. And be sure to upgrade the system when you install the XML file by selecting 'Yes' for 'Allow Overwrite' when installing. |
On the page where the usergroups are being shown twice, right click on the page and select 'View Source'.
Send me that source in a C&P via PM please. It's odd that only 2 groups are duplicated. Edit: It was found that the problem was indeed on his system. There were duplicate usergroups defined in his system. |
I am trying to setup the sideblock so that guests are able to view the raffles. Problem I am running into is the only way I can seem to do this allows guests to get tickets.
Doesn't make any sense to me for guests to be able to get tickets. Shouldn't they be prompted to register or log into their account? I tested and when buying a ticket as a guest the only field unique to that person is an IP adress. How can you contact a winner based on that? Not sure if this is a bug or what to think. It would be great to show raffles to guests in the sidebar and prompt them to register or log in to get a ticket. Am I doing something wrong? |
In Raffle Settings, don't put the usergroup you want to 'see' raffles in the Banned Usergroups and set Show in Forum Sidebar to 'Yes'.
Then in the Raffle itself, don't allow that usergroup to enter the raffle. Then when they view it, they should see a message that says... "'You're in a usergroup that's not allowed to enter this raffle. Contact the raffle administrator for details." |
Hold on, for some reason the change that took place in 1.2.9 didn't carry over to 1.3.0.
Go to ACP->Forums & Moderators->Forum Blocks Manager. Locate the Active Raffle Block and click 'Edit'. Copy and paste this code into the Content box, completely overwriting the code that's already in there... Code:
global $vbulletin; |
All times are GMT. The time now is 10:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|