vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Casino (w/ 10 player poker) (https://vborg.vbsupport.ru/showthread.php?t=159151)

Andrew Green 10-20-2007 04:23 PM

Quote:

Originally Posted by Rushty (Post 1364375)
im getting an sql error when trying to install v.34 on vb 3.6.8, error is:

What version of mysql are you using?

(Front page of your admincp has "MySQL Version")

Quote:

Originally Posted by towermatt (Post 1364365)
I was hoping there could be a way to edit sports pool events. I put in a wrong closing time on one of the football games I added for this Sunday :(

It will, just not yet. That whole setup piece needs reworked.

Mark.B 10-20-2007 04:55 PM

For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.

Mark.B 10-20-2007 05:16 PM

Quote:

Originally Posted by Mark.B (Post 1364444)
For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.

Just an update - I have created a draw manually now for today (nicked bits of the cron script and patched it together), so that's why there's now one showing up, but for some reason it wouldn't create automatically.

Mark.B 10-20-2007 05:26 PM

Additionally, I'm still struggling with the time zones on the Sports Pool. Something isn't right.

I had an event that I set to close at 19:20hrs BST (GMT +1) today, and just now at 19.20hts it was still open. When I converted the timestamp in a converter, it equated to 01:00 BST. Even though the event did say ion the public screen that it would close at 19:00 BST.

I fixed it by manually changing the timestamp, but I don't think I have ever once managed to get an event to close at the desired time without altering the timestamp afterwards in the database.

When we select a time in the admincp, what timezone is it actually using? And what timezone then displays on the public site?

towermatt 10-20-2007 05:31 PM

For me, I am adding games that start at 1PM EST (for instance). I set my site to use Eastern Standard Time

So for me in Colorado (2hrs behind) it shows that it closes at 11am

I assume it is taking that from the board setting

Andrew Green 10-20-2007 05:34 PM

Quote:

Originally Posted by Mark.B (Post 1364444)
For some reason my lottery did not set up a new draw for today when the cron ran.

I have tried running the cron manually, and no errors show up, but no new draw gets created.

It's been working ok previously. I'm a bit baffled.

I have a couple ideas, I'll implement them all, should solve this, as well as give you the ability to start a draw if there isn't one.

Quote:

Originally Posted by Mark.B (Post 1364460)
Additionally, I'm still struggling with the time zones on the Sports Pool. Something isn't right.

I had an event that I set to close at 19:20hrs BST (GMT +1) today, and just now at 19.20hts it was still open. When I converted the timestamp in a converter, it equated to 01:00 BST. Even though the event did say ion the public screen that it would close at 19:00 BST.

I fixed it by manually changing the timestamp, but I don't think I have ever once managed to get an event to close at the desired time without altering the timestamp afterwards in the database.

When we select a time in the admincp, what timezone is it actually using? And what timezone then displays on the public site?

Right now it's using the server time, not vb time, but the server time. I'm going to slap in a adjustment to use the users time settings though.

towermatt 10-20-2007 05:35 PM

Cool! My server time must be EST.

That works well.

Mark.B 10-20-2007 05:37 PM

Quote:

Originally Posted by towermatt (Post 1364461)
For me, I am adding games that start at 1PM EST (for instance). I set my site to use Eastern Standard Time

So for me in Colorado (2hrs behind) it shows that it closes at 11am

I assume it is taking that from the board setting

I dunno anymore. I get totally confused by time zones.

I have just made some changes to sportspool.php along the following lines:

Code:

$eventdate = vbdate($vbulletin->options['dateformat'], $eventtime);
$eventtime = vbdate($vbulletin->options['timeformat'], $eventtime);

Then I have gone into the template casino_sportspool_event, and added $eventtime next to $eventdate.

With a test event, if I now create the event with a time six hours before the time I actually want it to close, the close time shows correctly in BST on the public page.

The question then is, will the event actually close at that time or not? Because today's didn't, but that was before I made the changes.

I am assuming this works the same as the add scheduled tasks window, which also requires times to be six hours aheaed (for me anyway) but then shows them in my local time in the management window.

I *hate* timezones!!!!

PS....please don't think I'm criticising you in any way here Andrew. It's my own confusion with timezones that causes this, not your mod! I have the same problem trying to get crons to run at the right time.

aztecboi2003 10-20-2007 05:48 PM

Is there a way to add advertising or banners to the blackjack or the slots pages?

sandt38 10-20-2007 08:01 PM

Quote:

Originally Posted by towermatt (Post 1364416)
Wonderful!

I should have investigated that, totally logical. Thanks again for the help, the chips look great

They are on and are perfect. My site has all these black colors so they came across well

Excellent. I am sorry i wasn't here to help you load these, but as long as you got it done that is what matters.

I designed these with my dark BGs in mind as well, although I actually labeled them with my forum's casino name. I have several skins, and most use a dark BG... I find it easier on the eyes. I am glad you like them.


All times are GMT. The time now is 03:10 AM.

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.04366 seconds
  • Memory Usage 1,752KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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