Is there any way I can split the script? See on jarkley.net, they have a list of links on their left menu with 30 links, and then you can click on "more" to get the full list. I tried having two "xReferrer-class.php" files, but I couldn't get it to work.. Still a great script
Well, I was asked to write a "top referrers" script, and that's what I did, I spose you could add the class to page by itself and adjust the number to a number that will never be reached to spit all the referers ever.....
What I tried to do, was to have a simple list of links on the frontpage - like the list on jarkley.net that has about 30 links. I edited "xReferrer-class.php" to only show "hosts". Then I added a link to another page (ex: links.php), who would show more links + hits in (reading from "xReferrer-class2.php"). I used this code for the frontpage: <? @include("install/xReferrer-class.php"); $xRf = &new xReferrer("output", 10); ?> PHP: And this for the links page: <? @include("install/xReferrer-class2.php"); $xRf = &new xReferrer("output", 10); ?> PHP: But I couldn't get it to work; the list and the links page still showed the same (host+hits+last hit). Can you please help me with this?
<? @include("install/xReferrer-class2.php"); $xRf = &new xReferrer("output", 10); ?> is uneccesary, the number is the number you're selecting from the database, so if you put 10 there, you'll get 10 results, if you put 100 you'll get 100 results
Yes, I understood that. But I wanted one page to show _just_ the link, and the other to show the link + hits in + last hit in. Frontpage: A box in the left menu will show the top referers, but the links only Links page: Shows top links, amount of hits in and time for the last hit in. Understand what I mean?
yeah, you'll need to edit the html, but either way, it's still going to spit all links upto the number included in the class initiation.... FYI Evry1 : Ported to work with wp, and packaged as a plugin : http://krakjoe.info as always demo : http://krakjoe.info/wp
Very nice script. Is it possible filter URL by keywords? for example, i don't want visit coming from domain containing healthinsurance. how can i do this? Thanks!
I dunno, haven't thought about it, it'd mean collecting data from all different search engines about how thier queries are formatted, if someone does that I'll do the rest ...
If you get in touch with me on msn, I can spend an hour or two making it do what you want it to .....
Krakjoe, Thanks for the offer....I don't use MSN though only google talk. Basically I'm trying find one that works the same way as the one in my arcade Ninjaplayer.com which running off of phparcadescript.
I could make something to work with that also, I'll pm you when I have google talk installed and got a couple of hours to spare ....
krakjoe: Not sure if I was clear or not but I don't need it to work with the arcade. I am looking for something like this that can be used standalone or inserted where I need it with say in a php include so I could use it on any project. Also how much is this going to cost me? I would hate to make you work for a couple hours on this. Maybe you can make this a finished product then offer it for sale?