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. :)

weedheaven 06-15-2008 06:52 AM

This is a very nice addon! My users like it, and i got no problems with timezone's (live in the netherlands) europe time :)

Rat1972 06-15-2008 09:08 AM

same for me if that addon is made, i give also a donation :)

GaiLoan 06-15-2008 09:53 PM

thanks for the great mod, "install"

socalrico 06-16-2008 03:31 AM

[QUOTE=mcyates;1542462]Thank you, installed [QUOTE]

Love it! Greatmnod! Thanks!

fulviods 06-16-2008 01:12 PM

perfect!! thanks!

M-Tuning 06-17-2008 01:10 PM

Which table was wrong?

As I have translated EM2008.php

PiTXI 06-17-2008 03:31 PM

Quote:

Originally Posted by M-Tuning (Post 1551633)
Which table was wrong?

As I have translated EM2008.php

me too

Fraxter 06-17-2008 03:43 PM

No sql table, the group table calculation (A-D) was wrong. Take a look into your tables and you will see that for example switzerland before czech is display (thats wrong).

If you have translated your em2008.php file, you can change it manuell with this:

Find:

PHP Code:

$sql "SELECT t.name, t.shortname, t.groupname, gs.match_played, gs.won, 
                    gs.drawn, gs.lost, gs.goal_plus, gs.goal_minus, gs.goal_diff, gs.points 
                    FROM " 
TABLE_PREFIX "rth_em08_teams AS t 
                    LEFT JOIN " 
TABLE_PREFIX "rth_em08_group_scores AS gs ON ( t.team_id = gs.team_id ) 
                    ORDER BY t.groupname, gs.points DESC, gs.goal_diff DESC, gs.goal_plus DESC"


Replace with:

PHP Code:

$sql "SELECT t.name, t.shortname, t.groupname, gs.match_played, gs.won, 
                    gs.drawn, gs.lost, gs.goal_plus, gs.goal_minus, gs.goal_diff, gs.points 
                    FROM " 
TABLE_PREFIX "rth_em08_teams AS t 
                    LEFT JOIN " 
TABLE_PREFIX "rth_em08_group_scores AS gs ON ( t.team_id = gs.team_id ) 
                    ORDER BY t.groupname, gs.points DESC, gs.goal_plus DESC, gs.goal_minus ASC"


That?s all. Only a little sql query bug. ;)

best regards

Pander23

M-Tuning 06-18-2008 04:53 PM

thanks

Bobbrown 06-18-2008 07:06 PM

Has been working on my site since day 1 but now I can not select the next stages (quarters,semis,final)
The drop down list has never hyperlinked to the desired places.
Any fixes please.

fulviods 06-18-2008 09:24 PM

I translated in italian many words/sentences but i noticed that some words like "Sieger Gruppe B" we can't modify them. I saw them in the em2008.php file. Can I translate inside this file (line 54 to 91) or there are consequences ?

Fraxter 06-18-2008 10:28 PM

Quote:

Originally Posted by Bobbrown (Post 1552850)
Has been working on my site since day 1 but now I can not select the next stages (quarters,semis,final)
The drop down list has never hyperlinked to the desired places.
Any fixes please.

Have you done this step in the installation txt?

Quote:

3.


Add under Styles & Templates ---> Style Manager ---> headinclude

the following code at the top:


PHP Code:

<script language="JavaScript">
<!--
function 
QuickJump(Formular)
{
    var 
Element Formular.Ziel.selectedIndex;

    if (
Formular.Ziel.options[Element].value != 0
    {
        
location Formular.Ziel.options[Element].value;
    }   
}
//-->
</script


Quote:

Originally Posted by fulviods (Post 1552962)
I translated in italian many words/sentences but i noticed that some words like "Sieger Gruppe B" we can't modify them. I saw them in the em2008.php file. Can I translate inside this file (line 54 to 91) or there are consequences ?

Yes, you can translate this, it will work without problems.

best regards

Pander23

Bobbrown 06-19-2008 06:14 AM

Thanks @Pander23, that has fixed it.

Mesohu 06-19-2008 12:05 PM

How this will work for the second round ?

ex. : If i choose Portugal - Germny , 1:1 . It depend on the game of 90 minutes or it depend on penalties ?

Marka Ragnos 06-19-2008 01:48 PM

problem

in the quarter finals some members dont have there result visible in the members bets section
will this be a problem for points?

KHALIK 06-19-2008 02:06 PM

Can someone help me translate this for english

Quote:

<script language="JavaScript">
<!--
function QuickJump(Formular)
{
var Element = Formular.Ziel.selectedIndex;

if (Formular.Ziel.options[Element].value != 0)
{
location = Formular.Ziel.options[Element].value;
}
}
//-->
</script>


I am unable to place bets for Quarterfinal, Semi finals etc... installed the new fix.



I cannot understand why it has stopped to take bets for quarterfinals, etc...

Marka Ragnos 06-19-2008 02:35 PM

i have the same problem, so i'm not the only one

KHALIK 06-19-2008 02:42 PM

What I cannot understand is, everything was working fine.

until....

quarterfinals/semi etc... as we cannot place/make any bets.... WHY ??

is there a fix.

Marka Ragnos 06-19-2008 02:44 PM

you have manually selected the teams for the quarter finals right?

KHALIK 06-19-2008 02:55 PM

Quote:

Originally Posted by Marka Ragnos (Post 1553623)
you have manually selected the teams for the quarter finals right?

Does that fix it ? how did you do that ?

need a fix before match starts!

Marka Ragnos 06-19-2008 02:59 PM

go to admincp => European Cup 2008 Bet Game => Quarterfinal

and select the teams that should be in the quarter finals

today it's portugal - germany so you just select those teams

Fraxter 06-19-2008 03:11 PM

For me works all correctly, it donĀ“t need any fix. The version is stable and works without problems. Check the settings in your admin cp and set the quarterfinals manuel. Then you can bet for the quarterfinal matches.

best regards

Pander23

Marka Ragnos 06-19-2008 04:14 PM

i have done that, still a few members are not on the members bet list

it's not a big problem i just hope it doesnt affect those users in the rank points.

Fraxter 06-19-2008 05:34 PM

Quote:

Originally Posted by Marka Ragnos (Post 1553715)
i have done that, still a few members are not on the members bet list

it's not a big problem i just hope it doesnt affect those users in the rank points.

Yes, thats a known bug. The coder of this hack is working on it to fix the bug. ;)

best regards

Pander23

Marka Ragnos 06-19-2008 06:31 PM

Quote:

Originally Posted by Pander23 (Post 1553791)
Yes, thats a known bug. The coder of this hack is working on it to fix the bug. ;)

best regards

Pander23


ok no problem but those users wont have any problems with the points standings right?


thx

Fraxter 06-19-2008 07:32 PM

Quote:

Originally Posted by Marka Ragnos (Post 1553835)
ok no problem but those users wont have any problems with the points standings right?


thx

No, i think it?s only a display bug, the points will correctly standing.

But i think we can see it after the game today. ;)

best regards

Pander23

punchbowl 06-21-2008 03:50 PM

So what did everyone fill out for last nights croatia/turkey game? 1-1 or 3-1?

Well done Turkey btw.

Fraxter 06-21-2008 09:36 PM

Quote:

Originally Posted by punchbowl (Post 1555492)
So what did everyone fill out for last nights croatia/turkey game? 1-1 or 3-1?

Well done Turkey btw.

1:1 + 3:1 = 4:2 ;)

car20 06-23-2008 10:18 AM

Quote:

Originally Posted by Pander23 (Post 1546650)
For removing the menu, you must delete the \includes\xml\cpnav_EM2008.xml file.

best regards

Pander23

Tanks so much :)

Lombardo 06-23-2008 12:10 PM

Any possibilities of converting this into a prediction league hack, after the tournament?


All times are GMT. The time now is 01: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.01640 seconds
  • Memory Usage 1,835KB
  • 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
  • (7)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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