serendipity_suppress

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
lauterunfug
Regular
Posts: 54
Joined: Wed Mar 16, 2005 9:26 am

serendipity_suppress

Post by lauterunfug »

First of all a big compliment: great CMS you made!!

I have a question about the funcionality of the table serendipity_suppress:

Some linkpartners of my page get listed correctly in the blog under 'Top Referrer'. I can see them too in the database in the table serendipity_referrers. I checked the table serendipity_suppress and was wondering, why there are some linkpartners from my page in there.

So:
1. What is doing this table? Do the referrers, which come form an URL listed in the serendiptiy_suppress, get blocked?
2. Is there a way to control this function of the serendiptiy_suppress?

thanx
tom
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_suppress

Post by garvinhicking »

Hi!

The referrer mechanism works like this:

1. A visitor comes to your site. The referrer is investigated.
2a. If the referrer is in the serendipity_referers table, increase the 'count' column by one
2b. If the referrer is not in the table, we check if the referrer is within the suppress table. If the referrer there is found, we insert a new entry to serendipity_referers and set the 'count' to 1
If the referrer is NOT found in the suppress table, it will get inserted into the suppress table.

So the next time the same referer gets a hit on your site on the same day, it will move its way up from suppress to referer.

HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
lauterunfug
Regular
Posts: 54
Joined: Wed Mar 16, 2005 9:26 am

Post by lauterunfug »

good to know! thanx for that!

I have another question about the referrer-system:

I read on s9y.org, that only the referrer of the last 7 days get considered.
The number of referrers which is shown on the homepage under TopReferrer, is it calculated as a total sum of the hits from the last 7 days, or is it an average? (average hits per day of the last 7 days)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I think it's a total hits, not an average.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply