Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: tru_tags: A tagging plugin for textpattern
Just a quick note to everybody – I know I’ve been silent for a while, and I apologize for that. I’ll be working on updates/fixes tonight and this weekend, so we should be able to fix most of this stuff.
nicklas – can you post or email the code changes you made?
rachel rachel – can you give any more detail? I assume that you’re not copying the instructional text at the top, right? What’s the URL that gives the 403 error? Can you email a screenshot to me? I don’t have any great guesses about what your problem is, so I’m just grasping for more info.
Offline
Re: tru_tags: A tagging plugin for textpattern
Ooops, I have just posted a comment on your page about the leading dash issue. Good that I have found that active thread here now :-) Looking forward to see a fix in the future.
Thanks for the plugin!!! Site navigation and intuitive research on the site is boosted with tru_tags – awesome!
Another question:
I am not getting the keywords to show up in meta description. Could some kind soul post an example of the header code to be implemented? I have also tried with <b>txp:keywords</b> but the tag is ignored. Do I have to escape parts of the code?
Last edited by merz1 (2006-05-04 14:13:55)
Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML
Offline
#78 2006-05-04 16:05:25
- Rachel Rachel
- Member
- Registered: 2004-09-24
- Posts: 28
Re: tru_tags: A tagging plugin for textpattern
nathan,
thanks for the reply (and for your e-mail). my problem is that, after copying and pasting the plugin code (only the hex gibberish, not the commented-out stuff) into the ‘Install plugin’ textbox and hitting Upload, i’m sent to a plain old ’403: forbidden’ error page (just the default page for my server, not anything Txp-related like a ‘Badly-formed code’ error message or whatever).
i tried uploading some of the earlier versions of the plugin, and they worked fine up to 1.1, then for 1.2 and up i got the same error.
i sort of fixed it in a ghetto way, meaning i ran the hex code for version 1.5 into a hex to ascii conversion thingy and then copied and pasted that into the ‘Edit plugin’ for version 1.1 that was running okay. but still, it’d be nice to have the ‘real’ version 1.5.
Offline
Re: tru_tags: A tagging plugin for textpattern
Any chance there’s another plugin causing this problem? I’ll do a diff on the 1.1 -> 1.2 code and see if that gives me any ideas.
Offline
Re: tru_tags: A tagging plugin for textpattern
1.2 was when clean url support was added, so that vaguely sounds like it might be related, but I can’t see anything in the code that would cause the problem. Can you check the server logs – maybe they have more detail?
Offline
#81 2006-05-05 00:10:36
- Rachel Rachel
- Member
- Registered: 2004-09-24
- Posts: 28
Re: tru_tags: A tagging plugin for textpattern
Any chance there’s another plugin causing this problem?
i don’t think so… i tried disabling all the other plugins and then uploading tru_tags, but i get the same error page.
Can you check the server logs – maybe they have more detail?
how do i access the server logs?
Offline
Re: tru_tags: A tagging plugin for textpattern
how do i access the server logs?
Depends on where/how you host your site. That’s a tough question to answer, in general. Do you use a hosting service?
Offline
Re: tru_tags: A tagging plugin for textpattern
I’ve released v1.6, which includes:
any tag that’s not the last (or only) one for any given entry is prefixed with ”-”
Fixed.
it appears that tru_tags doesn’t use the override form that I have specified with some articles
Fixed. It will automatically use the override form now. I took a gamble and this fix is not backwards compatible – the override form will always be used, if one is set.
it has no support for special and international characters
I made the fix suggested by kusor – hopefully that does it.
Also:
I added support for <code>rel=“nofollow”</code>, at the request of a user. It’s off by default. See the usage instructions for details.
I’ve had a few requests for a “related articles” feature. It looks like chh_related_articles will work with tru_tags, and it’s got lots ‘o features. If somebody tries it, please post and say if it worked.
Thanks to everyone who took the time to say nice things :)
Last edited by truist (2008-07-03 12:06:10)
Offline
#84 2006-05-05 00:51:04
- Rachel Rachel
- Member
- Registered: 2004-09-24
- Posts: 28
Re: tru_tags: A tagging plugin for textpattern
Depends on where/how you host your site. That’s a tough question to answer, in general. Do you use a hosting service?
i found some error logs in cPanel, but there isn’t anything related to the plugin.
Offline
Re: tru_tags: A tagging plugin for textpattern
Nathan, it’s great to see these updates — thanks!
I am seeing something strange happening, however. You can see it here: there is a bunch of unformatted code at the top of the page, concluding with this error: “Warning: extract() [function.extract]: First argument should be an array on line 55”.
That error pops up when I put an image into a single particular entry — it appears immediately after the image code. Subsequent to the error, the rest of the page gets formatted correctly, with the exception of the one entry that contains the image and throws the error. Scroll down the page and you’ll see the rest of the entry (the clipped entry starts with “things I’m enjoying.” This happens regardless of where I place the image in that entry, and it continues to occur if I change the image. If I place a second image, the error still occurs, but the second image is displayed correctly.
If I switch the entry to draft status so that it’s not displayed, the page shows up correctly. There doesn’t seem to be any effect if I change the tags — I tried removing all but the “mac” tag, for instance.
The error seems to occur when there are like-tagged articles newer than the one in question: The article is displayed correctly at its permalink, and it’s displayed correctly on tag pages such /tag/imac, /tag/bibdesk, and /tag/quicksilver; but the error shows up again for page /tag/apple, where there are newer entries.
Other entries displayed by tag that also include images don’t seem to have problems, eg, /tag/flagstaff. So it seems that there’s something specific to this entry — but I have no idea what. Edit: I found another tag page that exhibits the same problem: /tag/sociology.
Any idea at all what’s happening?
Last edited by schussat (2006-05-05 18:23:21)
-Alan
Offline
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
nicklas – can you post or email the code changes you made?
Sur, but since I’m not really good att php I’m not sure if it’s usable by everyone.
Line 172 to 175 in v1.5:
<code>
if (tru_tags_use_clean_urls()) {
$urlprefix = ‘http://’ . $siteurl . ‘/’ . $tagsection . ‘/’;
$urlsuffix = $usereltag ? ‘/” rel=“tag’: ‘/’;
} else {</code>
Last edited by nicklas (2006-05-07 11:42:43)
Offline
Re: tru_tags: A tagging plugin for textpattern
schussat – It looks like you need to close your tru_tags_from_article call (put a ‘/’ at the end). Also, the textpattern code that is spitting out that error will not do so if you set your site to “live” mode. Does that help?
Offline
Re: tru_tags: A tagging plugin for textpattern
Oh, I feel like such a newbie. Thanks, trust, that [closing the tag — I had forgotten in one form, and should have realized it when this behavior popped up after you added support for override forms] did the trick perfectly.
Thanks again for a splendid plugin.
-Alan
Offline
Re: tru_tags: A tagging plugin for textpattern
This is a wonderful plug-in .. thank you so much truist .. it really opens up all sorts of possibilities.
Just one small query: is it possible to order the tags in a tag list or tag cloud? By default they seem to be arranged alphabetically .. would it be possible, for example, to order them by most popular?
Thank you,
Simon
Last edited by spiffin (2006-05-31 12:52:46)
Offline
Re: tru_tags: A tagging plugin for textpattern
I just posted v1.7 which supports sorting the tag cloud by tag frequency. Just add <code>sort=“count”</code> to your <code>tru_tags_cloud</code> or <code>tru_tags_list</code> call. See the usage instructions for more details.
Last edited by truist (2008-07-03 12:03:38)
Offline