Categories:
Author:
Current version:
2.1
About It:
Get it:
Rate it:
Flag it:
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
starttextattribute - v0.2 – Altered syntax for
format, addedoutputattribute. - v0.1 – Initial release.
Initially released:
2004-09-10Posted here:
24 Mar 2005Article 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:
Commented (9)
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
Regards,
Version 0.51
Download version
Paste version
PHP Source
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!
Sounds good! :)
BTW, read about this :
:)
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?