Where to start? Can someone help me set this up please


 

Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Where to start? Can someone help me set this up please

Add a New Topic Reply to Post
UserPost

10:05 am
June 20, 2008


cackles

New Member

posts 1

Hi, Im attempting to make an extrasections to display the host, referring link if any or show it was a direct link if its a search engine search link id like to see that in full, hits from that host and time last visited.


I got as far as making the section and having the hits and last visit fields display.


Ive had a gazillion 500 errors so wont embaress myself by posting the code that works, since it really has no custom fields.


Ah well, here is my uber code …


ExtraSectionName1=”All URL Stuff”
ExtraSectionCodeFilter1=”200 304″
ExtraSectionCondition1=”URLWITHQUERY,(.*)”
ExtraSectionFirstColumnTitle1=”All URL Stuff”
ExtraSectionFirstColumnValues1=”URLWITHQUERY,(.*)”
ExtraSectionFirstColumnFormat1=”%s”
ExtraSectionStatTypes1=HL
ExtraSectionAddAverageRow1=0
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=20
MinHitExtra1=1

ExtraSectionName2=”Referrers”
ExtraSectionCodeFilter2=”200 304″
ExtraSectionCondition2=”REFERER,(.*)”
ExtraSectionFirstColumnTitle2=”Referred”
ExtraSectionFirstColumnValues2=”REFERER,(.*)”
ExtraSectionFirstColumnFormat2=”%s”
ExtraSectionStatTypes2=HL
ExtraSectionAddAverageRow2=0
ExtraSectionAddSumRow2=1
MaxNbOfExtra2=20
MinHitExtra2=1


In the referrers section, even if I cant merge the 2, Id like to exclude my own site from the results. They dont pop in the regular results but they do come up in the extra. I have excluded results in the config file, dunno how to do it with regex … which is something I need to get a tut on.


Any help would be appreciated.

4:03 pm
June 20, 2008


Jean-Luc

Admin

posts 254

Hi,

Try this to exclude your site from the referrers in extra section 2 :

ExtraSectionFirstColumnValues2="REFERER,^ (?!http:\/\/www.your_site.com)(.*)$"

Please have a look at the various examples of extra sections presented in the right column.

Add a New Topic Reply to Post


Reply to Topic: Where to start? Can someone help me set this up please

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 4 + 10        (Required)

Topic Reply:


 

WebStats1


About the InternetOfficer.com forum

Currently Online:

1 Guest

Maximum Online: 31

Forums:

Groups: 2

Forums: 7

Topics: 116

Posts: 566

Members:

There are 34 members

There are 96 guests


Jean-Luc has made 254 posts

Top Posters:

Steve - 14

flwg - 10

angelko - 5

cwei - 4

legend - 3

Administrator: Jean-Luc | Moderators: Jean-Luc


© Simple:Press Forum - Version 3.1.2 (Build 340)