USANet Creations
Users Support and Discussion Areas

NOTE: Always state the software package you have
when asking questions so you will get the correct answer,
as it does make a big difference in the answers you'll get!

| Main Site Home Page | Forums Home Page |

Subject: "Seller other auctions pictures"   Previous Topic | Next Topic
nonePrinter-friendly copy    
Conferences MakeBid Auction users addons and fixes Topic #329
Reading page 1 of 1 pages
nitetrain263
Charter Member
25 posts, Rate this user
Jul-02-09, 11:27 AM (CST)
Click to add this user to your buddy list  
"Seller other auctions pictures"
 
   I been playing around with this code but i can't figure out how to make it only show the seller auction pics. I don't know perl well enough to figure it out. Can some one help me with this one. I placed this code after the bid history in the auction.pl file.

http://www.usanetcreations.com/dcforum/User_files/4a4cdfbb3e9bd32e.txt

Attachments
http://www.usanetcreations.com/dcforum/User_files/4a4cdfbb3e9bd32e.txt

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator
Member since Jan-10-08
207 posts, Rate this user
Jul-02-09, 01:16 PM (CST)
Click to view user profileClick to add this user to your buddy list  
1. "RE: Seller other auctions pictures"
 
   You could try this:

FILE: foreach my $file (sort { $a <=> $b } @allfiles) {
$file =~ s/^$config{'basepath'}$key\///;
$file =~ s/\.dat$//;

if (my($title, $reserve, $inc, $desctitcolor, $desctitsize, $desctit, $desccolor, $descsize, $desc, $image1, $image2, $image3, $image4, $feature, $grabber, $dutch, $qty, $payment, $condition, $shipping, $relist, $relistcnt, $gallery, $buyit, $music, $usecounter, @bids) = read_item_file($key,$file)) {

my ($alias, $email, $bid, $time, $add1, $add2, $add3, $college, $class, $oqty, $soldqty) = &read_bid($bids[$#bids]);

my ($selleralias, $selleremail, $sellerbid, $sellertime, $selleradd1, $selleradd2, $selleradd3) = &read_bid($bids[0]);

my @firstbid = read_bid($bids[0]);

# EITHER:

if ($alias eq $firstbid[0]) {

# OR:

if ($alias eq $selleralias) {

...
...
...
-----------
I have never seen this before to be used to do something as needed here:

if (($selleralias) && ($file)) {

Could be part of your problem. But because I found no similar routine for such does not mean it would not work anyway...

Homer

If you don't know where you're going, any road will get you there.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator
Member since Jan-10-08
207 posts, Rate this user
Jul-02-09, 01:19 PM (CST)
Click to view user profileClick to add this user to your buddy list  
2. "RE: Seller other auctions pictures"
 
   oh christ,

$firstbid[0])

is reprinted wrong.

Since I don't know how to write it so the Forum Script will not brek it again, I send it as Attachment.

Homer

http://www.usanetcreations.com/dcforum/User_files/4a4cfa3521263b6e.txt

If you don't know where you're going, any road will get you there.

Attachments
http://www.usanetcreations.com/dcforum/User_files/4a4cfa3521263b6e.txt

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator
Member since Jan-10-08
207 posts, Rate this user
Jul-02-09, 01:22 PM (CST)
Click to view user profileClick to add this user to your buddy list  
3. "RE: Seller other auctions pictures"
 
   also deformed:

my @firstbid = read_bid($bids[0]);

If you don't know where you're going, any road will get you there.

Attachments
http://www.usanetcreations.com/dcforum/User_files/4a4cfad4236a7f51.txt

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
nitetrain263
Charter Member
25 posts, Rate this user
Jul-06-09, 11:03 AM (CST)
Click to add this user to your buddy list  
4. "RE: Seller other auctions pictures"
 
   I've tried both suggestions it still seems to just show the top four from my gallery not the specific sellers items only. I know there was a post for this before but that link seems to be dead, any other help would be greatly appreciated. Thanks in advance.


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Homermoderator
Member since Jan-10-08
207 posts, Rate this user
Jul-06-09, 05:06 PM (CST)
Click to view user profileClick to add this user to your buddy list  
5. "RE: Seller other auctions pictures"
 
   my script looks a little different, but it produced the same error, displaying not always the seller.

I found out where the problem was.

#-#### Start Sellers other Offers
($selleralias, $selleremail, $sellerbid, $sellertime, $selleradd1, $selleradd2, $selleradd3, $selleradd4, $sellerphone, $sellerage, $sellermembersince, $sellerppmember, $sellerppverified, $sellerip) = &read_bid($bids[0]); # read first bid


has to go on top just below the line:

#-#### Start Sellers other Offers

to produce the correct seller.
Please not that the Line has to be modified to match your Script. This is also the case with the lines inside of the info attached.

Homer

If you don't know where you're going, any road will get you there.

Attachments
http://www.usanetcreations.com/dcforum/User_files/4a52750426bc4ad3.txt

  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
nitetrain263
Charter Member
25 posts, Rate this user
Jul-07-09, 07:50 AM (CST)
Click to add this user to your buddy list  
6. "RE: Seller other auctions pictures"
 
   that work out perfect thanks


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote


Conferences | Topics | Previous Topic | Next Topic
Rate this topic Rate this topic