vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - vBulletin Raffles (https://vborg.vbsupport.ru/showthread.php?t=262901)

nhawk 05-21-2011 10:41 AM

Quote:

Originally Posted by nichi (Post 2198306)
this is link

OK, I see what the problem is.

You don't want them to be able to enter the raffle, you want them to be able to see it.

Give me a few minutes and I'll post the fix.

nichi 05-21-2011 10:46 AM

wow :D

nhawk 05-21-2011 10:49 AM

OK, download version 1.0.9 and just upload the files to your server. There's no need to run the install xml again for this fix.

One other thing, you don't want them included in the members allowed to enter the raffle. So take them out of that setting.

They will still be able to SEE the raffle, but they won't be allowed to ENTER it.

nichi 05-21-2011 10:54 AM

I uploaded only raffles.php
Oh guys work 100%
Many many Tank you :)

Hornstar 05-23-2011 02:12 AM

I mentioned earlier on this was similar to one I had custom coded for me when I was on vb 3.8.x

Since I have it enabled currently on my site, you can check it out here: http://www.gamerzneeds.net/forums/ne...event-win.html

You might get some ideas from it.

Fordies 05-23-2011 04:13 AM

what is the law on having a raffle on your website?.

Hornstar 05-23-2011 04:45 AM

Unless you are selling the raffle tickets for money, and then having the raffle, it is fine. If you are selling the raffle tickets for money, you should check your local laws.
For example, I have one similar to this modification here: http://www.gamerzneeds.net/forums/ne...event-win.html

nhawk 05-23-2011 01:59 PM

Quote:

Originally Posted by Hornstar (Post 2198969)
Unless you are selling the raffle tickets for money, and then having the raffle, it is fine. If you are selling the raffle tickets for money, you should check your local laws.

Actually this statement is not true. Even "Free" contests and raffles can be subject to local laws. It all depends on where you are located AND where the member entering the contest or raffle is located.

This is why I provide a disclaimer and strongly recommend that people check with an attorney before running any raffles.

The sample rules included with this add-on are actual rules used by the site that originally specified what they were looking for in this add-on. They can not be considered proper for all sites, but are provided as a starting point to demonstrate that what some people might think is legal, may not actually be legal.

Fordies 05-23-2011 02:36 PM

wow.. thanks for the heads up ;)

Harley D 05-26-2011 03:00 PM

I just updated to ver# 1.11 and now am getting a SQL error when I click on the register link.

Quote:

Database error in vBulletin 4.1.3:

Invalid SQL:
SELECT
FROM databaser_user
WHERE userid = '9';

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FROM database_user
WHERE userid = '9'' at line 2
Error Number : 1064
Script : http://www.laserholics.com/raffles.php?do=raffle&id=1
Referrer : http://www.laserholics.com/raffles.php
IP Address : 00.000.00.00
Username : High Octane
Classname : vB_Database
Also it no longer shows on my Sidebar?


All times are GMT. The time now is 06:34 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
  • Page Generation 0.01385 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete