Author: urbanastro » Mon Oct 08, 2007 2:03 am
Below is the find/replace data for phpBB auction 1.3 I hope someone has already installed this mod since I already have a problem with the first file viewonline.php. H E L P ! I had this mod running with phpBB2 but I really like integramod much better
#
#-----[ OPEN ]------------------------------------------
#
viewonline.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/page_header.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'auction/auction_common.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "faq.$phpEx";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
case AUCTION_ROOM:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_OFFER:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_RATING:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_FAQ:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_MYAUCTION:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_OFFER_VIEW:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_SITEMAP:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
case AUCTION_PIC_MANAGER:
$location = $lang['Auction'];
$location_url = "auction.$phpEx";
break;
#
#-----[ OPEN ]------------------------------------------
#
admin/index.php
#
#-----[ FIND ]------------------------------------------
#
require('./pagestart.' . $phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
include($phpbb_root_path . 'auction/auction_common.'.$phpEx);
#
#-----[ FIND ]------------------------------------------
#
# 2 times
case PAGE_FAQ:
$location = $lang['Viewing_FAQ'];
$location_url = "index.$phpEx?pane=right";
break;
#
#-----[ AFTER, ADD ]------------------------------------------
#
# 2 times
case AUCTION_ROOM:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_OFFER:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_RATING:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_FAQ:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_MYAUCTION:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_OFFER_VIEW:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_SITEMAP:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
case AUCTION_PIC_MANAGER:
$location = $lang['Auction'];
$location_url = "auction.$phpEx?pane=right";
break;
#
#-----[ OPEN ]------------------------------------------
#
/language/lang_english/lang_admin.php
#
#-----[ FIND ]------------------------------------------
#
$lang['Styles'] = 'Styles Admin';
#
#-----[ AFTER, ADD ]------------------------------------------
#
$lang['Auction'] = 'Auction';
$lang['a1_configuration'] = 'Configuration';
$lang['a2_roommangement'] = 'Manage Rooms';
$lang['a4_coupons'] = 'Manage Coupons';
$lang['a3_offer'] = 'Manage Offers';
$lang['a5_ipn_log'] = 'Manage IPN Log';
$lang['a6_picture_Configuration'] = 'Manage Images';
$lang['a7_permission'] = 'Manage Permissions';
$lang['a8_account'] = 'Manage Account';
#
#-----[ OPEN ]------------------------------------------
#
/templates/subSilver/subSilver.cfg
#
#-----[ FIND ]------------------------------------------
#
$current_template_images = $current_template_path . "/images";
#
#-----[ AFTER, ADD ]------------------------------------------
#
$images['auction_locked']="$current_template_images/auction_locked.gif";
$images['auction_open']="$current_template_images/auction_open.gif";
$images['icon_auction_delete']="$current_template_images/auction_delete.gif";
$images['icon_auction_move']="$current_template_images/auction_move.gif";
$images['icon_auction_pic']="$current_template_images/auction_pic.gif";
$images['icon_auction_no_pic']="$current_template_images/auction_nopic.gif";
$images['icon_auction_down']="$current_template_images/auction_down.gif";
$images['icon_auction_up']="$current_template_images/auction_up.gif";
$images['icon_auction_feature']="$current_template_images/auction_feature.gif";
$images['icon_rating1']="$current_template_images/rating/1.gif";
$images['icon_rating2']="$current_template_images/rating/2.gif";
$images['icon_rating3']="$current_template_images/rating/3.gif";
$images['icon_rating4']="$current_template_images/rating/4.gif";
$images['icon_auction_watch']="$current_template_images/auction_add.gif";
$images['icon_auction_user_rating'] = "$current_template_images/{LANG}/icon_auction_user_rating.gif";
$images['newoffer'] = "$current_template_images/{LANG}/newoffer.gif";
$images['direct_sell'] = "$current_template_images/{LANG}/auction_buy_now.gif";
$images['vote_left'] = "$current_template_images/vote_lcap.gif";
$images['vote_right'] = "$current_template_images/vote_rcap.gif";
$images['auction_vote_right'] = "$current_template_images/auction_voting_barb.gif";
$images['auction_vote'] = "$current_template_images/auction_voting_bar.gif";
#
#-----[ OPEN ]------------------------------------------
#
/language/lang_english/lang_main.php
#
#-----[ FIND ]------------------------------------------
#
$lang['datetime']['Dec'] = 'Dec';
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Auction
$lang['Auction'] = 'Auction';
#
#-----[ OPEN ]------------------------------------------
#
/templates/subSilver/overall_header.tpl
#
#-----[ FIND ]------------------------------------------
#
<a><img>{L_USERGROUPS}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<a><img>{L_AUCTION}</a>
#
#-----[ OPEN ]------------------------------------------
#
includes/page_header.php
#
#-----[ FIND ]------------------------------------------
#
'L_FAQ' => $lang['FAQ'],
#
#-----[ AFTER, ADD ]------------------------------------------
#
'L_AUCTION' => $lang['Auction'],
#
#-----[ FIND ]------------------------------------------
#
'U_FAQ' => append_sid('faq.'.$phpEx),
#
#-----[ AFTER, ADD ]------------------------------------------
#
'U_AUCTION' => append_sid('auction.'.$phpEx),
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND ]------------------------------------------
#
include($phpbb_root_path . 'includes/bbcode.'.$phpEx);
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Include language file
$language = $board_config['default_lang'];
if( !file_exists($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.'.$phpEx) )
{
$language = 'english';
}
include($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.' . $phpEx);
// end include language file
#
#-----[ FIND ]------------------------------------------
#
'L_MINI_POST_ALT' => $mini_post_alt,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'AUCTION_USER_RATING' => "<a><img></a>",
'L_VIEW_AUCTION_USER_RATING' => $lang['auction_user_rating'],
#
#-----[ OPEN ]------------------------------------------
#
includes/usercp_viewprofile.php
#
#-----[ FIND ]------------------------------------------
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
exit;
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
// Start Include language file
$language = $board_config['default_lang'];
if( !file_exists($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.'.$phpEx) )
{
$language = 'english';
}
include($phpbb_root_path . 'language/lang_' . $language . '/lang_auction.' . $phpEx);
// end include language file
#
#-----[ FIND ]------------------------------------------
#
'AVATAR_IMG' => $avatar_img,
#
#-----[ AFTER, ADD ]------------------------------------------
#
'AUCTION_USER_RATING' => "<a><img></a>",
'L_VIEW_AUCTION_USER_RATING' => $lang['auction_user_rating'],
#
#-----[ OPEN ]------------------------------------------
#
/templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.MSN_IMG}
#
#-----[ AFTER,ADD ]------------------------------------------
#
// Goes in same line before {postrow.MSN_IMG}
{postrow.AUCTION_USER_RATING}
#
#-----[ OPEN ]------------------------------------------
#
/templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td><span>{L_AIM}:</span></td>
<td><span>{AIM_IMG}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td><span>{L_VIEW_AUCTION_USER_RATING}:</span></td>
<td><span>{AUCTION_USER_RATING}</span></td>
</tr>
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
Last edited by urbanastro on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.