Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [plugin] [ORPHAN] dru_recent_referers
Remember that if you’re logging all hits (not just referers) that this won’t exclude internal referers. – that was the purpose of the $mydomain bit.
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Hi Drew-
I got a chance tonight to install your update and try it out. I still get empty bullets if I turn on logging of all hits and then click around my site a couple of times. I also found that if I wanted to display refers with just a <br> between them, I had to include the < and > as part of the breaktag. This seems inconsistent, seeing as how including the brackets in the wraptag causes problems (eg, I inadvertently set wraptag to "<p>" instead of just "p" — no love from that). I think that tags without brackets are the norm, right?
-Alan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Alan – yes that’s right. The majority of the code for this plugin is a direct mimic of the code for recent_articles so I’d expect the behavior of break and wraptag to be the same as that.
FWIW, if you want to break on <br /> just omit the break attribute – it’s the default.
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
I haven’t tried this plugin yet, but can it show entry-specific referrers? I’d like to have a list of referring sites at the bottom of the entry, but only those referring to the actual entry.
VC200 member!
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
Take a look at Mentions and see if that does what you’re after.
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
> Take a look at Mentions and see if that does what you’re after.
Ah, are those working now? Says still in development in the help box for them (Txp 1.17)
VC200 member!
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
They’re still in development, but if the concept serves your purpose then there’s no point reinventing the wheel just yet :)
drew mclellan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
> Drew wrote:
> FWIW, if you want to break on <br /> just omit the break attribute – it’s the default.
Thanks for the info — that’s nice to know. I hadn’t looked into the recent_articles code.
-Alan
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
> Drew wrote:
> They’re still in development, but if the concept serves your purpose then there’s no point reinventing the wheel just yet :)
Ah, I’ll wait until they’re fully functional, then.
VC200 member!
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
FYI: Changing the (not isnull(refer)) to (refer!=’‘) made it stop outputting blank entries.
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
!empty() would do the job as well.
Who’s gonna textdrive you home tonight?
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
So wait… I’m confused… is anyone fixing the blank URLs for the referers list?
Offline
#28 2004-04-17 02:20:13
- Andrew
- Plugin Author

- Registered: 2004-02-23
- Posts: 730
Re: [plugin] [ORPHAN] dru_recent_referers
Do you have any desire to tackle a IP/host filter plugin?
Last edited by compooter (2004-04-17 02:21:02)
Offline
Re: [plugin] [ORPHAN] dru_recent_referers
I tried this plugin, my first one and got “dot” instead of any referers? I checked lib/admin_config.php and appear correct. I run on 1.18 txp refers appear in the logs windows in the admin side of txp.
What I missed?
j f p
more in TXPmag
Offline