Logo

Upgrade from v4.3.8 or below to v4.3.9 or above


Manually change templates


If you upgrade from Reverse Auction Factory v4.3.8 or below to version v4.3.9 or above and choose to NOT overwrite templates, then you will have to do the following precise modifications for compatibility reasons.

  • File components/com_rbids/templates/default/js/t_javascript_language.tpl, at lines 27-33

replace:

{if $terms_and_conditions}
    var must_accept_term= true;
{else}
    var must_accept_term= false;
{/if}
var auction_currency='{$auction->currency}';


with:

{if !empty($terms_and_conditions)}
    var must_accept_term= true;
{else}
    var must_accept_term= false;
{/if}
{if !empty($auction->currency)}
    var auction_currency='{$auction->currency}';
{else}
    var auction_currency='';
{/if}


  • File components/com_rbids/templates/default/js/t_javascript_maps.tpl, at line 15

replace:

{if ($googleMapX && $googleMapY)}


with:

{if (!empty($googleMapX) && !empty($googleMapY))}


  • File components/com_rbids/templates/default/t_listauctions.tpl, at lines 43-44

replace:

{assign var = auction value = `$auction_rows[auctionsloop]`}
{assign var = index value = `$smarty.section.auctionsloop.rownum`}


with:

{assign var = auction value = $auction_rows[auctionsloop]}
{assign var = index value = $smarty.section.auctionsloop.rownum}


  • Same file components/com_rbids/templates/default/t_listauctions.tpl, at line 58

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction` index=`$index`}


with:

{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction index=$index}


  • Same file components/com_rbids/templates/default/t_listauctions.tpl, at line 66

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction` index=`$index`}


with:

 {include file='elements/lists/t_listauctions_cell.tpl' auction=$auction index=$index}


  • File components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 100

replace:

<span style = "font-size: 24px;text-align: right;">{printprice price=$auction->max_price currency=$auction->currency}</span>


with:

<span style = "font-size: 24px;text-align: right;">{printprice price=$auction->max_price auction=$auction currency=$auction->currency}</span>


  • Same file components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 108

replace:

{"COM_RBIDS_WINNING_BID"|translate}: {printprice price=$auction->get('winning_bid') currency=$auction->currency}


with:

{"COM_RBIDS_WINNING_BID"|translate}: {printprice price=$auction->get('winning_bid') auction=$auction currency=$auction->currency}


  • Same file components/com_rbids/templates/default/elements/lists/t_listauctions_cell.tpl, at line 111

replace:

{"COM_RBIDS_BEST_BID"|translate}: {printprice price=$auction->get('lowest_bid') currency=$auction->currency}


with:

{"COM_RBIDS_BEST_BID"|translate}: {printprice price=$auction->get('lowest_bid') auction=$auction currency=$auction->currency}


  • File components/com_rbids/templates/default/t_auctiondetails.tpl, at line 5

replace:

{if $payment_items_header} 


with:

{if !empty($payment_items_header)} 


  • Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 217

replace:

{if !$auction->expired && !$auction->close_offer && $auction->extended_counter>0} 


with:

{if empty($auction->expired) && !$auction->close_offer && $auction->extended_counter>0} 


  • Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 231

replace:

{printprice currency=$auction->currency price=$auction->max_price} 


with:

{printprice currency=$auction->currency auction=$auction price=$auction->max_price}


  • Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 249

replace:

{printprice price=$auction->get('lowest_bid') currency=$auction->currency} 


with:

{printprice price=$auction->get('lowest_bid') auction=$auction currency=$auction->currency}


  • Same file components/com_rbids/templates/default/t_auctiondetails.tpl, at line 311

replace:

{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($user->googleMaps_x && $user->googleMaps_y)) } 


with:

{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)) } 


  • File components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 18

replace:

 alt = "bid" {$disable_bids}/>&nbsp;{$auction->currency}&nbsp; 


with:

 alt = "bid"/>&nbsp;{$auction->currency}&nbsp; 


  • Same file components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 57

replace:

<input type = "checkbox" class = "inputbox" name = "agreement" value = "1" {$disable_bids} /> 


with:

<input type = "checkbox" class = "inputbox" name = "agreement" value = "1"/> 


  • Same file file components/com_rbids/templates/default/elements/auctiondetail/t_bid.tpl, at line 67

replace:

<input type = "submit" name = "send" value = "{'COM_RBIDS_SEND_BID'|translate}" class = " btn button" {$disable_bids}/> 


with:

<input type = "submit" name = "send" value = "{'COM_RBIDS_SEND_BID'|translate}" class = " btn button"/> 


  • File components/com_rbids/templates/default/t_myuserdetails.tpl, at line 17

replace:

<input type="hidden" name="return" value="{$return}"/> 


with:

{*<input type="hidden" name="return" value="{$return}"/>*} 


  • File components/com_rbids/templates/default/t_mybids.tpl, at lines 23-24

replace:

{assign var = auction value = `$auction_rows[auctionsloop]`}
{assign var = index value = `$smarty.section.auctionsloop.rownum`} 


with:

{assign var = auction value = $auction_rows[auctionsloop]}
{assign var = index value = $smarty.section.auctionsloop.rownum} 


  • Same file components/com_rbids/templates/default/t_mybids.tpl, at line 34

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`} 


with:

{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum} 


  • File components/com_rbids/templates/default/t_mywonbids.tpl, at lines 23-24

replace:

{assign var = auction value = `$auction_rows[auctionsloop]`}
{assign var = index value = `$smarty.section.auctionsloop.rownum`}


with:

{assign var = auction value = $auction_rows[auctionsloop]}
{assign var = index value = $smarty.section.auctionsloop.rownum}


  • Same file components/com_rbids/templates/default/t_mywonbids.tpl, at line 34

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}


with:

{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}


  • File components/com_rbids/templates/default/t_categories.tpl, at line 51

replace:

{assign var="index" value=`$smarty.section.category.rownum`}


with:

{assign var="index" value=$smarty.section.category.rownum}


  • File components/com_rbids/templates/default/t_mywatchlist.tpl, at lines 40-41

replace:

{assign var = auction value = `$auction_rows[auctionsloop]`}
{assign var = index value = `$smarty.section.auctionsloop.rownum`}


with:

{assign var = auction value = $auction_rows[auctionsloop]}
{assign var = index value = $smarty.section.auctionsloop.rownum}


  • Same file components/com_rbids/templates/default/t_mywatchlist.tpl, at line 51

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}


with:

{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}


  • File components/com_rbids/templates/default/t_editauction.tpl, at line 8

replace:

{if $payment_items_header}


with:

{if !empty($payment_items_header)}


  • Same file components/com_rbids/templates/default/t_editauction.tpl, at line 21

replace:

<input type="hidden" name="oldid" value="{$oldid}"/>


with:

<input type="hidden" name="oldid" value="{$oldid|default: 0}"/>


  • Same file components/com_rbids/templates/default/t_editauction.tpl, at line 255

replace:

{printprice price=$auction->max_price currency=$auction->currency}


with:

{printprice price=$auction->max_price auction=$auction currency=$auction->currency}


  • Same file components/com_rbids/templates/default/t_editauction.tpl, at line 266

replace:

{printprice price=$auction->max_price currency=$auction->currency}


with:

{printprice price=$auction->max_price auction=$auction currency=$auction->currency}


  • Same file components/com_rbids/templates/default/t_editauction.tpl, at line 270

replace:

{printprice price=$cfg->set_default_max_price currency=$auction->currency}


with:

{printprice price=$cfg->set_default_max_price auction=$auction currency=$auction->currency}


  • File components/com_rbids/templates/default/t_myauctions.tpl, at line 18

replace:

{include file='elements/filter_button.tpl' label="COM_RBIDS_MY_AUCTIONS_TAB_PUBLISHED_OFFERS"|translate}


with:

{include file='elements/filter_button.tpl' filter='published' label="COM_RBIDS_MY_AUCTIONS_TAB_PUBLISHED_OFFERS"|translate}


  • Same file components/com_rbids/templates/default/t_myauctions.tpl, at lines 38-39

replace:

{assign var = auction value = `$auction_rows[auctionsloop]`}
{assign var = index value = `$smarty.section.auctionsloop.rownum`}


with:

{assign var = auction value = $auction_rows[auctionsloop]}
{assign var = index value = $smarty.section.auctionsloop.rownum}


  • Same file components/com_rbids/templates/default/t_myauctions.tpl, at line 49

replace:

{include file='elements/lists/t_listauctions_cell.tpl' auction=`$auction_rows[auctionsloop]` index=`$smarty.section.auctionsloop.rownum`}


with:

{include file='elements/lists/t_listauctions_cell.tpl' auction=$auction_rows[auctionsloop] index=$smarty.section.auctionsloop.rownum}


  • File components/com_rbids/templates/default/elements/auctiondetail/t_tab_maps.tpl, at lines 1-5

replace:

{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($user->googleMaps_x && $user->googleMaps_y)) }
   {if ($auction->googlex && $auction->googley)}
      {include file='js/t_javascript_maps.tpl' googleMapX=$auction->googlex googleMapY=$auction->googley}
   {elseif ($user->googleMaps_x && $user->googleMaps_y)}
      {include file='js/t_javascript_maps.tpl' googleMapX=$user->googleMaps_x googleMapY=$user->googleMaps_y}


with:

{if $cfg->google_key && $cfg->map_in_auction_details &&(($auction->googlex && $auction->googley)||($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)) }
   {if ($auction->googlex && $auction->googley)}
      {include file='js/t_javascript_maps.tpl' googleMapX=$auction->googlex googleMapY=$auction->googley}
   {elseif ($auctioneer->googleMaps_x && $auctioneer->googleMaps_y)}
      {include file='js/t_javascript_maps.tpl' googleMapX=$auctioneer->googleMaps_x googleMapY=$auctioneer->googleMaps_y}


  • File components/com_rbids/templates/default/t_googlemap.tpl, at line 2

replace:

{if ($googleX!="" && $googleY!="") || $cfg->google_key!="" }


with:

{if ($googleMapX!="" && $googleMapY!="") || $cfg->google_key!="" }


  • File components/com_rbids/templates/default/t_userdetails.tpl, at line 74

replace:

{if $cfg->allowpaypal && !$cfg->hide_contact}


with:

{if $cfg->allow_paypal && !$cfg->hide_contact}


  • Same file components/com_rbids/templates/default/t_userdetails.tpl, at lines 86-88

replace:

{foreach from=$user->activity_domains item=item name=item}
   <a href = '{$links->getAuctionListRoute($item->aucLinkFilterCatIdUserId)}'>{$item->catname}</a>{if !$smarty.foreach.item.last}, {/if}
{/foreach}


with:

{if $user->activity_domains|is_array}
   {foreach from=$user->activity_domains item=item name=item}
      <a href = '{$links->getAuctionListRoute($item->aucLinkFilterCatIdUserId)}'>{$item->catname}</a>{if !$smarty.foreach.item.last}, {/if}
   {/foreach}
{else}
   {$user->activity_domains}
{/if}