[問題]拍賣模組外掛

phpBB 2 MOD Support
無論是官方或非官方認證之外掛,安裝與使用問題討論。
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
威威
星球公民
星球公民
文章: 51
註冊時間: 2003-04-15 02:02

[問題]拍賣模組外掛

文章 威威 »

問題外掛:拍賣模組外掛
參考連結:http://phpbb-tw.net/phpbb/viewtopic.php ... 9%E7%BD%E6
使用版本:phpBB 2.0.3
網站位置:
狀況描述:

請問各位大大,我已成功安裝了這個外掛。但有什麼方法系統管理員可以修改拍賣的內容呢? 因為我不懂php ,所以在此希望有安裝拍賣外掛的大大能幫忙
威威
星球公民
星球公民
文章: 51
註冊時間: 2003-04-15 02:02

文章 威威 »

用不到edit 功能 , 請問是否以下的edit 在php中填少了?
delete,feature功能都可以使用\r
:cry: :cry:

代碼: 選擇全部

<?php
/***************************************************************************
 *                           auction_offer_view.php
 *                            -------------------
 *   begin                :   January 2004
 *   copyright            :   (C) FR
 *   email                :   fr@php-styles.com
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This hack is released under the GPL License. 
 *   This hack can be freely used, but not distributed, without permission. 
 *   Intellectual Property is retained by the author listed above. 
 *
 ***************************************************************************/

     define('IN_PHPBB', 1);
     define('SHOW_ONLINE', true);
     $phpbb_root_path = './';
     include_once($phpbb_root_path . 'extension.inc');
     include_once($phpbb_root_path . 'common.'.$phpEx);
     include_once($phpbb_root_path . 'auction/functions_blocks.php');
     include_once($phpbb_root_path . 'auction/functions_general.php');
     include_once($phpbb_root_path . 'auction/functions_validate.php');
     include_once($phpbb_root_path . 'auction/auction_constants.php');
     include_once($phpbb_root_path . 'includes/functions_post.php');

     // Start session management
     $userdata = session_pagestart($user_ip, 445);
     init_userprefs($userdata);
     // End session management

     // 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


     $auction_config_data = init_auction_config();

     // Dont show anything if auction is deactivated
     ( $auction_config_data['auction_disable'] == 1 ) ? message_die(GENERAL_MESSAGE, $lang['auction_disable']) : "";

     //   Information for the standard Who-is-Online-Block
     $total_posts     = get_db_stat('postcount');
     $total_users     = get_db_stat('usercount');
     $newest_userdata = get_db_stat('newestuser');
     $newest_user     = $newest_userdata['username'];
     $newest_uid      = $newest_userdata['user_id'];

     if( $total_posts == 0 )
          {
               $l_total_post_s = $lang['Posted_articles_zero_total'];
          }
     else if( $total_posts == 1 )
          {
               $l_total_post_s = $lang['Posted_article_total'];
          }
     else
          {
               $l_total_post_s = $lang['Posted_articles_total'];
          }

     if( $total_users == 0 )
          {
               $l_total_user_s = $lang['Registered_users_zero_total'];
          }
     else if( $total_users == 1 )
          {
               $l_total_user_s = $lang['Registered_user_total'];
          }
     else
          {
               $l_total_user_s = $lang['Registered_users_total'];
          }
     // End information for standard Who-is-online-Block

     // Include-Blocks
     includeTickerBlock();
     includeAuctionRoomBlock();
     includeCloseToEndBlock();
     includeStatisticBlock();
     includeMyAuctionsBlock($userdata);
     includeCalendarBlock();
     includeSearchBlock();
     includeTermsBlock();
     includeNewsBlock();
     includeAuctionSpecialBlock();


     // START
     if ( $HTTP_GET_VARS[POST_AUCTION_OFFER_URL] <> "")
          {
            $auction_offer_id = $HTTP_GET_VARS[POST_AUCTION_OFFER_URL];
          }

     // Check if id is set
     if ( $HTTP_POST_VARS['auction_quickview_id'] <> "")
          {
            $auction_offer_id = $HTTP_POST_VARS['auction_quickview_id'];
          }

     // Grab offer data
     $sql = "SELECT o.*,
                    u.username,
                    u.user_id
             FROM (" . AUCTION_OFFER_TABLE . " o
             LEFT JOIN " . USERS_TABLE . " u ON u.user_id = o.FK_auction_offer_user_id)
             WHERE o.PK_auction_offer_id = '" . $auction_offer_id . "'";

     if( !($result = $db->sql_query($sql)) )
         {
                   message_die(GENERAL_ERROR, 'Could not query offer', '', __LINE__, __FILE__, $sql);
         } // End if
     $auction_offer_row = $db->sql_fetchrow($result);

     // Does auction exist with this id ?
     ( $auction_offer_row['auction_offer_title']=="" ) ? message_die(GENERAL_MESSAGE, $lang['auction_offer_does_not_exist']) : "";

     // Do not display "not paid" offers to anybody except creator and admin
     if ($auction_offer_row['auction_offer_paid']==0 AND $auction_offer_row['FK_auction_offer_user_id']<>$userdata['user_id'] AND $userdata['user_level']<>1 )
         {
                  message_die(GENERAL_MESSAGE, $lang['auction_offer_does_not_exist']);
         } // End if

     if (count($auction_offer_row)>0)
         {
     
               // get username of max-bid
               $sql = "SELECT b.*,
                              u.username,
                              u.user_id,
                              u.user_level
                       FROM (" . AUCTION_BID_TABLE . " b
                       LEFT JOIN " . USERS_TABLE . " u ON u.user_id = b.FK_auction_bid_user_id)
                       WHERE b.FK_auction_bid_offer_id=" . $auction_offer_id . "
                       ORDER BY b.auction_bid_price DESC";

               if( !($result = $db->sql_query($sql)) )
                   {
                             message_die(GENERAL_ERROR, 'Could not query corresponding bids', '', __LINE__, __FILE__, $sql);
                   } // End if

               $auction_offer_max_bidder_id = "-";
               $auction_offer_max_bidder_name = "-";
                               
               while ($auction_corresponding_bidder_row = $db->sql_fetchrow($result))
                    {
                          if ( $auction_offer_max_bidder_name=="-" )
                               {
                                     $auction_offer_max_bidder_price = $auction_corresponding_bidder_row['auction_bid_price'];
                                     $auction_offer_max_bidder_id = $auction_corresponding_bidder_row['user_id'];
                                     $auction_offer_max_bidder_name = $auction_corresponding_bidder_row['username'];
                               }  // End if
                          $auction_corresponding_bidder_matches[] = $auction_corresponding_bidder_row;
                    }  // End while

               if ( count($auction_corresponding_bidder_matches) == 0 )
                    {
                          $template->assign_block_vars('bidrow', array(
                                   'AUCTION_OFFER_BID_CLASS' => 'row2',
                                   'AUCTION_OFFER_BID_NO' => $lang['auction_no_bid']
                          ));
                    } // End if

               for ($i = 0; $i < count($auction_corresponding_bidder_matches); $i++)
                    {
                          // create different colors for bid history
                          // bcmod does not work for every php-version !!!!
                          //if ( bcmod($i+1, 2) == 1 )
                          //     {
                                    $row_class = 'row2';
                          //    }
                          //else
                          //     {
\n                          //          $row_class = 'row3';
                          //     }  // End if
                          
                          $template->assign_block_vars('bidrow', array(
                                   'AUCTION_OFFER_BID_CLASS' => $row_class,
                                   'AUCTION_OFFER_BID_BIDDER_NAME' => '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $auction_corresponding_bidder_matches[$i]['user_id'] . "") . '">( ' . $auction_corresponding_bidder_matches[$i]['username'] . ' )</a>',
                                   'AUCTION_OFFER_BID_BIDDER_RATING' => '<a href="' . append_sid("auction_rating.$phpEx?mode=view&" . POST_USERS_URL . "=" . $auction_corresponding_bidder_matches[$i]['user_id'] . "") . '">[ ' . $lang['auction_user_rating'] . ' ] </a>',
                                   'AUCTION_OFFER_BID_PRICE' => $auction_corresponding_bidder_matches[$i]['auction_bid_price'] . " " . $auction_config_data['currency']
                          ));
                    }  // End for
          }
      else
           {
                $auction_offer_bid_total = $lang['auction_no_bid'];
                $auction_offer_bid_max = $lang['auction_no_bid'];
           }   // End if

     // Extra-features currently just for admin
     $auction_offer_delete_image = "<img src=\"". $phpbb_root_path . 'auction/images/delete.gif' . "\" alt=\"" . $lang['auction_offer_delete'] . " " . $lang['auction_need_to_login'] . "\"></img>";
     if ( $userdata['user_level']==1 )
          {
                $auction_offer_delete_icon = $phpbb_root_path . 'auction/images/delete.gif';
                $auction_offer_delete_link = append_sid("auction_offer.$phpEx?mode=delete&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id . '');
                $auction_offer_delete_alt = $lang['auction_offer_delete'];
                $auction_offer_delete_image = "<a href=\"" . $auction_offer_delete_link . "\"><img src=\"". $auction_offer_delete_icon . "\" alt=\"" . $auction_offer_delete_alt . "\" border=\"0\"></img></a>";
          }  // End if

     $auction_offer_move_image = "<img src=\"". $phpbb_root_path . 'auction/images/move.gif' . "\" alt=\"" . $lang['auction_offer_move'] . " " . $lang['auction_need_to_login'] . "\" border=\"0\"></img>";
     $auction_offer_edit_image = "<img src=\"". $phpbb_root_path . 'auction/images/edit.gif' . "\" alt=\"" . $lang['auction_offer_edit'] . " " . $lang['auction_need_to_login'] . "\" border=\"0\"></img>";
     $auction_offer_special_image = "<img src=\"". $phpbb_root_path . 'auction/images/feature.gif' . "\" alt=\"" . $lang['auction_offer_feature'] . " " . $lang['auction_need_to_login'] . "\" border=\"0\"></img>";

     // add to watchlist-button
     $auction_offer_add_to_watchlist_image = "<img src=\"". $phpbb_root_path . 'auction/images/add.gif' . "\" alt=\"" . $lang['auction_offer_add_to_watchlist'] . " " . $lang['auction_need_to_login'] . "\"></img></a>";
     if ( $userdata['user_id']>0 )
          {
                 $auction_offer_add_to_watchlist_link = append_sid("auction_myauctions.php?mode=add_to_watchlist&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id . "");
                 $auction_offer_add_to_watchlist_image = "<a href=\"" . $auction_offer_add_to_watchlist_link. "\"><img src=\"". $phpbb_root_path . 'auction/images/add.gif' . "\" alt=\"" . $lang['auction_offer_add_to_watchlist'] . " " . $lang['auction_need_to_login'] . "\" border=\"0\"></img></a>";
          }  // End if

     // FEATURE OFFER
     if ( $userdata['user_level']==1 )
          {
                $auction_offer_feature_link = append_sid("auction_offer.$phpEx?mode=feature&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id . '');
          }
     else
          {
                $auction_offer_feature_link = "";
          }  // End if

     // Move offer
     if ( $userdata['user_level']==1 )
          {
                $auction_offer_move_link = append_sid("auction_offer.$phpEx?mode=move_select&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id . '');
          }
     else
          {
                $auction_offer_move_link = "";
          }  // End if

// Edit offer
     if ( $userdata['user_level']==1 )
          {
                $auction_offer_edit_link = append_sid("auction_offer.$phpEx?mode=edit_select&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id . '');
          }
     else
          {
                $auction_offer_edit_link = "";
          }  // End if

     
     // UPDATE OFFER-VIEWS
     $sql = "UPDATE " . AUCTION_OFFER_TABLE . "
            SET auction_offer_views =  auction_offer_views + 1
            WHERE PK_auction_offer_id = " . $auction_offer_id . "";

     if( !($result = $db->sql_query($sql)) )
         {
                   message_die(GENERAL_ERROR, 'Could not update offer views', '', __LINE__, __FILE__, $sql);
         }

     $auction_offer_time_start = create_date($board_config['default_dateformat'], $auction_offer_row['auction_offer_time_start'], $board_config['board_timezone']);
     $auction_offer_time_stop = create_date($board_config['default_dateformat'], $auction_offer_row['auction_offer_time_stop'], $board_config['board_timezone']);
     if ($auction_offer_row['auction_offer_time_stop']<time() )
          {
               $auction_time_remaining = '-';
          }
     else
          {
               $auction_time_remaining = datediff(time(), $auction_offer_row['auction_offer_time_stop']);
          }
     // create auction-offer-message (not started, active, or over)
     if ( $auction_offer_row['auction_offer_time_start']>   time())
          {
                 $auction_offer_time_message = "<font color=\"red\">" . $lang['auction_offer_not_started'] . "</font>";
          }
     elseif ($auction_offer_row['auction_offer_time_stop']<time())
          {
                 $auction_offer_time_message = "<font color=\"red\">" . $lang['auction_offer_over'] . "</font>";
          }
     else
          {
                 $auction_offer_time_message = "<font color=\"red\">" . $lang['auction_offer_status_active'] . "</font>";
          }

     // getting seller-info
     $sql = "SELECT u.username, u.user_id, u.user_posts, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_regdate, u.user_msnm, u.user_viewemail, u.user_rank, u.user_sig, u.user_sig_bbcode_uid, u.user_avatar, u.user_avatar_type, u.user_allowavatar, u.user_allowsmile
            FROM " . USERS_TABLE . " u
            WHERE  u.user_id = " . $auction_offer_row['user_id'] . "";

        if ( !($result = $db->sql_query($sql)) )
        {
            message_die(GENERAL_ERROR, "Could not obtain post/user information.", '', __LINE__, __FILE__, $sql);
        }

        $sellerrow = array();
        if ($row = $db->sql_fetchrow($result))
        {
            do
            {
                $sellerrow[] = $row;
            }
            while ($row = $db->sql_fetchrow($result));
            $db->sql_freeresult($result);
        }

        $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $auction_offer_row['user_id'] . "");
             $profile_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_profile'] . '" alt="' . $lang['Read_profile'] . '" title="' . $lang['Read_profile'] . '" border="0" /></a>';
             $profile = '<a href="' . $temp_url . '">' . $lang['Read_profile'] . '</a>';

             $temp_url = append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=" . $auction_offer_row['user_id'] . "");
             $pm_img = '<a href="' . $temp_url . '"><img src="' . $images['icon_pm'] . '" alt="' . $lang['Send_private_message'] . '" title="' . $lang['Send_private_message'] . '" border="0" /></a>';
             $pm = '<a href="' . $temp_url . '">' . $lang['Send_private_message'] . '</a>';

             $email_uri = ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $auction_offer_row['user_id']) : 'mailto:' . $sellerrow[0]['user_email'];

             $email_img = '<a href="' . $email_uri . '"><img src="' . $images['icon_email'] . '" alt="' . $lang['Send_email'] . '" title="' . $lang['Send_email'] . '" border="0" /></a>';
             $email = '<a href="' . $email_uri . '">' . $lang['Send_email'] . '</a>';

             $www_img = ( $sellerrow[0]['user_website'] ) ? '<a href="' . $sellerrow[0]['user_website'] . '" target="_userwww"><img src="' . $images['icon_www'] . '" alt="' . $lang['Visit_website'] . '" title="' . $lang['Visit_website'] . '" border="0" /></a>' : '';
             $www = ( $sellerrow[0]['user_website'] ) ? '<a href="' . $sellerrow[0]['user_website'] . '" target="_userwww">' . $lang['Visit_website'] . '</a>' : '';

             if ( !empty($sellerrow[0]['user_icq']) )
             {
                 $icq_img = '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $sellerrow[0]['user_icq'] . '"><img src="' . $images['icon_icq'] . '" alt="' . $lang['ICQ'] . '" title="' . $lang['ICQ'] . '" border="0" /></a>';
                 $icq =  '<a href="http://wwp.icq.com/scripts/search.dll?to=' . $sellerrow[0]['user_icq'] . '">' . $lang['ICQ'] . '</a>';
             }
             else
             {
                 $icq_status_img = '';
                 $icq_img = '';
                 $icq = '';
             }

             $aim_img = ( $sellerrow[0]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $sellerrow[0]['user_aim'] . '&message=Hello+Are+you+there?"><img src="' . $images['icon_aim'] . '" alt="' . $lang['AIM'] . '" title="' . $lang['AIM'] . '" border="0" /></a>' : '';
             $aim = ( $sellerrow[0]['user_aim'] ) ? '<a href="aim:goim?screenname=' . $sellerrow[0]['user_aim'] . '&message=Hello+Are+you+there?">' . $lang['AIM'] . '</a>' : '';

             $temp_url = append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $auction_offer_row['user_id'] . "");
             $msn_img = ( $sellerrow[0]['user_msnm'] ) ? '<a href="' . $temp_url . '"><img src="' . $images['icon_msnm'] . '" alt="' . $lang['MSNM'] . '" title="' . $lang['MSNM'] . '" border="0" /></a>' : '';
             $msn = ( $sellerrow[0]['user_msnm'] ) ? '<a href="' . $temp_url . '">' . $lang['MSNM'] . '</a>' : '';

             $yim_img = ( $sellerrow[0]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $sellerrow[0]['user_yim'] . '&.src=pg"><img src="' . $images['icon_yim'] . '" alt="' . $lang['YIM'] . '" title="' . $lang['YIM'] . '" border="0" /></a>' : '';
             $yim = ( $sellerrow[0]['user_yim'] ) ? '<a href="http://edit.yahoo.com/config/send_webmesg?.target=' . $sellerrow[0]['user_yim'] . '&.src=pg">' . $lang['YIM'] . '</a>' : '';

     // Prepare image
     if ( empty($auction_offer_row['auction_offer_picture']))
             {
                            //set a default image
                            $auction_offer_picture = "<img src=\"". $phpbb_root_path . 'auction/images/nopic.gif' . "\" alt=\"No image\"></img>";
             }
     else
            {
                   $auction_offer_picture = "<img src=\"". $phpbb_root_path . AUCTION_PICTURE_UPLOAD_PATH . $auction_offer_row['auction_offer_picture'] .  "\" onload=\"javascript:if(this.width > 150)this.width = (150)\"></img>";
          }
     // START RATING WINDOW

     // as SELLER

     // Prepare categories
     $sql = "SELECT * FROM " . AUCTION_RATING_TABLE . "";

         if( !$result = $db->sql_query($sql) )
         {
             message_die(GENERAL_ERROR, "Couldn't get list of rating-options", "", __LINE__, __FILE__, $sql);
         }

         $rating_category_list = "";
     while( $row = $db->sql_fetchrow($result) )
         {
             $auction_category_list .= "<option value=\"" . $row['PK_auction_rating_id']. "\">" . $row['auction_rating_title'] . "</option>";
         }

     // Rating as seller
     if ( ( $auction_offer_row['auction_offer_time_stop']<time() ) && ( $userdata['user_id']==$auction_offer_row['user_id'] && $auction_offer_row['auction_offer_last_bid_price']>0 ))
          {
                 $template->assign_block_vars('raterow', array(
                     'L_AUCTION_RATE_SELLER' => $lang['auction_rate_buyer'],
                     'L_AUCTION_RATING_PERSON'=> $lang['auction_offer_buyer'],
                     'L_AUCTION_RATE_SELLER_TEXT' => $lang['auction_rate_seller_text'],
                     'L_AUCTION_RATE_NOW' => $lang['auction_rate_now'],
                     'L_AUCTION_RATING_CATEGORY' => $lang['auction_rating_category'],
                     'AUCTION_OFFER_RATING_CATEGORIES' => $auction_category_list,
                     'AUCTION_OFFER_OFFERER' => $auction_offer_max_bidder_name,
                     'S_AUCTION_RATE_ACTION' => append_sid("auction_rating.$phpEx?mode=create&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id)
                         ));
          }
     // Rating as buyer
     if ( ( $auction_offer_row['auction_offer_time_stop']<time() ) && ( $userdata['user_id']==$auction_offer_max_bidder_id ))
          {
                 $template->assign_block_vars('raterow', array(
                     'L_AUCTION_RATE_SELLER' => $lang['auction_rate_seller'],
                     'L_AUCTION_RATING_PERSON'=> $lang['auction_offer_offerer'],
                     'L_AUCTION_RATE_SELLER_TEXT' => $lang['auction_rate_seller_text'],
                     'L_AUCTION_RATE_NOW' => $lang['auction_rate_now'],
                     'AUCTION_OFFER_OFFERER' => $auction_offer_row['username'],
                     'L_AUCTION_RATING_CATEGORY' => $lang['auction_rating_category'],
                     'AUCTION_OFFER_RATING_CATEGORIES' => $auction_category_list,
                     'S_AUCTION_RATE_ACTION' => append_sid("auction_rating.$phpEx?mode=create&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id)

                     ));
          }
     // END RATING

     // BEGIN prepare meassage

     $message = $auction_offer_row['auction_offer_text'];
     if ( !$board_config['allow_html'] )
      {
          if ( $board_config['allow_html'] )
          {
              $message = preg_replace('#(<)([\/]?.*?)(>)#is', "<\\\2>", $message);
          }
      }


      // Parse message and/or sig for BBCode if reqd
      if ( $board_config['allow_bbcode'] )
      {
              $message = ( $board_config['allow_bbcode'] ) ? bbencode_second_pass($message, 0) : preg_replace('/\:[0-9a-z\:]+\]/si', ']', $message);
      }

      $message = make_clickable($message);

      // Parse smilies
      if ( $board_config['allow_smilies'] )
      {
              $message = smilies_pass($message);
      }
     // END prepare message


     // Output page
     $page_title = $lang['auction_user_rating_view_offer'] . ' (' . $lang['auction_offer_time_stop'] . ' ' . $auction_offer_time_stop . ') - ' . $auction_offer_row['auction_offer_title'];
     include($phpbb_root_path . 'includes/page_header.'.$phpEx);

     // Display bid-fields only if auction is still active
     if (( $auction_offer_row['auction_offer_time_stop']>time()) && ($auction_offer_row['auction_offer_time_start']<time()))
          {
                $template->assign_block_vars('bidnowrow', array(
                     'L_AUCTION_YOUR_NAME' => $lang['auction_your_name'],
                     'L_AUCTION_YOUR_AMOUT' => $lang['auction_your_amout'] . "  (in " . $auction_config_data['currency'] . ")",
                     'L_AUCTION_BID_NOW' => $lang['auction_bid_now']
                          ));
          }

     $template->set_filenames(array(
           'body' => 'auction_view_offer_body.tpl')
       );

     $template->assign_vars(array(
        'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts),
        'TOTAL_USERS' => sprintf($l_total_user_s, $total_users),
        'NEWEST_USER' => sprintf($lang['Newest_user'], '<a href="' . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=$newest_uid") . '">', $newest_user, '</a>'),
        'L_ONLINE_EXPLAIN' => $lang['Online_explain'],
        'L_AUCTION_OFFER_QUICK_VIEW_ID' => $lang['auction_offer_quick_view_id'],

        'AUCTION_OFFER_ID' => $auction_offer_row['PK_auction_offer_id'],
        'AUCTION_OFFER_TITLE' => $auction_offer_row['auction_offer_title'],
        'AUCTION_OFFER_OFFERER' => "<a href=\"" . append_sid("profile.$phpEx?mode=viewprofile&" . POST_USERS_URL . "=" . $auction_offer_row['user_id']) . "\">" . $auction_offer_row['username'] . "</a>",
        'AUCTION_OFFER_OFFERER_RATING' => append_sid("auction_rating.$phpEx?mode=view&" . POST_USERS_URL . "=" . $auction_offer_row['user_id'] . ""),
        'L_AUCTION_OFFER_OFFERER_RATING' => $lang['auction_user_rating'],
        'AUCTION_OFFER_TEXT'=> $message,
        'AUCTION_OFFER_TIME_START'=> $auction_offer_time_start,
        'AUCTION_OFFER_TIME_STOP'=> $auction_offer_time_stop,
        'AUCTION_OFFER_TIME_REMAINING' => $auction_time_remaining,
        'AUCTION_OFFER_PRICE_START'=> $auction_offer_row['auction_offer_price_start'] . " " . $auction_config_data['currency'],
        'AUCTION_OFFER_VIEWS'=> $auction_offer_row['auction_offer_views'],
        'AUCTION_OFFER_BIDS_TOTAL' => count($auction_corresponding_bidder_matches),
        'AUCTION_OFFER_LAST_BID_PRICE'=> $auction_offer_bid_max . " " . $auction_config_data['currency'],
        'ACUTION_ROOM_YOUR_NAME' => $userdata['username'],
        'AUCTION_OFFER_BIDDER' => $auction_corresponding_bidder,
        'AUCTION_OFFER_TIME_MESSAGE' => $auction_offer_time_message,
        'AUCTION_OFFER_DELETE_IMAGE' => $auction_offer_delete_image,
        'AUCTION_OFFER_ADD_TO_WATCHLIST_IMAGE' => $auction_offer_add_to_watchlist_image,
        'AUCTION_OFFER_PICTURE' => $auction_offer_picture,
        'AUCTION_OFFER_MOVE_IMAGE' =>$auction_offer_move_image,
        'AUCTION_OFFER_EDIT_IMAGE' =>$auction_offer_edit_image,
        'AUCTION_OFFER_SPECIAL_IMAGE' =>$auction_offer_special_image,
        'AUCTION_OFFER_SHIPPING_PRICE' => $auction_offer_row['auction_offer_shipping_price'] . " " . $auction_config_data['currency'],

        'AUCTION_CURRENT_BID' => ( $auction_offer_max_bidder_price>0 ) ? $auction_offer_max_bidder_price . " " . $auction_config_data['currency'] : $auction_offer_row['auction_offer_price_start'] . " " . $auction_config_data['currency'],
        'AUCTION_MINIMUM_BID' => ( $auction_offer_max_bidder_price>0) ? ($auction_offer_max_bidder_price+1) . " " . $auction_config_data['currency']: $auction_offer_row['auction_offer_price_start'] . " " . $auction_config_data['currency'],
        'AUCTION_SEND_PM' => append_sid("privmsg.$phpEx?mode=post&" . POST_USERS_URL . "=" . $auction_offer_row['user_id']),
        'AUCTION_SEND_EMAIL' => ( $board_config['board_email_form'] ) ? append_sid("profile.$phpEx?mode=email&" . POST_USERS_URL .'=' . $auction_offer_row['user_id']) : 'mailto:' . $sellerrow[0]['user_email'],
        'L_AUCTION_TIME_REMAINING' => $lang['auction_time_remaining'],
        'L_AUCTION_MINIMUM_BID' => $lang['auction_minimum_bid'],
        'L_AUCTION_CURRENT_BID' => $lang['auction_current_bid'],
        'L_AUCTION_SEND_MAIL' => $lang['auction_send_mail'],
        'L_AUCTION_SEND_PM' => $lang['auction_send_pm'],

        'L_AUCTION_OFFER_SHIPPING_PRICE' => $lang['auction_offer_shipping_price'],
        'L_AUCTION_OFFER_TIME_STATUS' => $lang['auction_offer_time_status'],
        'L_AUCTION_OFFER_OFFERER'=> $lang['auction_offer_offerer'],
        'L_AUCTION_OFFER_TEXT'=> $lang['auction_offer_text'],
        'L_AUCTION_OFFER_TIME_START' => $lang['auction_offer_time_start'],
        'L_AUCTION_OFFER_TIME_STOP' => $lang['auction_offer_time_stop'],
        'L_AUCTION_OFFER_PRICE_START' => $lang['auction_offer_price_start'],
        'L_AUCTION_OFFER_VIEWS' => $lang['auction_offer_views'],
        'L_AUCTION_OFFER_STATE' => $lang['auction_offer_state'],
        'L_AUCTION_YOUR_BID' => $lang['auction_your_bid'],
        'L_AUCTION_OFFER_BIDS_TOTAL' => $lang['auction_offer_bid_total'],


        'L_AUCTION_OFFER_LAST_BID_PRICE' => $lang['auction_offer_last_bid_price'],
        'PROFILE_IMG' => $profile_img,
        'PROFILE' => $profile,
        'SEARCH_IMG' => $search_img,
        'SEARCH' => $search,
        'PM_IMG' => $pm_img,
        'PM' => $pm,
        'EMAIL_IMG' => $email_img,
        'EMAIL' => $email,
        'WWW_IMG' => $www_img,
        'WWW' => $www,
        'ICQ_IMG' => $icq_img,
        'ICQ' => $icq,
        'AIM_IMG' => $aim_img,
        'AIM' => $aim,
        'MSN_IMG' => $msn_img,
        'MSN' => $msn,
        'YIM_IMG' => $yim_img,
        'YIM' => $yim,
        'U_AUCTION_OFFER_FEATURE_LINK' => $auction_offer_feature_link,
        'U_AUCTION_OFFER_MOVE_LINK' => $auction_offer_move_link,
'U_AUCTION_OFFER_EDIT_LINK' => $auction_offer_edit_link,

        'S_AUCTION_YOUR_BID_ACTION' => append_sid("auction_offer.$phpEx?mode=bid&" . POST_AUCTION_OFFER_URL . "=" . $auction_offer_id),
        'MODAUTHOR' => $lang['modauthor'],
        'MODPOWERED' => $lang['modpowered']
        )
       );

     //
     // Generate the page
     //
     $template->pparse('body');

     include($phpbb_root_path . 'includes/page_tail.'.$phpEx);


?>
FIRINGTW
星球公民
星球公民
文章: 31
註冊時間: 2005-04-30 22:55
聯繫:

文章 FIRINGTW »

勒 好像無法上傳圖片耶.加入圖片就無法發表掛掉
出現下面這個訊息 怎麼辦
Parse error: parse error, unexpected T_STRING in /home/coinday/public_html/phpBB/language/lang_chinese_traditional_taiwan/lang_auction_pic.php on line 50
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

文章 kljian »

FIRINGTW 寫:勒 好像無法上傳圖片耶.加入圖片就無法發表掛掉
出現下面這個訊息 怎麼辦
Parse error: parse error, unexpected T_STRING in /home/coinday/public_html/phpBB/language/lang_chinese_traditional_taiwan/lang_auction_pic.php on line 50
這個訊息好像是語言檔內容資料不足! 你先使用英文檔應該就可以了...試試...

拍賣測試站: http://gd48.hn.org
bc010843
竹貓忠實會員
竹貓忠實會員
文章: 333
註冊時間: 2004-10-13 18:33
聯繫:

文章 bc010843 »

kljian 寫: 這個訊息好像是語言檔內容資料不足! 你先使用英文檔應該就可以了...試試...

拍賣測試站: http://gd48.hn.org
請問一下
您用的拍賣mod是哪個版本?我試了好久都裝不起來

謝謝
PHPBB:2.0.20
OS:LINUX
風格: ICG
快速程式:無
上網方式:Hinet 8m/640
架設環境:竹貓空間
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

文章 kljian »

bc010843 寫:
kljian 寫: 這個訊息好像是語言檔內容資料不足! 你先使用英文檔應該就可以了...試試...

拍賣測試站: http://gd48.hn.org
請問一下
您用的拍賣mod是哪個版本?我試了好久都裝不起來
我是根據以下這個主題下載來的。

http://phpbb-tw.net/phpbb/viewtopic.php ... ht=auction

下載網址:
http://www.phpbb-auction.com/dload.php? ... file&id=20
bc010843
竹貓忠實會員
竹貓忠實會員
文章: 333
註冊時間: 2004-10-13 18:33
聯繫:

文章 bc010843 »

kljian 寫: 我是根據以下這個主題下載來的。

http://phpbb-tw.net/phpbb/viewtopic.php ... ht=auction

下載網址:
http://www.phpbb-auction.com/dload.php? ... file&id=20
kljian兄

可以指點一下如何安裝嗎?安裝步驟?
我下載回來後教學文件看不懂 :oops:

感謝感謝
PHPBB:2.0.20
OS:LINUX
風格: ICG
快速程式:無
上網方式:Hinet 8m/640
架設環境:竹貓空間
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

文章 kljian »

我是依據內附 install.txt 內容敘述.
解壓縮後先將目錄底下的檔案上傳到你論壇跟目錄底下,執行 install_db.php 後,刪除這個檔案。
修改以下檔案資料就可以了。我沒有再做其他動作,你再試試看...

代碼: 選擇全部

#
#-----[ ACTION ]--------------------------------------
# 
# Run the install_db.php and delete (!!!) the file afterwards


////////////////////////////////////////////////////////////////////////////////
3 - Perform the following filechanges
////////////////////////////////////////////////////////////////////////////////

#
#-----[ 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 href="{U_GROUP_CP}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_groups.gif" width="12" height="13" border="0" alt="{L_USERGROUPS}" hspace="3" />{L_USERGROUPS}</a>  


#
#-----[ AFTER, ADD ]------------------------------------------
#
&nbsp;&nbsp;<a href="{U_AUCTION}" class="mainmenu"><img src="templates/subSilver/images/icon_mini_auction.gif" width="12" height="13" border="0" alt="{L_AUCTION}" hspace="3" />{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 href=" . append_sid("auction_rating.php?mode=view&" . POST_USERS_URL . "=" .$poster_id ) . "><img src=" . $images['icon_auction_user_rating'] . " alt='Feedback Rating' border='0' /></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 href=\"" . append_sid("auction_rating.php?mode=view&" . POST_USERS_URL . "=" . $profiledata['user_id'] ) . "\"><img src=\"" . $images['icon_auction_user_rating'] . "\" alt=\"" . $lang['auction_user_rating'] . "\" title=\"" . $lang['auction_user_rating'] . "\" border=\"0\" /></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 valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_AIM}:</span></td>
     <td class="row1" valign="middle"><span class="gen">{AIM_IMG}</span></td>
</tr>

#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
     <td valign="middle" nowrap="nowrap" align="right"><span class="gen">{L_VIEW_AUCTION_USER_RATING}:</span></td>
     <td class="row1" valign="middle"><span class="gen">{AUCTION_USER_RATING}</span></td>
</tr>

#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
bc010843
竹貓忠實會員
竹貓忠實會員
文章: 333
註冊時間: 2004-10-13 18:33
聯繫:

文章 bc010843 »

請教kljian
檔案解壓縮後有五個資料夾直接上傳就好了對吧?
另還有21個php檔也是直接上傳嗎?
文件中下面這一段是什麼意思?

代碼: 選擇全部

#-----[ ACTION ]--------------------------------------
# Require for Unix-like host (you can use your FTP client to do this)
#
# CHMOD 777 auction/upload/
# CHMOD 777 auction/upload/cache/
# CHMOD 777 auction/upload/main/
# CHMOD 777 auction/upload/main/watermark/
# CHMOD 777 auction/upload/mini/
# CHMOD 777 auction/upload/tmp/
# CHMOD 777 auction/upload/wmk/
# CHMOD 777 auction/upload/watermark/
# CHMOD 777 auction/upload/wmk/main_watermark.png
# CHMOD 777 auction/upload/wmk/big_watermark.png
謝謝
PHPBB:2.0.20
OS:LINUX
風格: ICG
快速程式:無
上網方式:Hinet 8m/640
架設環境:竹貓空間
頭像
kljian
星球公民
星球公民
文章: 71
註冊時間: 2003-12-02 08:10
來自: takumi
聯繫:

文章 kljian »

bc010843 寫:請教kljian
檔案解壓縮後有五個資料夾直接上傳就好了對吧?
另還有21個php檔也是直接上傳嗎?
文件中下面這一段是什麼意思?

代碼: 選擇全部

#-----[ ACTION ]--------------------------------------
# Require for Unix-like host (you can use your FTP client to do this)
#
# CHMOD 777 auction/upload/
# CHMOD 777 auction/upload/cache/
# CHMOD 777 auction/upload/main/
# CHMOD 777 auction/upload/main/watermark/
# CHMOD 777 auction/upload/mini/
# CHMOD 777 auction/upload/tmp/
# CHMOD 777 auction/upload/wmk/
# CHMOD 777 auction/upload/watermark/
# CHMOD 777 auction/upload/wmk/main_watermark.png
# CHMOD 777 auction/upload/wmk/big_watermark.png
謝謝
到你租用空間將這些目錄權限設定成為 777 。
bc010843
竹貓忠實會員
竹貓忠實會員
文章: 333
註冊時間: 2004-10-13 18:33
聯繫:

文章 bc010843 »

後台一直出現錯誤....請問是哪有問題?
問題網址
http://www.fountain-pen-zone.com/123/index.php

帳號:admin
密碼:123

環境如簽名檔

謝謝
PHPBB:2.0.20
OS:LINUX
風格: ICG
快速程式:無
上網方式:Hinet 8m/640
架設環境:竹貓空間
FIRINGTW
星球公民
星球公民
文章: 31
註冊時間: 2005-04-30 22:55
聯繫:

文章 FIRINGTW »

我的拍賣已經正式啟用:http://www.coinday.com/phpBB/auction.php可以正常上傳圖片.中文化
是竹貓的阿維兄幫我做MOD的.
目前就差下面通知問題.
*要使用通知提醒,你必須在auction_cron.php創造一個cron job
出價勝出時,以私人訊息通知\r
出價勝出時,以私人訊息通知所有對該項出價的人 是 否
當出價勝出時,以E-mail通知\r
當出價勝出時,以E-mail通知該項出價的所有人 是 否
Email通知聚會 on offer end via cron*
當拍賣時間結束,為已贏得、以賣出和未賣出寫封私人訊息 是 否
私人訊息通知聚會 on offer end via cron*
當拍賣時間結束,為已贏得、以賣出和未賣出寫封E-mail 是 否
bc010843
竹貓忠實會員
竹貓忠實會員
文章: 333
註冊時間: 2004-10-13 18:33
聯繫:

文章 bc010843 »

請問哪位是阿雄兄啊?這外掛搞了好久還是搞不定 :oops:
PHPBB:2.0.20
OS:LINUX
風格: ICG
快速程式:無
上網方式:Hinet 8m/640
架設環境:竹貓空間
wasimingming
星球普通子民
星球普通子民
文章: 1
註冊時間: 2005-10-19 22:13

也是關於回覆問題

文章 wasimingming »

*要使用通知提醒,你必須在auction_cron.php創造一個cron job
出價勝出時,以私人訊息通知
出價勝出時,以私人訊息通知所有對該項出價的人 是 否
當出價勝出時,以E-mail通知
當出價勝出時,以E-mail通知該項出價的所有人 是 否
Email通知聚會 on offer end via cron*
當拍賣時間結束,為已贏得、以賣出和未賣出寫封私人訊息 是 否
私人訊息通知聚會 on offer end via cron*
當拍賣時間結束,為已贏得、以賣出和未賣出寫封E-mail 是 否\r

找了許多資料,還是不知道如何設定。

請問有版上大大知道如何設定嗎?

非常感謝
過山雲
竹貓忠實會員
竹貓忠實會員
文章: 390
註冊時間: 2002-09-05 20:11
來自: 東都.承天府.萬年縣治.拱辰門北
聯繫:

文章 過山雲 »

請教應該如何增加或修改貨幣的種類
想修改成:新台幣 :oops: :oops: :oops:

解決方法:

phpBB2/auction/functions_selects.php

增加紅色字的欄位即可\r

// Currency Select List
function currency_format_select($default, $select_name = 'currency')
{
global $auction_config_data, $lang, $board_config;
if ( $board_config['points_name'] )
{
$points = $board_config['points_name'];
$currency_formats = array('NT', 'USD', 'CAD', 'EUR', 'GBP', 'JPY', $points);
$currency_display = array($lang['Currency_nt'], $lang['Currency_us'], $lang['Currency_cad'], $lang['Currency_eur'], $lang['Currency_gbp'], $lang['Currency_jpy'], $points);
}
else
{
$currency_formats = array('NT', 'USD', 'CAD', 'EUR', 'GBP', 'JPY');
$currency_display = array($lang['Currency_nt'], $lang['Currency_us'], $lang['Currency_cad'], $lang['Currency_eur'], $lang['Currency_gbp'], $lang['Currency_jpy']);
}
圖檔
主題已鎖定

回到「外掛問題討論」