Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#346 2007-12-04 15:57:37
Re: tru_tags: A tagging plugin for textpattern
just a snippet of my tags:
methane, methanogen, microbes, microbial mats, microscopy, moon, m star, m stars, nai arc team, nai asu team
Results
Updated 0 rows (“m star”=>“m stars”)
Redirect added (“m star”=>“m stars”) – please test it!
I hope that helps,
Shige
Offline
#347 2007-12-05 02:37:06
Re: tru_tags: A tagging plugin for textpattern
All – I’ve posted v3.1, but it only fixes whocarez’s issue with messy URLs. (I also updated the admin-page text to be clearer.) I can’t reproduce the other issues:
glz – I’ve looked around the code again, and I can’t figure out why you’d be seeing that behavior. The vast majority of the cloud-generation code is shared between the admin side and the public side, and it barely changed during the upgrade to 3.0. Do you have any unusual tags? What version of Textpattern are you using? Can you send me credentials so I can try to debug it?
MagnusBerg – if you have mysql 5.0.3 (or above), and shell access to your database, you can run the following SQL statement to expand your keywords field:
alter table textpattern modify Keywords varchar(1000) not null
If your tables have a prefix, you may need to add it. This will expand the field to 1000 characters – I think you can go up to 65000 if you want, but I wouldn’t suggest it :) I tested it myself at 1000 characters, and it worked.
typeshige – I tried reproducing this with the tag list you sent, and can’t make it happen. (It successfully renames the tags for me.) I’m not sure where to go from here – are you willing to send me login credentials so I can try to debug? If so, please send them to truist-20071204@truist.com.
Last edited by truist (2008-07-03 05:24:20)
Offline
#348 2007-12-10 20:55:24
Re: tru_tags: A tagging plugin for textpattern
Thanks, it is working ….. :-)
Andreas
Offline
#349 2007-12-12 00:44:36
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: tru_tags: A tagging plugin for textpattern
Is a tag like this: word1 word2-word3 not possible?
On the tag search page, I am using <txp:tru_tags_handler form="tag_results" noarticles="/tag/" /> and the abovementioned tag (URL /tag/word1-word2-word3/) is being redirected to /tag/, even though it has articles.
Offline
#350 2007-12-13 13:45:57
- Nonsense
- Member
- Registered: 2005-11-25
- Posts: 53
Re: tru_tags: A tagging plugin for textpattern
When I use <code><txp:search_result_excerpt /></code> on a page displaying <code>?s=tag&t=(whatever)</code> the charset is corupted. Letters like ÅÄÖ is displayed as ??
Any thoughts?
Offline
#351 2007-12-14 00:24:10
Re: tru_tags: A tagging plugin for textpattern
Els – that’s correct, tags that mix spaces and dashes don’t work (it’s documented as such somewhere on my site). Sorry :-(
Nonsense – I’m not sure what the problem is. I’m not at home until mid-next-week, but I’ll try it out once I get there.
Offline
#352 2007-12-14 17:05:52
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: tru_tags: A tagging plugin for textpattern
truist wrote:
Els – that’s correct, tags that mix spaces and dashes don’t work (it’s documented as such somewhere on my site). Sorry :-(
Never mind, I’ll find another way; and if it is documented I should have found that, so I apologize :)
Offline
#353 2007-12-17 17:38:46
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: tru_tags: A tagging plugin for textpattern
OK, this time I thoroughly read through the documentation, I hope :) but I’m still left with a question. Using <txp:tru_tags_tag_parameter striphyphens="1" /> correctly displays my multi-word tags like tag with spaces as tag with spaces. But it also displays tag-with-dashes as tag with dashes. If I leave out the striphyphens attribute, it displays dashes in both cases, and I don’t want that either. Is there a way to solve this (other than using just one of both)?
Offline
#354 2007-12-17 17:59:19
Re: tru_tags: A tagging plugin for textpattern
Hrm. There isn’t any way to do it with the current version of tru_tags, but there should be. I’ll have to add a new parameter to make it possible – something like “match_to_real_tag” or “format_for_display”. I’ll put it on the list for the next version – hopefully published around the end of the year.
Offline
#355 2007-12-17 19:04:41
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: tru_tags: A tagging plugin for textpattern
Great! Thank you :)
Offline
#356 2007-12-21 14:43:48
Re: tru_tags: A tagging plugin for textpattern
I installed tru_tags, seemed to have everything working OK, then decided to change the names of some tags and delete some. On trying to change ‘austria’ to ‘at’ (in the keywords field of an article), after clicking Save, I was redirected to my home page and the article was not saved. I tried adding a keyword, and again it would not save but redirected me to my home page.
I now find I cannot save anything in the admin, but get redirected everytime. I’ve deleted the plugin but still get the same behaviour. Any ideas?
Edit: Actually, articles, pages and forms seem to be the only places where I cannot save. I deleted upm_save_new but no difference. I deleted a tru_tags table in the db but no difference, reinstalled with 3.1 but again no difference.
Last edited by zero (2007-12-21 16:23:17)
Dozy P My attempt at music
Offline
#357 2007-12-24 07:17:37
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
I hate to ask a question that may have already been asked and answered… but, this thread is very long… I am hoping ya’ll won’t mind. :)
Using <txp:tru_tags_handler />, can I tell it not to display a the tag cloud? I would prefer to do this manually using <txp:tru_tags_cloud />.
Possible?
Btw, this plugin is amazing! Great contribution to the TXP community. Many many thanks.
Cheers,
Micky
Offline
#358 2007-12-24 14:31:30
- net-carver
- Archived Plugin Author
- Registered: 2006-03-08
- Posts: 1,648
Re: tru_tags: A tagging plugin for textpattern
zero wrote:
…I’ve deleted the plugin but still get the same behaviour. Any ideas?
it’s not that plugin then.
- Has anything else changed on your setup — anything that might have happened behind the scenes with your host (a php upgrage for example)?
- If you have access to your php error logs (or your apache logs) what do they show?
- Any other plugins that might be issuing re-directs?
Last edited by net-carver (2007-12-25 01:23:18)
— Steve
Offline
#359 2007-12-24 18:06:07
Re: tru_tags: A tagging plugin for textpattern
Thanks Steve, I’ll dig into that. I can’t be bothered just now. There’s too much fun getting in the way. I dare say it’s already Christmas Day in Borneo. So you got first helpings of dinner, cakes and sherry etc, but I’ll still have some left over when you’ve finished yours ;)
Dozy P My attempt at music
Offline
#360 2007-12-27 01:46:30
- mhulse
- Plugin Author

- From: Eugene Oregon
- Registered: 2005-01-21
- Posts: 200
Re: tru_tags: A tagging plugin for textpattern
mhulse wrote:
Using
<txp:tru_tags_handler />, can I tell it not to display a the tag cloud? I would prefer to do this manually using<txp:tru_tags_cloud />.
Any thoughts on this? When I go to my “tag” section, the tags are displayed via the tru_tags_handler… Can that feature be turned off?
I guess I should just dig-in to the code. :D
Cheers,
M
Offline