Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#25 2006-01-06 02:27:28
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Getting Measure Map setup correctly with TXP
@ebcomley – step #1 is now no longer needed for users of Textpattern v4.0.3 since it looks as though Mary’s patch version of upm_comment_time made it into the core.
Offline
Re: Getting Measure Map setup correctly with TXP
Andrew: Thanks for the update.
Offline
#27 2006-01-11 03:06:21
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Getting Measure Map setup correctly with TXP
Also, step 4 still shows upm_comment_time
instead of comment_time
.
Btw, have you been able to get comment recording to work? I was unable to get comments to work by using the <txp:comment_name />
tag because it outputs the name in an anchor tag if web url is provided. I had to use this instead: <txp:php>global $thiscomment; echo $thiscomment['name'];</txp:php>
Can you confirm?
Offline
Re: Getting Measure Map setup correctly with TXP
Andrew: aloicious had posted the code to input to get the comments working. I believe you can just use the same and the only change you would have to make is to change upm_comment_time
to comment_time
since there is no need for mary’s plugin anymore with 4.0.3.
I think I will have to make the necessary changes one day on my site with comment_time
instead and give instructions again if you are still having problem.
Let me know.
Offline
#29 2006-01-11 03:21:01
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Getting Measure Map setup correctly with TXP
The comment_time
part isn’t what’s causing me problems – that works fine : ) It’s the <txp:comment_name />
tag that spits out html that’s causing problems.
Offline
Re: Getting Measure Map setup correctly with TXP
hmm…I’m not sure. That is what I have and it works fine.
Offline
#31 2006-01-11 03:27:59
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Getting Measure Map setup correctly with TXP
So you’re saying that when someone records a comment on your site, MM updates the comment stats correctly?
Offline
Re: Getting Measure Map setup correctly with TXP
yes sir that’s what I’m saying :)
Here is what I have in my “comments” form (just what is below the txp: message tag)
<txp:message />
<!-- Measure Map -->
<script type="text/javascript">< !--
if(!mmcomments){var mmcomments=[];}mmcomments[mmcomments.length]="<txp:comment_id />";
//--></script>
<!-- mmc mmid:<txp:comment_id /> mmdate: <txp:upm_comment_time format="%Y%m%d%H%M%S" /> mmauthor: <txp:comment_name /> -->
I’m still using the upm_comment_time
though.
Last edited by axle_foley00 (2006-01-11 04:29:42)
Offline
#33 2006-01-11 04:29:27
- Andrew
- Plugin Author
- Registered: 2004-02-23
- Posts: 730
Re: Getting Measure Map setup correctly with TXP
Ok – thanks!
Offline
Re: Getting Measure Map setup correctly with TXP
check it again as I edited it a bit.
Let me know if it works for ya.
Last edited by axle_foley00 (2006-01-11 04:34:32)
Offline
Re: Getting Measure Map setup correctly with TXP
Just so everyone knows, ebcomley has posted a tutorial on his website.
http://www.ebcomley.co.uk/article/41/measure-map-with-textpattern
Last edited by axle_foley00 (2006-02-15 12:40:32)
Offline