Status
Not open for further replies.

E.T.

Customer
Hi,

Is it possible to get an availability to choose if you want to display a description of a game or not.

The reason for asking.

Personally I think the arcade is looking nicer without having descriptions of the game as a lot of games does have a rubbish description ( see in game ) or the description is the same as the instructions.

Now I'm removing all the descriptions directly from the database itself.

regards,

Marcel
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
You do know you can edit the games description in Manage Games and click on the game you wish to edit, and type in your own description.
 
E.T. Ok then rather that deleting them all do this:

Go to styles and templates, DragonByte Tech: vBArcade Templates/dbtech_vbarcade_game_panel and replace the contents there with this:

HTML:
<div class="arcade_game_panel" rel="$game[gameid]">
    <h2 class="blockhead">
        <if condition="$single"><if condition="$game['author']"><span class="arcade_right">By $game[author]</span></if><else /><a class="textcontrol" href="arcade.php?game=$game[gameid]">Play Now</a></if>
        <span title="$game[title]">$game[stitle]</span>
    </h2>
    <div class="blockbody settings_form_border">
        <div class="blockrow arcade_game_info">
            <div class="arcade_game_image"><img src="dbtech/vbarcade/media/$game[gameid]/$game[badge]" /><br />$categories</div>
            <!--<p>$game[description]<if condition="$game['more']">... <a href="arcade.php?game=$game[gameid]">more</a></if></p>-->

            <div class="arcade_game_interact">
                <div class="arcade_game_rating">
                    Ratings: <span>$game[ratings]</span> <span>Avg: $game[avgrating]</span><br />
                    <span><if condition="$game['myrating']">Mine<else />Rate</if></span>: <img rel="$game[gameid]" src="images/rating/<if condition="$game['myrating'] OR !$game['stars']">rating-trans-15_$game[myrating]<else />rating-15_$game[stars]<if condition="$game['stars'] != 5">_left</if></if>.png" />
                </div>
                <div class="arcade_game_favorite">Favorited: <span>$game[favorites]</span> <img rel="$game[gameid]" src="dbtech/vbarcade/images/heart_<if condition="$game['myfavorite']">minus<else />plus</if>.png" title="<if condition="$game['myfavorite']">Remove from<else />Add to</if> Favorites" /><br />Comments: $game[comments]</div>
                <div style="clear: both;"></div>
            </div>
        </div>
        <div class="blocksubhead arcade_scores">
            <span class="arcade_right"><if condition="$global"><a href="#" rel="global">Local</a> | </if><a href="arcade.php?game=$game[gameid]#scores">Scores</a></span>
            Champion
        </div>
        <if condition="$global">
        <div class="blockrow" rel="global">
            <div class="arcade_scores">
                <span class="arcade_score"><img src="dbtech/vbarcade/images/trophy_gold_16.png" /> <if condition="$game['global_user']">$game[global_score]<else />Unknown</if></span>
                #1 <if condition="$game['global_user']"><if condition="$vbulletin->options['dbtech_vbarcade_global'] == 2"><a href="$game[global_link]" target="_blank">$game[global_user]</a><else />Global Best</if><else />Player</if>
            </div>
            <if condition="$vbulletin->userinfo['userid']"><div class="arcade_scores"><if condition="$game['global']">
                <span class="arcade_right">Best: $game[score]</span>
                #$game[global] <a href="arcade.php?u=$bbuserinfo[userid]">$bbuserinfo[musername]</a>
            <else />
                <span class="arcade_right"><a href="arcade.php?game=$game[gameid]">Play</a></span>
                <if condition="$game['global_user']"><if condition="$game['global_winner']">Congratulations, defend it well!
                <else />You could take this if you try!</if><else />Just make sure to do your best!</if>
            </if></div></if>
        </div>
        </if>
        <div class="blockrow"<if condition="$global"> style="display: none;"</if> rel="local">
            <div class="arcade_scores">
                <span class="arcade_score"><img src="dbtech/vbarcade/images/trophy_gold_16.png" /> <if condition="$game['local_userid']">$game[local_score]<else /><if condition="$vbulletin->userinfo['userid']">Available<else />Unknown</if></if></span>
                #1 <if condition="$game['local_userid']"><a href="arcade.php?u=$game[local_userid]">$game[local_user]</a><else />Player</if>
            </div>
            <if condition="$vbulletin->userinfo['userid']"><div class="arcade_scores"><if condition="$game['rank']">
                <span class="arcade_right">Best: $game[score]</span>
                #$game[rank] <a href="arcade.php?u=$bbuserinfo[userid]">$bbuserinfo[musername]</a>
            <else />
                <span class="arcade_right"><a href="arcade.php?game=$game[gameid]">Play</a></span>
                <if condition="$game['local_userid']"><if condition="$game['local_userid'] == $vbulletin->userinfo['userid']">Congratulations, defend it well!
                <else />You could take this if you try!</if><else />Just make sure to do your best!</if>
            </if></div></if>
        </div>
        <div class="blocksubhead">
            Statistics
        </div>
        <div class="blockrow">
            <table>
                <tr>
                    <td> </td>
                    <td><b>Avg Score</b></td>
                    <td><b>Played</b></td>
                    <td><b>Time Spent</b></td>
                </tr>
                <if condition="$vbulletin->userinfo['userid']">
                <tr>
                    <td><b>Myself</b></td>
                    <td>$game[myavgscore]</td>
                    <td>$game[myplays]</td>
                    <td>$game[mytimespent]</td>
                </tr>
                </if>
                <tr>
                    <td><b><if condition="$global">Local<else />Forum</if></b></td>
                    <td>$game[local_avgscore]</td>
                    <td>$game[local_plays]</td>
                    <td>$game[local_timespent]</td>
                </tr>
                <if condition="$global"><tr>
                    <td><b>Global</b></td>
                    <td><if condition="$game['global_plays']">$game[global_plays]<else />?</if></td>
                    <td><if condition="$game['global_avgscore']">$game[global_avgscore]<else />?</if></td>
                    <td><if condition="$game['global_timespent']">$game[global_timespent]<else />?</if></td>
                </tr></if>
            </table>
        </div>
    </div>
</div>

14e5a66141d3da.png


You can do that for now till Darkwaltz sees if he will implement your request
 
Last edited:
You can already do this with the game description teaser length. Currently, if you set it to 0, you still get an elipsis and more link, is that good?
I could extend that setting to put nothing if its set to 0
 
Thanks Darkwaltz4, it's already looking better with a more link.

But I prefer to see nothing by the description, but if it too much work I'll delete the description manually ;)
 
I was originally going to decline this suggestion (because it would be an extra setting few would need) until i noticed the maximum already does pretty much exactly what you want. though, i think i can extend it to show nothing at all if its 0 with no extra setting. it will still show on the individual game page though :) if you dont want it there, then the best i can offer if you edit the game to remove it. revert your template edits!
 
Status
Not open for further replies.
Back
Top