eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 
Email Admin of Item End (Read 356 times)
reindance
eAuction User
**
Offline

I love Perl

Posts: 17

Email Admin of Item End
05/08/04 at 23:41:18
 
Since I am a NEWBIE to Perl, I cannot figure out how to add "Email Admin of Item End" (I want this for any outside posters so I can check on their items as they end). The Add On in Everysoft does not work with the new AuctionEA script 1.6. Can anyone help me as what I need to add in the Close Item sub?
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Online

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Email Admin of Item End
Reply #1 - 05/09/04 at 11:52:01
 
Search sub close_item for the lines:

                   $subj = "$txt{'Auction Close'}: $title";
                   ($lastbid[8] = $lastbid[9] = $firstbid[9] = $firstbid[10] = $txt{'Phone'} = $txt{'Fax'} = " ")
                   unless $config{'print_phone_fax'} == 1;

                       if ($#bids >= 1) {
                           if ($lastbid[2] >= $reserve or $buy_it_flag == 1) {

Replace the lines with the following Code:
			  $subj = "$txt{'Auction Close'}: $title";
			  ($lastbid[8] = $lastbid[9] = $firstbid[9] = $firstbid[10] = $txt{'Phone'} = $txt{'Fax'} = " ")
			  unless $config{'print_phone_fax'} == 1;

$message = <<EO_MAIL;
$txt{'Auction number'}: $item
$txt{'Title'}: $title
$txt{'is now closed'}.	 
EO_MAIL

			    sendemail(
				\$config{'admin_address'},
				\$config{'admin_address'},
				\$subj,
				\$message
			    );

				if ($#bids >= 1) {
				    if ($lastbid[2] >= $reserve or $buy_it_flag == 1) { 

Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
reindance
eAuction User
**
Offline

I love Perl

Posts: 17

Re: Email Admin of Item End
Reply #2 - 05/09/04 at 16:06:16
 
Ok, I did this and it casued an Internal Server Error. Not sure what is wrong.
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only