Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#31 2004-05-04 15:30:05

Tom Alday
Member
Registered: 2004-04-27
Posts: 38
Website

Re: [plugin] [ORPHAN] dru_recent_referers

this plugin works perfectly for me, thanks

Offline

#32 2004-05-04 15:48:10

jfp
Member
From: Clamart, France
Registered: 2004-04-02
Posts: 21
Website

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). ?????

Offline

#33 2004-05-18 03:21:14

newbie
New Member
From: USA
Registered: 2004-04-29
Posts: 9
Website

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

#34 2004-05-18 03:44:44

LisaJill
Member
From: White Plains, NY
Registered: 2004-04-26
Posts: 16
Website

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

#35 2004-05-18 03:47:52

newbie
New Member
From: USA
Registered: 2004-04-29
Posts: 9
Website

Re: [plugin] [ORPHAN] dru_recent_referers

That did the trick!

Thank you very much!


Darla

Offline

#36 2004-05-18 03:49:38

newbie
New Member
From: USA
Registered: 2004-04-29
Posts: 9
Website

Re: [plugin] [ORPHAN] dru_recent_referers

Well,

No, it didn’t.

Now it’s just completely blank?

Thanks.


Darla

Offline

#37 2004-05-18 05:08:08

LisaJill
Member
From: White Plains, NY
Registered: 2004-04-26
Posts: 16
Website

Re: [plugin] [ORPHAN] dru_recent_referers

Did you wait for more visitors to show up, that had referrers and could populate the list?

Offline

#38 2004-05-18 05:34:13

newbie
New Member
From: USA
Registered: 2004-04-29
Posts: 9
Website

Re: [plugin] [ORPHAN] dru_recent_referers

:D

I guess a little patience would help, huh?

It’s working perfectly now

Thanks!


Darla

Offline

#39 2004-05-27 09:11:07

Max Ziebell
Archived Plugin Author
From: Formentera and/or Berlin
Registered: 2004-03-26
Posts: 24
Website

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

#40 2004-05-27 09:53:34

Drew
Plugin Author
From: Red pillar box, Baker St.
Registered: 2004-02-15
Posts: 53
Website

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

#41 2004-05-27 10:20:35

Drew
Plugin Author
From: Red pillar box, Baker St.
Registered: 2004-02-15
Posts: 53
Website

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

#42 2004-06-09 19:05:42

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#43 2004-07-17 22:06:10

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

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

#44 2004-07-19 18:18:16

ReinierBiz
Archived Plugin Author
From: the Netherlands, Rotterdam
Registered: 2004-04-07
Posts: 42
Website

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

#45 2004-07-19 21:46:45

tmacwrig
Archived Plugin Author
Registered: 2004-03-06
Posts: 204
Website

Re: [plugin] [ORPHAN] dru_recent_referers

that is true. I guess I’ll see if I can tweak it so it does.

Offline

Board footer

Powered by FluxBB