The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Rating / Feeback Icons ... ???
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1081965700

Message started by Kimberly on 04/14/04 at 20:01:40

Title: Rating / Feeback Icons ... ???
Post by Kimberly on 04/14/04 at 20:01:40

Oh no! Here I am, asking another question  ::)

Is there a way to have feedback icons display too? On the old auction, I'd change them with the holidays and seasons ... I'd like to do that again if possible  :)


Thank you for your time, again  ;D

Title: Re: Rating / Feeback Icons ... ???
Post by Forum Admin on 04/14/04 at 23:40:47

Feedback icons?
What's that?
I need your help  :-*

Title: Re: Rating / Feeback Icons ... ???
Post by Kimberly on 04/15/04 at 15:44:45

Good Morning ...

Here's ebay's feedback icon page -> http://pages.ebay.com/help/feedback/reputation-stars.html ... my old everyauction feedback had images that coordinated with with images too ... I never used stars like ebay, I used cute, seasonal, and holiday related icons -> http://www.zerofeesauction.com/feedback.htm ...   :D

I can make you a few sets of custom icons if you need them  ;)

Title: Re: Rating / Feeback Icons ... ???
Post by Forum Admin on 04/15/04 at 17:06:57

I see ...

- upload your icons to the pic_dir
- search the script for sub disp_item
- search disp_item for the lines:

   -e "$config{'rating_dir'}/$alias.dat"
       ? ($rated = (count_rating($alias))[4])
       : ($rated = 0);

-Place the following code below of this:


Code:

     my %fb_icon = (
           'bar_1'      => [10, 50],
           'bar_2'      => [51, 100],
           'bar_3'      => [101, 250],
           'bar_4'      => [251, 500],
     );
                 
           foreach (keys %fb_icon) {
                 ($rated > $fb_icon{$_}->[0] and $rated < $fb_icon{$_}->[1])
                       ?      do {
                                   $rated = qq|<img src="$config{'icon_url'}/$_.gif">|;
                                   last;
                             }
                       :      next;
           }



It's not tested but should work ...  ;)

Title: Re: Rating / Feeback Icons ... ???
Post by Kimberly on 04/24/04 at 15:46:31

I just saw your reply ... thank you very much  ;D I'll let you know if it works ...

But first I have an error I need to get rid of ... in your script you recommend Komodo ... I haven't been able to download that for weeks ... and now that I have a bit of a glitch, I need a program so I can find line 3539 ... can you recommend one besides Komodo? ... or suggest a way I can find that line without counting, haha!


Title: Re: Rating / Feeback Icons ... ???
Post by Forum Admin on 04/24/04 at 18:01:00

Context (http://www.fixedsys.com/context/)
is a very good an FREE editor too.

Title: Re: Rating / Feeback Icons ... ???
Post by Kimberly on 04/24/04 at 20:19:26

Downloaded ... thank you ...

But now I'm in the dark as much as before ... the site was working fine, the server crashed because someone uploaded lots of gigs of stufff at once ... then I got that error message ... the line that is specified as having an error is "  $the_bid = (read_bid($bids[-1]))->[2];  " ... ???! ... I plan to sit here with a dumb look on my face for a while  :-/

... it's always something'  ;)

Title: Re: Rating / Feeback Icons ... ???
Post by Forum Admin on 04/24/04 at 21:27:55

$the_bid = (read_bid($bids[-1]))->[2];
is just the amount of the last bid.

Title: Re: Rating / Feeback Icons ... ???
Post by Kimberly on 04/24/04 at 21:44:00

Oh yeah, I realize it's not a thing that would cause the auction to fail ... I have an e-mail in to my server guy ... I was just venting  ;)

I do appreciate that you always respond ... I'm not a script gal ---can ya tell? ;D ... but if you ever need a hand with a custom graphic, just ask  8)

Title: Re: Rating / Feeback Icons ... ???
Post by brookstech on 04/26/04 at 03:05:08

Change the ['image_uRL']

to the following:

$config{'img_url'} = "$config{'html_path'}/img_upload";

Now it should work for you.

Title: Re: Rating / Feeback Icons ... ???
Post by Forum Admin on 04/26/04 at 16:59:39

Sorry booksteck ...
but your

Quote:
Change the ['image_uRL']

to the following:

$config{'img_url'} = "$config{'html_path'}/img_upload";

doesn't meet the topic.

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.