Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Raffles 5 LITE Details »»
Raffles 5 LITE
Version: 5.0.0Beta6, by nhawk nhawk is offline
Developer Last Online: May 2021 Show Printable Version Email this Page

Category: Add-On Releases - Version: 5.0.1 Rating:
Released: 09-19-2012 Last Update: 10-29-2012 Installs: 8
DB Changes
Additional Files Is in Beta Stage  
No support by the author.

After a considerable amount of thought, I will not be converting any of my mods to vB5.

If I should change my mind, I will let everyone know.

If a moderator could move this to the graveyard, I'd appreciate it.


NOTE: This add-on is designed for use with vBulletin 5 Connect. It WILL 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.

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.
  • Set the day and time entries for a raffle stop being accepted.
  • Set the day and time a raffle will be drawn.
  • 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.
  • Show active raffles anywhere you want to show them with widgets.
  • 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)

The Pro version of Raffles 5 is available from my site.

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) 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/)

2) Change the core/packages/raffles5/images folder properties so it is writeable (776 or 777).

3) Go to your site's home page and refresh the screen. (you may need to do this twice)
3a) If the raffle system doesn't auto-install, import the product XML file (product_raffles5.xml) into the Product Manager in AdminCP.
(The XML file is located in the /upload/core/packages/raffles5/xml folder)
4) Go to your site's home page and activate the Site Builder menu.

5) Either create a new page, or edit an existing page.

6) On the page where you want the active raffles to appear, select 'Add Modules' and click on 'Display'.
Then drag and drop either Raffles (Active - Large) or Raffles (Active - Small) widget where you want it to appear.

7) Take some time to set the options Raffle Settings.

8) Set up a raffle.


NOTE: If you want to display raffles that have already been drawn on a different page follow these steps..

1) Set 'Show Raffles Already Drawn With Active Raffles' to 'No' in ACP->Settings->Options->Raffle Settings.

2) Create or edit the page where you want the old raffles to be shown.

3) On the page where you want the old raffles to appear, select 'Add Modules' and click on 'Display'.
Then drag and drop the Raffles (Old) widget where you want it to appear.


* UPGRADE *
-----------------------
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/)

2) Import the product XML file (product_raffles5.xml) into the Product Manager in AdminCP.
(The XML file is located in the /upload/core/packages/raffles5/xml folder)


* Removal *
----------------
1) Uninstall the product in ACP->Products & Hooks->Manage Products.

2) Delete the core/packages/raffles5 folder from your server.

3) Delete the core/admincp/raffleadmin.php file from your server.

4) Delete the admincp/img/module-icon-raffle.png file from your server.


* History (Changelog) *
------------------------------
5.0.0 Beta 6
Regression - Restore library api files.
Remove - template API
Change - Version will remain at 5.0.0 and include Beta version number until final release

5.0.5 (October 24, 2012) * SYSTEM IS NOW COMPATIBLE WITH BETA 15 OR HIGHER ONLY!
Add - Activated vBulletin auto-install feature.
Fix - Banned usergroups able to see raffles.
Fix - Account for style changes in vB Beta 15.
Delete - Library API files - not needed with Beta 15

5.0.4 (October 9, 2012)
Fix - Member link in ACP user entry list still using vB4 link.
Fix - Missing query for user entries by all raffles.
Add - Detection of European date format settings in ACP.
Add - European date format now shown on ACP raffle screens.
Change - Date entry description text to include European date formats.
Change - Improved widget instance creation code.
Delete - Removed all references to $vbulletin which will soon be obsolete.

5.0.3 (September 28, 2012)
Fix - Multiple user entries result in an exponential number of entries.

5.0.2 (September 26, 2012)
Fix - Modified code to account for vB 5 Beta 11 removing function 'fetch_phrase'
Fix - Image still displayed in small active raffle widget when turned off for raffle
Change - Changed phrase for small active raffle widget in raffle setup

5.0.1 (September 21, 2012) (Upgrades from 5.0.0: Only upload files to server. No need to import XML if upgrading from 5.0.0)
Fix - Raffle descriptions and rules not saving properly when no paragraph formating is used.

5.0.0 (September 20, 2012)
- Initial Release

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 09-20-2012, 06:18 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The site builder step in vb5 with adding the module small or large sounds really cool.

I had a custom system like this in vb3 but yours sounds very similar so it may save me. Thanks.
Reply With Quote
  #3  
Old 09-20-2012, 06:32 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hornstar View Post
The site builder step in vb5 with adding the module small or large sounds really cool.

I had a custom system like this in vb3 but yours sounds very similar so it may save me. Thanks.

lol its the same product the developer has developed this from vb3 - vb5
there is no other raffle system
Reply With Quote
  #4  
Old 09-20-2012, 06:33 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Questions:
1. Can a member only enter in a raffle once?
2. If the above is yes, can you consider adding a token system(points) where you get a token for posting, token(s) for a new thread, etc and then you can set how many tokens it costs to enter a raffle. When you enter you get a ticket. A member can enter more than once. It would say: Buy [ ] tickets. Where you enter the number of tickets you want to purchase with your tokens. This way it entices people to be more active and earn more tokens to hopefully better their chance at winning.
3. If you consider number 2, have the option to input what points system you will use for the tokens. Eg inbuilt system (usually basic) or another system like vbcredits, vbux etc.
4. When the raffle is drawn are the users automatically notified? If yes can you consider adding an option to manually approve them. That way we can review and approve them first. If we don't approve them, then the system will do a redraw.
Reply With Quote
  #5  
Old 09-20-2012, 06:35 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
lol its the same product the developer has developed this from vb3 - vb5
there is no other raffle system
On my vb3 site there is as I had a custom solution built about 5 years ago. Not sure what you mean.
Reply With Quote
  #6  
Old 09-20-2012, 06:54 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hornstar View Post
On my vb3 site there is as I had a custom solution built about 5 years ago. Not sure what you mean.
https://vborg.vbsupport.ru/showthread.php?t=265536
Reply With Quote
  #7  
Old 09-20-2012, 07:02 PM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hornstar View Post
Questions:
1. Can a member only enter in a raffle once?
2. If the above is yes, can you consider adding a token system(points) where you get a token for posting, token(s) for a new thread, etc and then you can set how many tokens it costs to enter a raffle. When you enter you get a ticket. A member can enter more than once. It would say: Buy [ ] tickets. Where you enter the number of tickets you want to purchase with your tokens. This way it entices people to be more active and earn more tokens to hopefully better their chance at winning.
3. If you consider number 2, have the option to input what points system you will use for the tokens. Eg inbuilt system (usually basic) or another system like vbcredits, vbux etc.
4. When the raffle is drawn are the users automatically notified? If yes can you consider adding an option to manually approve them. That way we can review and approve them first. If we don't approve them, then the system will do a redraw.
its the same as VB4 but ported over, you can set that option per raffle
for example Usergroup 1 can join raffle upto 3 times in 1 hour per day and set it as max 3 raffles per user max
Reply With Quote
Благодарность от:
nhawk
  #8  
Old 09-20-2012, 07:20 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hornstar View Post
Questions:
1. Can a member only enter in a raffle once?
As simonhind said, this is settable on a per raffle basis.

Quote:
Originally Posted by Hornstar View Post
2. If the above is yes, can you consider adding a token system(points) where you get a token for posting, token(s) for a new thread, etc and then you can set how many tokens it costs to enter a raffle. When you enter you get a ticket. A member can enter more than once. It would say: Buy [ ] tickets. Where you enter the number of tickets you want to purchase with your tokens. This way it entices people to be more active and earn more tokens to hopefully better their chance at winning.

3. If you consider number 2, have the option to input what points system you will use for the tokens. Eg inbuilt system (usually basic) or another system like vbcredits, vbux etc.
Currently there isn't a point or token system that works with vB 5. When one becomes available, I'll most likely add the option to use it.

Quote:
Originally Posted by Hornstar View Post
4. When the raffle is drawn are the users automatically notified? If yes can you consider adding an option to manually approve them. That way we can review and approve them first. If we don't approve them, then the system will do a redraw.
The winner is automatically notified by PM when the raffle is drawn.

I won't add an approval system because that can and does 'fix' the result of the raffle when used and is dishonest.
Reply With Quote
  #9  
Old 09-20-2012, 07:53 PM
Altari Altari is offline
 
Join Date: Sep 2011
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Thank you for your work,

When i'm on the page enterraffle?id=1 and i click on "View details and register" nothing happens, the page just reload.
What's wrong ?

Thank you again.
Reply With Quote
  #10  
Old 09-20-2012, 08:06 PM
nhawk nhawk is offline
 
Join Date: Jan 2011
Posts: 1,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Altari View Post
Hello,

Thank you for your work,

When i'm on the page enterraffle?id=1 and i click on "View details and register" nothing happens, the page just reload.
What's wrong ?

Thank you again.
When on the enterraffle page, "View details and register" shouldn't be showing. It's not even in the template for that page.

If you could post a screenshot of what you're seeing it would be helpful.

EDIT: If you mean after you click 'enter me', you should be seeing what is shown in the attached screenshot.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 01:06 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04654 seconds
  • Memory Usage 2,316KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete