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 ... 8
Information Exchange (Read 3699 times)
mars22
eAuction User
**
Offline

I love Perl

Posts: 14

Re: Information Exchange
Reply #6 - 07/31/05 at 20:31:07
 
Dieter,

OK,
Step 1, Step 2 and Step 3 are finished and the "New Item" form now displays a Location text field right where I placed it, under the Description textarea box.

Thank you.
mars/mars22
Back to top
 
 


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

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Information Exchange
Reply #7 - 08/01/05 at 10:25:07
 
Step 4:
   - search eAuction.pl for 'sub check_item_data'
   - paste this Code:
                    
   oops($txt{'You must enter a valid location'})
   unless $form{'LOCATION'}; 



Step 5:
   - search eAuction.pl for 'sub proc_new'
                   
   - replace this Code:
            $item_number = write_item_file(
               1,
               $form{'CATEGORY'},
               $form{'TITLE'},
               $form{'RESERVE'},
               $form{'INC'},
               $form{'DESC'},
               $img_info,
               $start_time,
               $close_time,
               $clicks,
               $seller_data
           ); 


                   
   - with this Code:
            $item_number = write_item_file(
               1,
               $form{'CATEGORY'},
               $form{'TITLE'},
               $form{'RESERVE'},
               $form{'INC'},
               $form{'DESC'},
               $img_info,
               $start_time,
               $close_time,
               $form{'LOCATION'},
               $clicks,
               $seller_data
           ); 


                   
Step 6:
   - search 'sub proc_new' for Code:
print <<EO_HTML;
<div align="center">
<h4>$txt{'PREVIEW'}</h4> 


   - add Code:
            <tr bgcolor="$config{'colortablebody'}">
               <td valign="top"><b>$txt{'Location'}:</b></td>
               <td>$form{'LOCATION'}</td>
           </tr> 


   where you need it.
                   
Will be continued ...                    
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
mars
eAuction Expert
Tester
***
Offline

I love Perl

Posts: 149

Re: Information Exchange
Reply #8 - 08/01/05 at 13:22:08
 
Dieter,

Steps 4,5 and 6 have been added.

I ran a test and found that the location information I enter into the location box on the New Item form is posted in the preview screen. However, when I posted the item I got the following problem in the Information Table
Views:         This item has been displayed [b[BOSTOO[/b]times and each time I reload the screen the last letter advances (now reads BOSTOR.

Regards,
mars/mars22
Back to top
 
 


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


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