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 6 ... 8
Information Exchange (Read 3699 times)
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Information Exchange
Reply #9 - 08/01/05 at 15:18:46
 
Yes - that's because we haven't walked through 'sub disp_item' (and others).
Remember: we will do it step-by-step

But ...
become creative.
I think you know the next steps.  Wink
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 #10 - 08/01/05 at 17:35:05
 
Dieter,

I have tried to crack 'sub disp_item'
I started by adding $location here:    my (
       $title, $reserve, $inc, $desc, $image, $close_time, $start_time,
       $Username, $email, $bid, $what_bid, $time, $last_bid, $high_bid,
       $last_time, $img_info, $reserve_info, $lowest_new_bid,
       $message, $html_description, $location, $aftermin, $clicks, $row,
     $rowcolor, $itm_record, $rated, $buy_it,
       @nowtime, @closetime, @bids, @image
   );

And also changed:
(
       $title,
       $reserve,
       $inc,
       $desc,
       $image,
       $start_time,
       $close_time,
       $clicks,
       @bids
   ) = @{read_item_file($form{'category'}, $form{'item'})};

to:

(
       $title,
       $reserve,
       $inc,
       $desc,
    $location,
       $image,
       $start_time,
       $close_time,
       $clicks,
       @bids
   ) = @{read_item_file($form{'category'}, $form{'item'})};


and finally inserted:
<tr>
<td bgcolor="$config{'colortablehead'}" nowrap><b>$txt{'Location'}</b></td>
<td bgcolor="$config{'colortablebody'}" nowrap><b>$location</b></td>
</tr>

into the section of code that starts with:
print <<EO_HTML;
<div align="center">
<h4>$title</h4>

But all it did was insert the word Location into the table without any value and also closing the auction early, ect.

I will keep trying but this is where I ran into problems when I initially tackled this problem.

Regards,

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 #11 - 08/01/05 at 18:16:44
 
Code:
(
  $title,
  $reserve,
  $inc,
  $desc,
  $image,
  $start_time,
  $close_time,
  $location,
  $clicks,
  @bids
) = @{read_item_file($form{'category'}, $form{'item'})};




Compare it with the content of the item file.
You have to read from a file in the same order in which you have written to the file.
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
Pages: 1 2 3 4 5 6 ... 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