The Arcive of vBulletin Modifications Site. |
|
[AddOn] Extra Search Functions Details »»
|
|||||||||||||||||||||||||||||
This simple edit will allow you to add search by Name,Times Played,Rating,Date Added and Jackpot (if you use vbPlaza/Jackpots) to your arcade
Open skin_Arcade and find: Code:
function top_links_table_extra($cat , $selected) {
global $ibforums;
return <<<EOF
<td class="alt1" align="right" width="5%">
</td>
EOF;
}
Code:
function top_links_table_extra($cat , $selected) {
global $ibforums;
return <<<EOF
<td class="alt1" align="center" width="100%">
<form action="{$ibforums->base_url}act=Arcade{$cat}" method="post">
<select class="codebuttons" name="overwrite_sort">
<option value="gtitle" {$selected['sort']['gtitle']}>{$ibforums->lang['gname']}</option>
<option value="gcount" {$selected['sort']['gcount']}>{$ibforums->lang['times_p']}</option>
<option value="g_rating" {$selected['sort']['g_rating']}>{$ibforums->lang['rating_s']}</option>
<option value="added" {$selected['sort']['added']}>{$ibforums->lang['dateadded']}</option>
<option value="jackpot" {$selected['jackpot']}>{$ibforums->lang['gb_jackpot']}</option>
</select>
<select class="codebuttons" name="overwrite_order">
<option value="ASC" {$selected['order']['ASC']}>{$ibforums->lang['asc']}</option>
<option value="DESC" {$selected['order']['DESC']}>{$ibforums->lang['desc']}</option>
</select>
<input type="submit" value="{$ibforums->lang['sort_em']}" class="button" />
</form>
</td>
EOF;
}
Open your lang_Arcade_en.php and find: Code:
gb_win_jackpot_raising => "Jackpot: ", Code:
gb_jackpot => "Jackpot", dateadded => "Date Added", Download Now
Show Your Support
|
|||||||||||||||||||||||||||||
![]() |
|
|