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)

TheSupportForum 01-07-2012 08:58 PM

Quote:

Originally Posted by nhawk (Post 2284928)
Check your server's timezone settings.

Your 10:00am may not be your server's 10:00am.

See this post for an in-depth explanation..
https://vborg.vbsupport.ru/showpost....&postcount=196

EDIT: Also on very low traffic sites, the scheduled tasks can take forever to be triggered. They are run in order with each visit to your site. All scheduled tasks require visitors to trigger them. So if there are say 15 scheduled tasks ahead of the raffle draw, those 15 must run first. And if you have 1 visitor per hour, the raffle will draw about 15 hours late.

To prove this out, once you know your SERVER'S 10:00am has passed, hit refresh while on your main page and do the same with the scheduled tasks displayed in ACP, you'll see them rotate up. Eventually the raffle draw will happen. On my site which is very low traffic, I've seen it run as much as 7 hours late. If you would like to see a record of times the test raffle on my site has been drawn, look here.. http://snogssite.com/forumdisplay.ph...Raffle-Results That forum holds a record of draws for about the last 30 days, but that never-ending raffle has been running and being drawn daily since July 2011.

so its really best to have an earlier time in order for schedule taks to run
i'll set it to 9am for next draw time i am trying to trigger it for 15:00 hours or near it
------------------
BTW FYI i think this mod is great and suites my website for exactly what its needed for

fevredsuk 01-07-2012 09:47 PM

Originally Posted by fevredsuk View Post

hi mate,

just wondered if it was possible to add the ability to change the winning private message per raffle.

i know it can be changed in the phrases section but some of my raffles just require a pm sending stating they have won and others need to give details how to claim the prize. At the moment an admin needs to send a follow up pm giving more details which delays the prize.

being able to set the pm body message for each raffle would be great.



Quote:

Originally Posted by nhawk (Post 2281929)
Seems reasonable, I'll put this on my things to do list.

sorry to be a pain but aswell as the above would it be possible to add the ability to copy raffles. I do a weekly raffle where the prize, is the same and its a bit of a pain having to create the raffle over and over.

i was going to ask for a recurring raffles eg set the raffle to run for x amount of weeks but the pm details would need to be different each week as I would be sending out a different password to each winner

Chris Beveridge 02-18-2012 12:31 PM

Just did the upgrade (was several revisions behind) and when you go the raffle page, you get this code along the top:

Code:

Warning: getimagesize(http://www.fandompost.com/images/hyde4.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in [path]/raffles.php on line 109

Warning: Division by zero in [path]/raffles.php on line 115

http://www.fandompost.com/oldforums/raffles.php

Suggestions?

nhawk 02-18-2012 02:37 PM

Quote:

Originally Posted by Chris Beveridge (Post 2300852)
Just did the upgrade (was several revisions behind) and when you go the raffle page, you get this code along the top:

Code:

Warning: getimagesize(http://www.fandompost.com/images/hyde4.jpg) [function.getimagesize]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in [path]/raffles.php on line 109

Warning: Division by zero in [path]/raffles.php on line 115

http://www.fandompost.com/oldforums/raffles.php

Suggestions?

Your server isn't allowing http calls to images. Change the image location to either /images/raffles/yourimage or ./images/raffles/yourimage.

tommyxv 02-19-2012 07:05 AM

I just installed this on my 4.1.10 forum. Sometimes is takes very long to navigate to the Raffle page and to other areas within the mod on the front end. Almost like its going to time out, then finally it gets there. Any ideas?

nhawk 02-19-2012 10:51 AM

Quote:

Originally Posted by tommyxv (Post 2301064)
I just installed this on my 4.1.10 forum. Sometimes is take very long to navigate to the Raffle page and to other areas with the mod on the front end. Almost like its going to time out, then finally it gets there. Any ideas?

Many sites running 4.1.10 are running this without any problem. I'd look at your server itself to see what's taking up the time.

tommyxv 02-19-2012 04:12 PM

I'll check and see but I really doubt its my server. When it hangs up, i can click on any link that is not raffle related and it goes to it instantly. I can surf to 10 pages on my forum, do searches, and still be waiting for raffles.php to load in another windows. It eventually does load, and then it will be fine for a few minutes, then start to hang again.

Maybe it is interfering with any mod that I have installed. (I'll try and test it will them all disabled too) Something is definitively not right.

tommyxv 02-19-2012 06:13 PM

Ok, I disabled all my other mods and it still hangs up. My friend added it to his vb 4.1.10 forum to test it for me, and it does the same thing on his server.

I feel pretty confident that it is not my server or any mods that I have installed. Are there any crons that need to run, i read a few posts back that on low traffic sites, there could be a delay on when it the drawing goes off. Could this also cause intermittent hang ups accessing the raffles page?

UPDATE:

I also installed this on a vb 4.1.9 forum on the same server as my vb 4.1.10 forum, it works absolutely fine with the 4.1.9 forum. No page hangups at all. It has to be a prob with Raffles and 4.1.10.

nhawk 02-20-2012 10:37 AM

Quote:

Originally Posted by tommyxv (Post 2301290)
Ok, I disabled all my other mods and it still hangs up. My friend added it to his vb 4.1.10 forum to test it for me, and it does the same thing on his server.

I feel pretty confident that it is not my server or any mods that I have installed. Are there any crons that need to run, i read a few posts back that on low traffic sites, there could be a delay on when it the drawing goes off. Could this also cause intermittent hang ups accessing the raffles page?


UPDATE:

I also installed this on a vb 4.1.9 forum on the same server as my vb 4.1.10 forum, it works absolutely fine with the 4.1.9 forum. No page hangups at all. It has to be a prob with Raffles and 4.1.10.

Is the image you're using for the raffle on your server or on another server?

I run the raffle system on 4.1.10 (as do many others, and as does the site with the current record of over 60,000 entries for a single raffle) and the page comes up almost instantly.

Edit: Also, you can try turning off other mods one at a time to see if any of them are interfering with raffles. That info would help determine the problem.

tommyxv 02-20-2012 10:46 PM

It is something on my end for sure. I'll get it straightened out. Thanks!


All times are GMT. The time now is 04:53 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.01625 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)bbcode_code_printable
  • (5)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