Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBulletin Raffles Details »
vBulletin Raffles
Mod Version: 1.1.2, by nhawk (Member) nhawk is offline
Developer Last Online: May 2020 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 3.8.6 Rating: (11 votes - 4.91 average) Installs: 40
Released: 20 Jun 2011 Last Update: 06 Oct 2011 Downloads: 281
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Translations  

THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

NOTE: This add-on is designed for use with vBulletin 3.8.6 or higher. It may not work with earlier versions of vBulletin.

Raffles, giveaways, and contests, whatever you wish to call them, are a great way to increase traffic on any forum.

This is a port of my Raffle add-on for vBulletin 4.1.x to vBulletin 3.8.x. For the 4.1.x version see this thread.. http://www.vbulletin.org/forum/showthread.php?t=262901

Features:
  • Define a different prize image for each raffle.
  • Set raffle rules on a per raffle basis.
  • Set raffles to start in the future or on the day you create the raffle.
  • Allow One or more entries per user.
  • Allow multiple entries at one time if desired.
  • Admin settable time delay between user entries.
  • One or more prizes per raffle.
  • One or more winners per raffle (multiple winners require multiple prizes).
  • Allow members to win multiple times in one raffle if desired.
  • Display winning 'ticket' numbers if desired.
  • Selectable usergroups
  • Post count limit if desired.
  • Require Human Verification if desired.
  • Will show in Community Menu if desired.
  • Show active raffles what's going on.
  • Automatic raffle draw via vBulletin scheduled tasks.
  • Manual raffle draw to override end date and/or scheduled draws.
  • Turn raffles on or off via admincp. (Only raffle admins can view raffles when they are turned off)
  • Support for just about any credit system such as vBCredits II, ICash, kBank and vbBux.
  • Support for AW Coding's Credit Purchase System so member can purchase "raffle tickets".
  • XHTML 1.0 Transitional validated (provided your current template passes the tests)

NOTE: Except for bug fixes, this mod is no longer being updated. I strongly suggest upgrading to vB 4.

* DISCLAIMER *
----------------
Laws about how raffles should be handled vary from location to location. Be sure to check with local authorities and to comply with any laws that may apply to you. The author of this add-on can not be held responsible if the use of this add-on results in any violation of local laws.
By downloading this add-on, you agree to abide by local laws and to hold the author of this add-on harmless for any damages that may occurr from the use of this add-on.

* INSTALLATION *
------------------
1) If you intend to use AW Coding's Credit Purchase System with the Raffle System, install the Credit Purchase System FIRST.

2) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)
(If your forum's admincp is named something other than admincp, upload raffleadmin.php to your renamed admincp folder.)

3) Import the product XML file (product-raffles.xml) into the Product Manager in AdminCP.

4) If you want to view raffles on your site while the raffle system is turned off, go to AdminCP -> Usergroups -> Administrator Permissions select yourself and set "Can Admin Raffles" to 'Yes'.

5) Anyone you want to be able to administer raffles on your site must also have Administrator Permissions and have "Can Admin Raffles" set to 'Yes' or they will not be able to administer raffles.

6) Take some time to set the options in Raffle Settings.

7) Set up a raffle.

8) Make sure this add-on is marked as 'Installed' on vBulletin.org!
(If you want to get notices from me about updates for this add-on.)

* UPGRADE INSTRUCTIONS *
-----------------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)
(If your forum's admincp is named something other than admincp, upload raffleadmin.php to your renamed admincp folder.)

2) Import the product XML file (product-raffles.xml) into the Product Manager in AdminCP and be sure 'Allow Overwrite' is set to 'Yes'.

* USING RAFFLES *
-------------------
The whole system is pretty self explanatory, but there are a few things to keep in mind...

1) A default raffle image is supplied with the add-on. You must always supply an image for your raffles. You may change the default image if you like.

2) The entry period for raffles always end at 12:00am (midnight) on the day the raffle is to be drawn. (ie: Draw date is set 12/21/2011.. members can enter through 12/20/2011, the moment the date changes to 12/21/2011 no more entries are possible)

3) The scheduled task to draw the raffles is set to take place at 10:00am the day the raffle is to be drawn. You may change this by going to AdminCP->Scheduled Tasks->Scheduled Task Manager, find "Draw raffles", click on Edit and change the time of the draw to what you want it to be.

4) There are replacement variables used in several phrases. These are what the variables are:

raffle_agree: {1} = Forum name
raffle_eligible: {1} = Forum name {2} = Raffle name
raffle_message_body: {1} = Raffle name {2} = Draw date
raffle_message_close: {1} = Raffle admin name {2} = Phrase (raffle_admin_title)
raffle_message_salute: {1} = Winner name
raffle_recent: {1} = Time remaining before a user can enter again
raffle_winner_multi: {1} = Winner names for multiple raffle winners {2} = Raffle name
raffle_winner_one: {1} = Winner name for single raffle winner {2} = Raffle name'

More replacement variables are in the read.me included with this add-on.

5) When adding a custom user profile field for this add-on, be sure to 'Private Field' is set to 'Yes' and 'Field Searchable on Member List' is set to 'No'.

6) If you don't want to have Raffles in the community menu, you can use a forum link to raffles.php.

* History (Changelog) *
-------------------------
1.1.2 (October 6, 2011) (No need to import the xml file when upgrading from 1.1.0 or 1.1.1 to 1.1.2, just upload files to server.)
- Removed all direct mysql queries due to some systems having trouble with them.
- Corrected cpnav xml file (was showing an add-on option).

1.1.1 (October 5, 2011) (No need to import the xml file when upgrading from 1.1.0 to 1.1.1, just upload files to server.)
- Fix display of html on Edit Raffles screen.
- Improved user entry list function in AdminCP.
- Fix database warnings on some systems.
- Fix raffle ticket purchase link for AWCoding Credit Purchase System Pro.
- Fix detection of AWCoding Credit Purchase System Pro.

1.1.0 (August 1, 2011)
- Restored missing AWCPS patch in install script.
- Code enhancements for future expansion.

1.0.9 (July 20, 2011)
- Moved 'Allow Multiple Wins' from main settings to individual raffle settings. (user requested)

1.0.8 (July 16, 2011)
- Added Debug Logging option to raffle system.

1.0.7 (July 15, 2011)
- MAJOR FIX - Fix raffle draw so no duplicates happen when allow multiple wins is set to no.
- Add PM to raffle admin if no members enter a single prize raffle.

1.0.6 (July 13, 2011)
- Fix - Raffle not being drawn by scheduled task.

1.0.5 (July 11, 2011)
- Fix - members can no longer enter multiple times by using the back button on their browser.

1.0.4 (July 6, 2011)
- Fix Allow multiple wins to one member now works.
- Fix database error when no members enter raffle.
- Removed un-needed left joins in some DB queries that were needed in original release.

1.0.3 (July 4, 2011)
- Installation script change for systems not fully importing the parse templates plugin.
- Fix raffle draw time now displays in members's usercp chosen time zone format.
- Fix error in scheduled task when multiple prizes are awarded.
- Changed copyright so it only displays on raffle pages.

1.0.2 (June 27, 2011)
- Minor bug fix of active raffles in What's Going On area (was not collapsing properly).

1.0.1 (June 22, 2011)
- Converted missed 'view entries' from 4.x to 3.8.x format.

1.0. (June 20, 2011)
- Initial release for vBulletin 3.8.6.

* Known Working on vB Versions *
------------------------------------
3.8.6
3.8.7 PL 1

Download Now

Only licensed members can download files, Click Here for more information.

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases vBulletin Raffles nhawk Modification Graveyard 619 19 Feb 2016 12:52
Miscellaneous Hacks Turkish Language Pack for vBulletin 4.0 | vBulletin 4.0 İçin Türkçe Dil Paketi yilmaz Modification Graveyard 15 23 Nov 2009 14:49

  #46  
Old 22 Jul 2011, 17:58
aktifnet aktifnet is offline
 
Join Date: Jan 2007
thanks, nice mod
Reply With Quote
  #47  
Old 25 Jul 2011, 03:14
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Downloaded and installed without any issue! Love the ones that work out of the box!

THANKS NHAWK
Reply With Quote
  #48  
Old 25 Jul 2011, 03:16
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
nHawk, is there a module for this mod? For vbadvanced?
Reply With Quote
  #49  
Old 25 Jul 2011, 11:36
nhawk nhawk is offline
 
Join Date: Jan 2011
Unless there is some sort of point system in vbadvanced, it should work with the underlying vBulletin forum software without a problem.
Reply With Quote
  #50  
Old 01 Aug 2011, 18:29
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
support question

In my navbar under community, the word "Raffles" is missing, but there is still a blank space to link to raffles. Any help would be much appreciated.

www.lower48.com

Thanks
Reply With Quote
  #51  
Old 01 Aug 2011, 18:35
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Originally Posted by dizzynation View Post
In my navbar under community, the word "Raffles" is missing, but there is still a blank space to link to raffles. Any help would be much appreciated.

www.lower48.com

Thanks
Also, there by any chance you can post some default "Raffle Rules" that we can paste and customize in the rules section. I would really appreciate that!

Voted MOTH
Reply With Quote
  #52  
Old 01 Aug 2011, 19:37
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by dizzynation View Post
In my navbar under community, the word "Raffles" is missing, but there is still a blank space to link to raffles. Any help would be much appreciated.

www.lower48.com

Thanks
EDIT: Try this...

Go to AdminCP->Languages and Phrases->Phrase Manager

Click Add Phrase

Phrase Type: Global
Product: Raffles
Varname: raffle
Text: Raffles

If you get an error saying the phrase exists, then something is interfering with the Raffle system adding the phrase to the community menu. Which I wouldn't doubt because clicking any dropdown menu on your site takes multiple tries to get it to stay down.

Originally Posted by dizzynation View Post
Also, there by any chance you can post some default "Raffle Rules" that we can paste and customize in the rules section. I would really appreciate that!

Voted MOTH
There are sample rules included with the zip file you downloaded.

Last edited by nhawk; 01 Aug 2011 at 20:02.
Reply With Quote
  #53  
Old 02 Aug 2011, 10:17
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
raffles wont draw; Parse error: syntax error, unexpected T_VARIABLE in /home/x/public_html/forum/includes/cron/raffledraw.php on line 75 /edit downloaded fix but getting white page..

Last edited by MentaL; 02 Aug 2011 at 10:23.
Reply With Quote
  #54  
Old 02 Aug 2011, 10:20
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by MentaL View Post
raffles wont draw; Parse error: syntax error, unexpected T_VARIABLE in /home/x/public_html/forum/includes/cron/raffledraw.php on line 75
You are running v1.0.4, update to the most current version. That was fixed in 1.0.6.
Reply With Quote
  #55  
Old 02 Aug 2011, 10:24
MentaL's Avatar
MentaL MentaL is offline
 
Join Date: Jan 2003
downloaded fix but getting white page.. /edit cleared xcache,w orked. cheers.
Reply With Quote
  #56  
Old 02 Aug 2011, 17:57
AlpineZone AlpineZone is offline
 
Join Date: Feb 2006
I'm looking for something like this but I want a way to add criteria, i.e. members get (1) ticket for each month they are a member, members get (1) ticket for every 250 posts they have, and a bit more complicate but members get (10) tickets for liking us on Facebook and (10) tickets for likeing us on Twitter... any way to do that?
Reply With Quote
  #57  
Old 02 Aug 2011, 20:38
nhawk nhawk is offline
 
Join Date: Jan 2011
Originally Posted by AlpineZone View Post
I'm looking for something like this but I want a way to add criteria, i.e. members get (1) ticket for each month they are a member, members get (1) ticket for every 250 posts they have, and a bit more complicate but members get (10) tickets for liking us on Facebook and (10) tickets for likeing us on Twitter... any way to do that?
You're talking about a point management system.

Look into vBCredits II, ICash, kBank and vbBux. They are all supported by the Raffle system.

My personal preference is vBCredits II, but that's just me.

http://www.vbulletin.org/forum/showthread.php?t=245952
Reply With Quote
  #58  
Old 08 Aug 2011, 19:20
supercarsanctum supercarsanctum is offline
 
Join Date: Jul 2011
how do i start a raffle? cant find it anywhere
Reply With Quote
  #59  
Old 08 Aug 2011, 19:31
nhawk nhawk is offline
 
Join Date: Jan 2011
Make sure you did step 4 in the installation instructions..

4) Anyone you want to be able to administer raffles on your site must also have Administrator Permissions and have "Can Admin Raffles" set to 'Yes' or they will not be able to administer raffles.


Set up your general settings in AdminCP->Raffles->Raffle Settings



Then create a new raffle in AdminCP->Raffles->Add New Raffle

Reply With Quote
  #60  
Old 10 Aug 2011, 17:29
Budweiser's Avatar
Budweiser Budweiser is offline
 
Join Date: Jan 2008
Real name: Kevin
Looking at your mod gave me an idea. It would be nice to have a mod that I can use to sell tickets to win a product. For example: I have a laptop and for a chance to win it the user could but a ticket for $1. At the end of the offer period the mod would pick a winner.

Is there a mod like this already? (or does this mod already do all this??)
It could increase traffic and create revenue for the site too!
__________________
.
.
www.usamusicians.com
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 09:04.

Layout Options | Width: Wide Color: