Seite 32 von 110

Verfasst: 28.06.2008 15:21
von Dr.Death
Sorry for late reaction....

yes, you found a bug ;-)

Solution:

OPEN includes/functions_formel.php

FIND:

Code: Alles auswählen

function formel_del_tip($user_id,$race_id)
{
	global $db, $user, $phpEx;
REPLACE WITH:

Code: Alles auswählen

function formel_del_tip($user_id,$race_id)
{
	global $db, $user, $phpEx, $phpbb_root_path;

Verfasst: 28.06.2008 19:10
von z4reg
Nice Fixed :D thanks

Will be waiting for final version & some new features :wink:

Verfasst: 03.07.2008 09:43
von z4reg
After submitting tips for race ahead of next race .... it returns to to first upcoming race!

Example: next race is silverstone and after submitting tips for Hockenheim or any next race ..after submiiting tips it redirects me back to tips for silverstone ?

Verfasst: 03.07.2008 17:29
von Dr.Death
Yes, thats correct.

After submitting a tip, the MOD returns to the "actual race".

Verfasst: 04.07.2008 10:06
von z4reg
Shouldn't it return to race where user just submitted tip?

Verfasst: 04.07.2008 21:31
von Dr.Death
No, it was designed to return to the actual race.

Not every user want to tip for all races.... the actual race is the main view point.

Verfasst: 05.07.2008 18:49
von z4reg
Can you please explain about race time & deadline ..

I always have problem with deadline !

For this race(silverstone) had to set 5:00:00

board time zone is UTC/GMT
British timezone = utc/gmt +1

Another question is countdown based on user time(get from browser) or server time ?

thanks ;)

Verfasst: 05.07.2008 21:28
von Dr.Death
Race time = Race Start Time.
Deadline = Deadline in Seconds before Race Time.

Example:

Race Time is 14:00 UTC
Deadline is set to 600 Seconds --> Deadline for the last tip is: 13:50 UTC ( 600 Seconds = 10 Minutes )

All times are bases on UTC
This mod recalculates the times to your timezone corresponding to your settings in your personal profile.

Verfasst: 06.07.2008 06:23
von z4reg
Okay thanks

//Check if user is formel moderator or has admin access
if ($user_id == $formel_config['mod_id'] || ($is_admin == 1) )

replace with
if ($auth->acl_get('a_') || $auth->acl_get('m_'))

this should be enough to give moderators permission to manage tipping result ?

Verfasst: 06.07.2008 10:04
von Dr.Death
Not correct.

I grant my own F1 moderator and F1 admin permissions.

You are trying to grant permission for global moderator and admin rights.