ranking

Can't get it installed? Not sure how a feature works? Then post here.

Postby Jeremy » 2003-08-31 04:17 pm

it shows pageviews by default because that's what most people seem to want. you can make it display hits in by modifying table.html and table_top.html. there's more info in the manual on customizing the templates.

some sites will only display the button, but no link. that way they get pageviews but no hits in. total pageviews is how many times the button is viewed that day and unique pageviews is how many times a unique ip address views the button.

to only show sites that have at least 1 hit in, change line 34 of display.php to this:
Code: Select all
                            WHERE id = id2 $category_sql AND active = 1 AND tot_in_today > 0
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Dennis » 2003-09-03 07:56 pm

I have the same probs, but is it possible to list sites with active button only. (no click needed)?
Dennis
Member
 
Posts: 14
Joined: 2003-09-03 07:52 pm

Postby Jeremy » 2003-09-04 04:45 pm

instead of tot_in_today use tot_pv_today
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Dennis » 2003-09-04 05:09 pm

hi

many thx, i have changed to

WHERE id = id2 $category_sql AND active = 1 AND tot_pv_today > 1

this works great

btw

why the ranklist is sorted by average not today, is this better?

I have installed yesterday and it works great but some people ask me.
Dennis
Member
 
Posts: 14
Joined: 2003-09-03 07:52 pm

Postby Jeremy » 2003-09-04 06:03 pm

why would you rank by just one day when you can rank by 4? it's more accurate to take an average.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Dennis » 2003-09-04 06:32 pm

Thats true, but if a user have trouble with his site or server and the site is 1day down, than you have a bad rank.
you need some days to come back or not?
Dennis
Member
 
Posts: 14
Joined: 2003-09-03 07:52 pm

Postby Jeremy » 2003-09-04 09:21 pm

the average will compensate for that somewhat. if you rank based one one day, a site could fall from first to last in one day.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Jeremy » 2003-09-05 02:58 pm

i have no clue. did you modify new_day.php at all? do you have phpmyadmin? if so, see what it says the date is in the ats_etc table.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA

Postby Jeremy » 2003-09-05 06:45 pm

set the last day to 0, go to your topsites, and see if it displays any error messages.
Jeremy
Supreme Diety
 
Posts: 8922
Joined: 2003-05-05 04:41 pm
Location: NJ, USA


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron