Bug? Tip ranking : no updates

This is the General Board for JoomLeague Questions!
User avatar
BigBen
.
Posts: 20
Joined: Sat Aug 09, 2008 11:21 am
Location: Lyon
Contact:

Bug? Tip ranking : no updates

Postby BigBen » Tue Oct 07, 2008 1:40 pm

Hello everybody ! :)

I have a problem with the Prediction Game. I use it in "Toto" mode and Tipper's rank is not updated.
The first matchday was this weekend and in my ranks, I have the right numbers of predictions but no points are allowed.

Somebody use Toto prediction ? There is a bug in the Joomleague code ?

I post my question in the French forum (traduction in English) but nobody seems to use Toto mode...

This part of code seems strange isn't it ?  :

Code: Select all

// add score from this tip
      $this->points += $points;
    }
    else
    {
      if     ($e1  > $e2 && $tip->tip == 1) $this->points += $wrong;
      else if($e1  < $e2 && $tip->tip == 2) $this->points += $wrong;
      else if($e1 == $e2 && $tip->tip == 0) $this->points += $wrong;
      // SORRY, nothing!
In all case we have no points???  :-\

Thanks a lot for your help ! :)

*sorry for my English I'm French :)
Joomleague 0.90 - Joomla 1.0.13



[gelöscht durch Administrator]

xBlues

Re: Bug? Tip ranking : no updates

Postby xBlues » Tue Oct 07, 2008 2:20 pm

set "Points pour un mauvais prono" to 1. All other entries have no effect. It's not logic, but it works  :)
Last edited by xBlues on Tue Oct 07, 2008 2:26 pm, edited 1 time in total.

User avatar
BigBen
.
Posts: 20
Joined: Sat Aug 09, 2008 11:21 am
Location: Lyon
Contact:

Re : Bug? Tip ranking : no updates

Postby BigBen » Tue Oct 07, 2008 2:44 pm

Thanks for your reply. :)
But users will have points for bad tips with this settings...  :D

xBlues

Re: Re : Bug? Tip ranking : no updates

Postby xBlues » Tue Oct 07, 2008 3:41 pm

BigBen wrote:Thanks for your reply. :)
But users will have points for bad tips with this settings...  :D



please try it. it works (0.93)

User avatar
BigBen
.
Posts: 20
Joined: Sat Aug 09, 2008 11:21 am
Location: Lyon
Contact:

Re : Bug? Tip ranking : no updates

Postby BigBen » Tue Oct 07, 2008 4:02 pm

It works !!!!! Thank you so much !!!! :)  :thx:

If somebody have the same problem : the field "Points for wrong prediction" should be "Points for correct prediction" in the Toto mode. And "Points for correct prediction" have no effect.  :-\

There are others bugs with Toto mode :
- the column "Top Tipper" show "0" for all tippers (maybe because there are users with the same number of good prediction?)
- the "do tips" page doesn't display elements of the column "My Prediction". It should display 1 or 2 and it displays ":", as if it want to show a match result instead of user's choice of winner. (see the picture below)



[gelöscht durch Administrator]

zut
Newbie
Posts: 10
Joined: Sat Mar 06, 2010 5:31 pm

Re: Re : Bug? Tip ranking : no updates

Postby zut » Tue Mar 29, 2011 11:37 am

xBlues wrote:
BigBen wrote:Thanks for your reply. :)
But users will have points for bad tips with this settings...  :D



please try it. it works (0.93)


It works, THANKS !


Return to “JoomLeague Component, Version <= 0.93b”

Who is online

Users browsing this forum: No registered users and 3 guests

cron