Status
Not open for further replies.

Ozzy47

Former Developer
Customer
I see with alot of the Armor games they don't show a game icon in the latest champions and latest scores block. Is their a way to fix that?
 
they should have used the big image as the icon again, and you can edit them to do the same thing, but ill look into why it didnt do that automatically.
 
Also I have resized the img.arcade_icon from 20px to 40 pix

HTML:
img.arcade_icon
{
    border: 1px solid black;
    max-width: 40px;
    vertical-align: bottom;
}

But the icon for IPB games still shows at 20px, is their a way to have them re-sized?
 
Yeah I found that out, is their a way to get ipb games to use the big image as the icon, or is that hard coded in the tar file?
 
they come with that icon, so i use it. you can just save-as the badge image, and immediately re-upload it as the icon size.
 
Well that would be rather difficult upon importing 1000's of ipb games, so I found a work around:

In the template dbtech_vbarcade_home_stat I changed the code:

HTML:
<div class="tr" style="width: 100%;">
    <if condition="$stat['title']"><div class="td blockrow"><if condition="$stat[badge]"><img src="dbtech/vbarcade/media/$stat[gameid]/$stat[badge]" class="arcade_icon" /> </if><a href="arcade.php?game=$stat[gameid]" title="$stat[title]">$stat[stitle]</a></div></if>
    <div class="td blockrow"><if condition="$stat['avatarurl']"><img src="$stat[avatarurl]" class="arcade_icon" /> </if><a href="arcade.php?u=$stat[userid]">$stat[musername]</a></div>
    <div class="td blockrow"><if condition="$stat['trophy']"><img src="dbtech/vbarcade/images/$stat[trophy]"<if condition="!$stat['bold']"> class="arcade_icon"</if> /> </if>$stat[score]</div>
    <if condition="$stat['time']"><div class="td blockrow">$stat[time]</div></if>
</div>

I changed the 2 instances of $stat['icon'] to $stat[badge]
 
fixed the icons in next beta (itll use the badge as the icon) wont update your existing games!

find (forum)/dbtech/vbarcade/systems/arm.php

PHP:
'icon' => $info['badge']

replace with

PHP:
'icon' => $game['badge']
 
Status
Not open for further replies.

Similar threads

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