Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
2.1
About It:
Get it:
Rate it:
  • Helpful?
  • 1 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

ob1_modified

This plugin uses the same syntax as <txp:posted /> but outputs the last-modified date instead. It also has the feature to display the author’s name that did the modifying.

Changelog

  • 2.1 – Re-wrote SQL to now get all the data in just one query (with joins)
  • 2.0a – Recoded most of it, works like a charm now with TXP 4.x.
  • v0.51 – I was not true to my own documentation. I’ve now fixed so the format="author" works properly.
  • v0.5 – Updated to RC3 compability and added the hack posted earlier on my website.
  • v0.31 – Fixed a bug with differs.
  • v0.3 – Added starttext attribute
  • v0.2 – Altered syntax for format, added output attribute.
  • v0.1 – Initial release.
Article Request Count:
Initially released:
2004-09-10
Posted here:
24 Mar 2005
Article modified:
27 Dec 2007

If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (9)

the rise.lewander site was down for the past two days while i tried to retrieve this plugin…
but i needed this plugin! :)
so i got a copy from one of my other textpattern installs and recompiled it… i’ve made it available here just in case someone else runs into the same problem.. version 0.31

ob1_modified
My host is having some technical difficulties he still has not rooted out. So I can not say that the site will be upp 100% yet but I’m crossing my fingers.
I’ve updated to version 0.5 that now works under RC3. So you know. I applied waaay back for a login/pass here but that didn’t work so couldn’t do the update myself. If there has been alterations how it works gimme an e-mail since I am almost back in the TXP community again.

Regards,
Mirrors available here on textpattern.org
Version 0.51

Download version
Paste version
PHP Source
Anton:

This plugin seems to generate a new query for every article in a article list, e g 20 articles in a list amounts to 20 unnecessary(?) queries. Is this possible to avoid somehow?

Are you using fewer queries in 2.0a? Cause this is what I just had:

< !— Runtime: 4,8143 — >
< !— Query time: 0,002747 — >
< !— Queries: 86 — >
< !— Memory: 11259Kb, end of textpattern() — >

...and this is what I got just after upgrading the plugin:

< !— Runtime: 4,6894 — >
< !— Query time: 0,001626 — >
< !— Queries: 94 — >
< !— Memory: 11450Kb, end of textpattern() — >

Otherwise, nice to see you are using the same date format as the rest of TXP!

Anton Andreasson:

Sounds good! :)

BTW, read about this :

“Added ‘modified’ and ‘status’ to the $thisarticle global variable.”

:)

Thanks for the heads up, I’ll investigate it further when I get back to this plug in after going through and updating the rest.

I know this is requesting way too much.. but a client of mine insists in wanting “Updated 12:34” if posted the same day and “Updated 19 Sep 12:34” if posted other days.

Can I do this today or does it requires even more of your precious txp hacking time?

cheers,

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

Would you care to write a comment or visit the forum discussion?

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern