Textpattern CMS support forum

You are not logged in. Register | Login | Help

#731 2011-10-24 18:42:34

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: tru_tags: A tagging plugin for textpattern

I just realized that this wasn’t a feature of the plugin itself but that I made it using a plugin called hpw_admincss.

With that, you can style elements of the admin interface. You create a style named “admin” and if you add the following CSS, the tag box will look just like a normal textarea and will scroll.

.tru_tags_admin_tags {
	display: block;
	height: 250px;  /* set this to whatever you want */
	overflow: auto; /* this will cause a scrollbar to appear */
        padding:3px;
        margin: 5px 0;
        background: #E9E9E9;
        border: 1px solid #ccc;
        border-color: #878787 #fff #fff #878787;
}

Last edited by andreas (2011-10-24 18:43:02)

Offline

#732 2011-10-24 20:00:39

Els
Admin
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: tru_tags: A tagging plugin for textpattern

andreas wrote:

With that, you can style elements of the admin interface. You create a style named “admin” and if you add the following CSS, the tag box will look just like a normal textarea and will scroll.

Thank you! But if it doesn’t work anymore for you, it looks like the plugin is not ready for the latest Txp?

Offline

#733 2011-10-24 20:04:38

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: tru_tags: A tagging plugin for textpattern

Ah sorry, I wasn’t clear enough: it DOES work. I had forgotten about the hpw_admincss plugin and had deleted it. I brought it back and all is fine again.

Last edited by andreas (2011-10-24 20:04:55)

Offline

#734 2011-12-04 21:00:16

Vienuolis
Member
From: Vilnius, Lithuania
Registered: 2009-06-14
Posts: 173
Website

Re: tru_tags: A tagging plugin for textpattern

I have just replaced tru_tags v3.6 (the current realease) with Andreas’ tru_tags-3.7-alpha, resulting page runtime as forty times (40x) as faster — from former 22 sec to 0.5 sec now reduced load of the biggest webpage. Nathan, why not to implement these few lines of the patch? And what are your plans in expanding tru_tags for custom fields, too?

Last edited by Vienuolis (2011-12-04 22:02:34)

Offline

#735 2012-01-05 00:07:37

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: tru_tags: A tagging plugin for textpattern

@whocarez: thanks, your tweaks made things much faster.

Since I’m developing with messy urls (yet to install maintenance mode plugin), I found an issue with TXP 4.4.1 – created tag links were missing ‘index.php’, e.g:

http://www.domain.com/?s=tag&t=tagname

rather than

http://www.domain.com/index.php?s=tag&t=tagname

Fixed it by changing line 385 from:

$urlprefix = hu . '?s=' . $tru_tags_prefs[TAG_SECTION]->value . '&' . $tru_tags_prefs[PARM_NAME]->value . '=';

to:

$urlprefix = hu . 'index.php?s=' . $tru_tags_prefs[TAG_SECTION]->value . '&' . $tru_tags_prefs[PARM_NAME]->value . '=';

Awesome plugin, thanks.

Last edited by rossharvey (2012-01-05 00:11:17)

Offline

#736 2012-01-08 20:06:26

bisk
Member
From: The Netherlands
Registered: 2005-03-23
Posts: 12
Website

Re: tru_tags: A tagging plugin for textpattern

Vienuolis wrote:

I have just replaced tru_tags v3.6 (the current realease) with Andreas’ tru_tags-3.7-alpha, resulting page runtime as forty times (40x) as faster — from former 22 sec to 0.5 sec now reduced load of the biggest webpage. Nathan, why not to implement these few lines of the patch? And what are your plans in expanding tru_tags for custom fields, too?

Great plugin. Noticed some slowdowns on one of my website, but with this it seems resolved for now.

Offline

#737 2012-01-17 12:46:26

jens31
Plugin Author
From: munich / dtschermani
Registered: 2008-08-25
Posts: 183
Website

Re: tru_tags: A tagging plugin for textpattern

hi

i have a feature request ;)
right now you are only able to show related articles, if you make a tag search.
id like that feature for a non-search. means that if you see an individual article itll show its (tag-)related articles.
i know there is a plugin called chh_related_articles, that does that, but its not comparing for relevance.
i thought that tru_tag does that..
is this possible? pm me, if you think so and need some budget.

bless

Offline

#738 2012-01-20 04:06:14

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

@Vienuolis and whocarez – thanks for the nudge and the suggestions – the performance improvements have been released in v3.7 :)

Note that this release also has this fix for how “tags with spaces-and-hypens+and+plusses” are encoded – hopefully in a sufficiently backwards-compatible way. Please test it carefully if this issue affects you :)

@rossharvey – I don’t think your change should be necessary. I have a test site that uses messy URLs, and it works just fine. Have you done something custom (or out of date?) with your .htaccess file?

@jens31 – this has been requested before, and yes, it could be done in tru_tags and it seems like a great idea. As you can see from my (lack of) participation on the forums and lack of updates, I haven’t been very active with tru_tags, so I just haven’t gotten around to it. My wife is due to have a baby (our second son!) any day now, so I seriously doubt I’ll get to it soon. I’m happy to give someone commit rights to my google code repo if you can find someone who wants to try to add it, though.

Offline

#739 2012-01-21 15:13:01

rossharvey
Member
From: Earth. Sometimes.
Registered: 2005-03-16
Posts: 233
Website

Re: tru_tags: A tagging plugin for textpattern

Nathan: yes, my .htaccess has been tweaked, perhaps that was the cause. I’ve moved to clean URL’s since.

One other thing, is it possible to make the created tag pages, (i.e. site/tag/tagname) ‘fixed’ URLs? That would be rather excellent for SEO indexing.

Last edited by rossharvey (2012-01-21 15:15:00)

Offline

#740 2012-01-22 03:11:00

truist
Plugin Author
From: Ohio, USA
Registered: 2004-11-09
Posts: 256
Website

Re: tru_tags: A tagging plugin for textpattern

rossharvey – are they not fixed? e.g. http://www.rainskit.com/tag/tru_tags/

Offline

Board footer

Powered by FluxBB