Bug Latest Champions and Latest Scores Display Bug

Status
Not open for further replies.

Trekkan

Customer
See the attached screenshot.

The problem appears to be on the game I reported in another thread that was scoring at "0", it's missing that field, so it's displaying the date in the score field.

This could also go away as mentioned before once we can edit games and change the game type, but I wanted to mention it incase it was something else.

Arcade   Dark Hand of Valor Forums.webp
 
Looks like it is skipping output of the cell entirely when its a 0

Not sure of the logic in place to display that (at work and not looking at the code), but if there's logic that would skip a zero, might wanna completely remove it? Meaning there are games like golf games that have a negative number that might not display as well.
 
Heres the fix, edit template dbtech_vbarcade_home_stat

find

HTML:
<if condition="$stat['score']">

replace with

HTML:
<if condition="$stat['score'] != ''">
 
okay this should do it:

change

HTML:
<if condition="$stat['score']">

to this instead

HTML:
<if condition="isset($stat['score'])">
 
Last edited:
Status
Not open for further replies.

Legacy vBArcade

vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
902
Customer rating
0.00 star(s) 0 ratings
Back
Top