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)

Rckcrwlr 05-12-2011 11:13 PM

Quote:

Originally Posted by nhawk (Post 2194724)
It should not go to a blank page, you should get a redirect page that says the raffle has been entered.

If you could post your settings in Raffle Settings and the settings for the raffle that is doing this, I can try to duplicate and correct the problem.

Not sure exactly how to do this so...

I didn't change anything but the first three were changed to yes.

Raffle Settings:
Start Date 05-12-2011
Draw Date
05-13-2011
Entry Rules
enter to win...nothing. LOL
Required Posts
0
Allowed User Groups
7
Maximum Entries PermittedT 1
Time Between Entries
0
Entries in Time Period
1
Number of Prizes
1 Raffle Winner(s)

nhawk 05-13-2011 10:18 AM

Quote:

Originally Posted by Rckcrwlr (Post 2194955)
Not sure exactly how to do this so...

I didn't change anything but the first three were changed to yes.

Raffle Settings:
Start Date 05-12-2011
Draw Date
05-13-2011
Entry Rules
enter to win...nothing. LOL
Required Posts
0
Allowed User Groups
7
Maximum Entries PermittedT 1
Time Between Entries
0
Entries in Time Period
1
Number of Prizes
1 Raffle Winner(s)

I can't seem to duplicate your problem no matter what I try.

I can only suggest updating to version 1.0.7 to see if that cures the problem. If that doesn't do it, then I'll need to know what version of VB you're running so I can see if I can duplicate it in that version.

fevredsuk 05-14-2011 07:07 AM

Thankyou for your quick update, This mod is almost perfect for me now,

If I was being picky I would say the only thing that is lacking is it would be nice to be able to display the time the draw will take place not just the date

Your support and response to feedback has been superb so far,

Thanks again,

RSNF 05-15-2011 10:09 PM

After installing the newest updated version when trying to enter the raffle members are getting a message must enter the raffle one or more times? Any help would be appreciated.

fevredsuk 05-15-2011 11:36 PM

My members are getting a white screen when trying to enter a raffle since the upgrade.

They are still added to the raffle but they get white screen on firefox.

On chrome they get message

The website encountered an error while retrieving /raffles.php. It may be down for maintenance or configured incorrectly.

help please :)

nichi 05-16-2011 06:19 AM

Great mod
work in 4.0.4?

nhawk 05-16-2011 10:39 AM

Quote:

Originally Posted by cardz247 (Post 2196133)
After installing the newest updated version when trying to enter the raffle members are getting a message must enter the raffle one or more times? Any help would be appreciated.

If the raffle was already running when you installed the newest version, edit the raffle and set the entries in time period to 1.

nhawk 05-16-2011 10:50 AM

Quote:

Originally Posted by fevredsuk (Post 2196152)
My members are getting a white screen when trying to enter a raffle since the upgrade.

They are still added to the raffle but they get white screen on firefox.

On chrome they get message

The website encountered an error while retrieving /raffles.php. It may be down for maintenance or configured incorrectly.

help please :)

I tested this in Firefox and the redirect screen comes up. I'm not sure what is happening, but I will look for the problem.

EDIT: Fevredsuk.. thank you for the info on Chrome, that pointed me in the right direction. I should have a fix out sometime today.

RSNF 05-16-2011 11:24 AM

Quote:

Originally Posted by nhawk (Post 2196291)
If the raffle was already running when you installed the newest version, edit the raffle and set the entries in time period to 1.


This is a completely new Raffle since upgrading to the newest version. Can you tell me if I am not using any of the vbucks and all those new payment methods you put into the update will I still be able to just conduct a free just click enter no posting points blah blah blah needed to enter? Your 1.0.5 version did not have any register issues not sure If I am doing something wrong?

nhawk 05-16-2011 11:59 AM

Quote:

Originally Posted by cardz247 (Post 2196303)
This is a completely new Raffle since upgrading to the newest version. Can you tell me if I am not using any of the vbucks and all those new payment methods you put into the update will I still be able to just conduct a free just click enter no posting points blah blah blah needed to enter? Your 1.0.5 version did not have any register issues not sure If I am doing something wrong?

If you're not using any of the credit systems, you can still run a free raffle just like in the original versions. That is the first thing I test with each change.

I'll be uploading version 1.0.8 very soon. I can only suggest installing that version and see if the problem persists. If it does, send me a PM with all of the settings for your raffles (raffle settings and the raffle itself) and your site address so I can see what is happening.

nhawk 05-16-2011 12:18 PM

Quote:

Originally Posted by nichi (Post 2196241)
Great mod
work in 4.0.4?

I have no way of testing 4.0.4.

You can try installing it and let us know if it works or not. ;)

fevredsuk 05-16-2011 11:00 PM

Quote:

Originally Posted by nhawk (Post 2196296)

EDIT: Fevredsuk.. thank you for the info on Chrome, that pointed me in the right direction. I should have a fix out sometime today.


sorted Thanks

nichi 05-17-2011 06:42 AM

Quote:

Originally Posted by nhawk (Post 2196318)
I have no way of testing 4.0.4.

You can try installing it and let us know if it works or not. ;)

Work work work :D

https://vborg.vbsupport.ru/external/2011/05/29.png

nichi 05-21-2011 06:46 AM

Guest don't see the raffle?

nhawk 05-21-2011 09:32 AM

Quote:

Originally Posted by nichi (Post 2198269)
Guest don't see the raffle?

If you mean unregistered/not logged in, you need to allow them to see it. Check banned usergroups in Raffle settings.

nichi 05-21-2011 09:37 AM

don't have banned usergroups in Raffle settings, and I set unregistered between allowed user groups for every single raffle :(

https://vborg.vbsupport.ru/external/2011/05/19.png

nhawk 05-21-2011 10:13 AM

Sorry, my brain wasn't working properly. I just got up and hadn't had my morning coffee yet. ;)

An unregistered member can not enter a raffle. They don't have a userid number that can be attributed to a name.

nichi 05-21-2011 10:23 AM

I believed unregistered member can enter a raffle :)
I see in other forum is possible but use vB 4.1.3
can possible enter link of that forum or is forbidden?

nhawk 05-21-2011 10:29 AM

Quote:

Originally Posted by nichi (Post 2198304)
I believed unregistered member can enter a raffle :)
I see in other forum is possible but use vB 4.1.3
can possible enter link of that forum or is forbidden?

I've seen links to other sites here. So, I don't think it's a problem.

But, the ability to enter an unregistered user into the raffle using my add-on is not possible. There is no provision for an unregistered member to enter their name and other needed information.

nichi 05-21-2011 10:32 AM

this is link
Code:

http://www.thefewgoodmen.com/thefgmforum/raffles.php

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?

Harley D 05-26-2011 03:56 PM

Quote:

Originally Posted by Harley D (Post 2200230)
I just updated to ver# 1.11 and now am getting a SQL error when I click on the register link.



Also it no longer shows on my Sidebar?

The problem is in the UPLOAD FILES v.1.11
If I use the Upload Files from a previous version, the error goes away.

Also, It still doesn't show in my Side Bar. It did when first installed and disappeared shortly afterwords.

nhawk 05-26-2011 07:01 PM

Quote:

Originally Posted by Harley D (Post 2200252)
The problem is in the UPLOAD FILES v.1.11
If I use the Upload Files from a previous version, the error goes away.

Also, It still doesn't show in my Side Bar. It did when first installed and disappeared shortly afterwords.

Thank you. Fixed in 1.1.2.

If active raffles aren't showing in your sidebar, check to be sure that "Show Raffles in Forum Sidebar" in Raffle Settings is set to 'Yes'.

Also go to Forums & Moderators -> Forum Blocks Manager -> Active Raffles -> Edit and check that Active is also set to 'Yes' there.

And one other place, check Options -> Forum Sidebar and Block Options and make sure Enable Forum Sidebar is set to 'Yes'.

The requirements for the sidebar to show are
1) Sidebar must be turned on in vBulletin itself.
2) Active Raffle block must be turned on in Forum Blocks Manager (set to on by default when installed)
3) Raffles must be turned on.
4) Side bar must be turned on in Raffle Settings.
5) Member must not be in a group that is banned from using the raffle system.

If none of that works, try disabling the Everywhere Sidebar mod and see if it shows then. If it does, it's a problem with that mod.

Harley D 05-27-2011 05:02 PM

Quote:

Originally Posted by nhawk (Post 2200313)
Thank you. Fixed in 1.1.2.

If active raffles aren't showing in your sidebar, check to be sure that "Show Raffles in Forum Sidebar" in Raffle Settings is set to 'Yes'.

Also go to Forums & Moderators -> Forum Blocks Manager -> Active Raffles -> Edit and check that Active is also set to 'Yes' there.

And one other place, check Options -> Forum Sidebar and Block Options and make sure Enable Forum Sidebar is set to 'Yes'.

The requirements for the sidebar to show are
1) Sidebar must be turned on in vBulletin itself.
2) Active Raffle block must be turned on in Forum Blocks Manager (set to on by default when installed)
3) Raffles must be turned on.
4) Side bar must be turned on in Raffle Settings.
5) Member must not be in a group that is banned from using the raffle system.

If none of that works, try disabling the Everywhere Sidebar mod and see if it shows then. If it does, it's a problem with that mod.

Disabling the Everywhere Sidebar Mod resolved the issue... Thanks

zm5398204 05-28-2011 12:17 AM

ive been having a problem with this ever since i updateted to 1.0.7 the fourm block stopped working it always says no active raffles ever when i have them can some one help me? and ive have followed the above guide and i dont have the everywhere side bar mod

nhawk 05-28-2011 10:02 AM

Quote:

Originally Posted by zm5398204 (Post 2200737)
ive been having a problem with this ever since i updateted to 1.0.7 the fourm block stopped working it always says no active raffles ever when i have them can some one help me? and ive have followed the above guide and i dont have the everywhere side bar mod

Try deleting the Active Raffle block from Forums & Moderators -> Forum Blocks Manager and then re-install the add-on (product-raffles.xml) in the Product Manager in AdminCP and be sure 'Allow Overwrite' is set to 'Yes'.

That will re-create the block.

Then make sure everything is set as described in the above post.

Also make sure you're using the correct date format when creating raffles. The format is MM/DD/YYYY, not DD/MM/YYYY

CoZmicShReddeR 05-28-2011 08:52 PM

Having issues creating databases in 112 says they do not exist! using VB CMS 4.1.3

Harley D 05-29-2011 07:34 AM

Suggestion;
The possibility to add the option of a photo in the Raffle's sidebar?

nhawk 05-31-2011 10:51 AM

Quote:

Originally Posted by CoZmicShReddeR (Post 2201023)
Having issues creating databases in 112 says they do not exist! using VB CMS 4.1.3

For others that might read this, I'm not ignoring this problem. I am working with CoZmicShReddeR via PM to correct the problem. I think we've narrowed it down and will release a minor update if the test remedy works.

The problem seems to be that MySQL 5.5.8 no longer recognizes the TYPE command. It was replaced by ENGINE with no backwards compatability.

Quote:

Originally Posted by Harley D (Post 2201169)
Suggestion;
The possibility to add the option of a photo in the Raffle's sidebar?

You've got it in 1.1.3. :D

j0k4w1ld 05-31-2011 06:26 PM

everything is working fine on the latest version of VBulletin. However can you implement a way where they can purchase the tickets before they can join the raffle?

Harley D 05-31-2011 06:55 PM

Quote:

Originally Posted by nhawk (Post 2202007)
You've got it in 1.1.3. :D

Thank You!
This will really make it stick out!


All times are GMT. The time now is 07:48 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.01705 seconds
  • Memory Usage 1,845KB
  • 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
  • (1)bbcode_code_printable
  • (21)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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