Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] dru_recent_referers
this plugin works perfectly for me, thanks
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
It worked with change to (refer!=’‘) as proposed by froelhe
But tried with another txp website and doesn’t work (that one on ?1.17b). ?????
j f p
more in TXPmag
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
> Drew wrote:
> A plugin to generate a list of recent referers from your TXP logs. Obviously, I can only test on the systems I have available to me, so use cautiously and any feedback is welcomed.
<txp:dru_recent_referers limit="10" break="li" wraptag="ul" />
It basically works just the same way as recent_articles. If you log all hits and not just referers, it should only return referers – confirmation of this would be good ;)
Download dru_recent_referers.txt.tgz
Drew,
First, thank you for creating this!
Now I’d like to see if you have any ideas why it’s not displaying all the referrers on my site?
It works … but the top 8 or so are blank and it just shows 2 or so at the bottom. Other times, it will just display one in the middle and nothing else.
Any ideas?
Thanks.
Darla
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
You’re probably showing all hits, rather than just hits with referrers – you can change this in the admin preferences. That’s where the plugin gets it’s info from.
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
That did the trick!
Thank you very much!
Darla
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Well,
No, it didn’t.
Now it’s just completely blank?
Thanks.
Darla
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Did you wait for more visitors to show up, that had referrers and could populate the list?
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
:D
I guess a little patience would help, huh?
It’s working perfectly now
Thanks!
Darla
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
This script is dangerous…
I just tested it and I inserted HTML CODE into a page using my referurl
this is a security risk. This script should be parsing the referers…
before outputing them to (x)HTML.
“The insistent messiahs-Type of Guy”
“Max wrote the code and uploaded it over a satellite connection from his top secret island hideway somewhere in the Mediterranean.”
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Simply update this line:
$out[] = tag($domain,'a',' href="http://'.$refer.'" title="Recorded: '.$ref_time.'"');
To this:
$out[] = tag($domain,'a',' href="http://'.htmlspecialchars($refer).'" title="Recorded: '.htmlspecialchars($ref_time).'"');
Thanks for the sensationalist approach with no practical solutions, it’s very much appreciated.
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
The download on my site has been updated to reflect this change. If you use this plugin, please either update the code yourself or download and install the updated version.
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Does it work with prefixes already?
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
this, uh, doesn’t work for me. the database query isn’t working for some reason. it’s 1.19-compatible, right?
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
You use prefixes, right? It doesn’t support prefixes….
VC88 | Nah, there weren’t really eighty-eight of them. They just called themselves “The Crazy 88.”
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
that is true. I guess I’ll see if I can tweak it so it does.
Offline