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 3 4 5 ... 9
Accounting (Read 2903 times)
bookswap
eAuction User
**
Offline

I love Perl

Posts: 40

Re: Accounting
Reply #6 - 05/25/04 at 20:21:54
 
anyone able to help? ???  it would benefit a lot of people
Back to top
 
 


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

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Accounting
Reply #7 - 05/26/04 at 16:53:05
 
I wouldn't recommend to add this messy code to eAuction.
- the author didn't finished the code
- the code is containing a lot of mistakes
- the code-design is very sloppy
- the included HTM parts are very messy

However ...
if you want to add the 'elsif' block of 'accountea' to eAuction.pl:

- search eAuction.pl for

$event = {
};

- paste the following code as a new line behind it
Code:
    my $account_event = {
		    'my_auction'		=>  \&disp_user_auction,
		    'account_login'     => \&account_login,
		    'account_view'	=> \&account_view,
		    'account_admin'     => \&account_admin,
		    'view_admin'	  => \&view_admin,
		    'user_credit'	 => \&user_credit,
		    'procpostal'		  => \&procpostal,
		    'postal_login'	=> \&postal_login,
		    'paypal_login'	=> \&postal_login("paypal"),
   };

   $event->{$_} = $account_event->{$_} foreach (keys %$account_event);



- follow the instructions of 'accountea'
- keep in mind that the code of eAuction is very different from the code of EveryAuction.
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
bookswap
eAuction User
**
Offline

I love Perl

Posts: 40

Re: Accounting
Reply #8 - 05/31/04 at 02:39:51
 
So will i be able to add lines just as accountea tells me or do I have to use different coding to work with eAuction?  Example being, can i just insert the following code as stated in accountea...

# Create Users Account Upon Registration
 
 By default the script will create a users
 account when they first incur a charge.
 For some of the following functions to
 work you will have to create a users
 account upon registration.  This can be
 done by adding this line to procreg
 
&accountcreate ($form{'ALIAS'});
 
 Best to put it after this line:
 
&sendemail($form{'EMAIL'}, $config{'admin_address'}, 'Auction Password', "PLEASE DO NOT REPLY TO THIS E-MAIL.\r\n\r\nThank you for registering to use the online auctions at $config{'sitename'}!\r\n\r\nYour new password is: $newpass\r\nYour alias (as you entered it) is: $form{'ALIAS'}\r\n\r\nThank you for visiting!");
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 3 4 5 ... 9


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