Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Minimum search word length is 3 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

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

Reply to Post Add a New Topic
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 1043

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.

Reply to Post

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

Guest Name (Required):

Guest Email (Required):

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

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
7 + 5
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 201

Currently Online:
12 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 498
Posts: 2380

Membership:

There are 2068 Members
There have been 245 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
albert_newton – 30
deepakgupta – 28
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: Diggy, mopl91, henrique, ScottWigle, mgshirinda, andersondj

Administrators: Jean-Luc (1043 Posts)

Moderators: Jean-Luc (1043 Posts)