vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Add-On Releases - European Cup 2008 Bet Game (https://vborg.vbsupport.ru/showthread.php?t=181709)

macc 06-12-2008 11:29 AM

hello!

have same problem ... mean with time ... where i can change to my server time?


regards

macc

Fraxter 06-12-2008 12:07 PM

For correct your server time on this hack:

Open EM2008.php

Find:

PHP Code:

$phase2_timestamp =  mktime(0,0,0,6,7,2008); 

Add under:

PHP Code:

$seconds 60*60*2// 2 hours, for example 60*60*4 for 4 hours etc. 

Find:

PHP Code:

$em_now time() 

Replace with:

PHP Code:

$em_now time() + $seconds// now the time runs 2 hours "after" 

I don?t know how many hours +/- do you need. Please change this by yourself, it?s very easy.

Use - for set time before and + to set the server time after.

best regards

Pander23

macc 06-12-2008 12:24 PM

my server time is " time zone is gmt (-0500 is EST) " and my time zone is GMT +0200!

can you help me ... how to change in php file?


regards

macc

Fraxter 06-12-2008 01:55 PM

Quote:

Originally Posted by macc (Post 1547613)
my server time is " time zone is gmt (-0500 is EST) " and my time zone is GMT +0200!

can you help me ... how to change in php file?


regards

macc

Plus 7 hours, is this correct? You must know your difference between the servertime and your timezone. Tell me the exact difference and say me must i add the time minus or plus.

best regards

Pander23

macc 06-12-2008 02:37 PM

difference is 6 hours .... i think

server time now is ...
11:35:51 AM and my time is 17:35

regards

macc

Fraxter 06-12-2008 02:44 PM

Ok, replace your EM2008.php with my attachment and test it.

best regards

Pander23

macc 06-12-2008 02:47 PM

Thanks for help!

will test ...

regards

macc


www.belaplay.com

bobbaf3nn 06-12-2008 03:30 PM

Ah yeh its sorted itself out now. I thought it might have been just a time thing but my members were pressuring me for an answer so i thoguht i'd ask here. As i said sorted now. Thanks!

Rat1972 06-13-2008 06:38 PM

Quote:

Originally Posted by Tyran1 (Post 1544912)
A League Addon ist coming soon ....

i had that question and now also the answer. It would be great if you can costumize extra competitions!

Great mod, click install & mod of the month!

malag 06-14-2008 09:44 PM

I am also ready to give a donation, and I hope that you receive the ability to add other leagues.
I would like to make bets my local league. I hope that it will be possible. :)


All times are GMT. The time now is 08: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.02244 seconds
  • Memory Usage 1,739KB
  • 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
  • (4)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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