Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#331 2006-12-01 19:28:46
- leohart
- Member
- Registered: 2006-02-09
- Posts: 22
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hi guys,
I have made some changes to this plugin that fixes several small problems along with implementing a different way to parse the url. My modified version also supports URL {section_name}/not-in/{category_name} so that you can list articles that do not belonged to a certain category.
If anyone is interested, please let me know.
@minimal design: I think the author did not foresee your need for usemessy=“1” in rss_unlimited_categories_list. You might need to implement it yourself.
Offline
#332 2006-12-01 20:46:43
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I’m still actively developing this plugin, so if you don’t mind sending me your changes, I’ll take a look at including them in the next version.
I already have several enhancements and fixes in the works which should be ready for release in the next few days.
Offline
#333 2006-12-03 23:05:40
- leohart
- Member
- Registered: 2006-02-09
- Posts: 22
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I surely don’t mind. I don’t know how to send it to you however so I am making it available for downloading here
rss_unlimited_categories 0.7h
Offline
#334 2006-12-07 04:17:56
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Rob, I’m new to Textpattern. Your plugins make total sense to me, this one especially … I don’t understand why Textpattern has only two categories by default, since cross-referencing sections with tags is such common practice lately.
Anyway, thanks a lot for your free plugins. Looking forward to the fix for rss_unlimited_categories_article_list.
Offline
#335 2006-12-10 20:54:16
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Hey everyone,
I’ve been trying out this plugin and have run into a couple of issues. I’ve been trying to go back over the 34 pages of this thread, but maybe I’ve missed an obvious answer because my mind is numb.
Problem number One: I may be experiencing the same, or similar problem as Etienne is attempting to describe. My Textpattern URLs are set as messy in the preferences. This is because I’m running my copy of Textpattern from a subdirectory in my Textdrive account. (At least that was my understanding of how it needed to work from what I’d read previously). So, URLs look like this:
http://sak.102010.org/index.php?c=foss
When I use <txp:rss_unlimited_categories_filedunder usemessy=“1” /> the categories get listed nicely, and the URLs are messy, but not messy in a way that works for my setup. i.e. they look like:
http://sak.102010.org/article/?c=foss
And generate a 404 error. I’ve tried modifying the tag to include linktosection=“whatever” but no matter what I put in between the quotes, (even if it’s a valid section name) it’s wrong because there’s no /section/ in any of the URLs generated by my Textpattern install. Unless I’m missing something that is.
Which brings me to Problem number Two: I’m trying to understand where it’s appropriate to use rss_unlimited_categories_article_list, but I’m a little confused. I don’t appear to be using any of the default Textpattern tags that this tag replaces, at least not that I’m aware of. My page templates look like this:
<div id=“articles”>
<txp:article /><txp:if_individual_article>
<p><txp:link_to_prev><txp:prev_title /></txp:link_to_prev>
<txp:link_to_next><txp:next_title /></txp:link_to_next></p>
<txp:else />
<p><txp:older><txp:text item=“older” /></txp:older>
<txp:newer><txp:text item=“newer” /></txp:newer></p>
</txp:if_individual_article></div>
… and my default article form looks like:
<h2><txp:permlink><txp:title /></txp:permlink></h2><span class=“small”>
<txp:posted format=”%m.%d.%y %R” gmt=“0” /><br />
Section: <txp:section link=“y” title=“1” /><br />
Filed Under: <txp:rss_unlimited_categories_filedunder usemessy=“1” /></span><txp:if_article_list>
<txp:if_excerpt>
<div id=“indent”>
<txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:excerpt /></div>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments</span>
</txp:if_comments>
<txp:permlink >Read More…</txp:permlink>
<txp:else />
<div id=“indent”>
<txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:body /></div>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments<br /></span>
<txp:permlink>Read More…</txp:permlink>
</txp:if_comments>
</txp:if_excerpt>
<txp:else />
<div id=“indent”><txp:article_image align=“left” thumbnail=“1” class=“article_thumb” />
<txp:body /></div>
<p align=“center”>
<txp:article_image /></p>
<txp:if_comments>
<span class=“small”>
[<txp:comments_count />] Comments<br /></span>
<txp:permlink>Read More…</txp:permlink>
</txp:if_comments>
</txp:if_article_list><div id=“divider”></div>
So I’m a little confused as to where the tag should go to make the lists appear correctly. I’m wondering if there may be some relation between the two problems. If I use <txp:rss_unlimited_categories_filedunder linktosection=”“ usemessy=“1” /> in the default article form, then I don’t get the 404 error any longer, but it only lists articles that exist in the previous DB table under that particular category. When installing, I did the SQL statements Rob posted, to copy the data from the txp_category table over to the new textpattern_category table.
My apologies for the long post, and also if I’ve missed something obvious and am asking a redundant question.
Thanks,
Sak.
Offline
#336 2006-12-21 19:58:18
- rockbeatspaper
- New Member

- Registered: 2005-01-21
- Posts: 5
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Rob,
I have installed this plugin and it seems to work great except for one thing.
I can assign multiple categories fine, but I can only remove all but one category from the article after assigning them. For some reason, it will not let me remove that last category, whatever it ends up being. I have been checking this in the db table to make sure of what it is doing. Any help would be greatly appreciated.
Thanks,
Dave
dave@rockbeatspaper.net
Offline
#337 2006-12-27 18:38:40
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
While building the Popular Wedding Favors site I was able to add a ton of new functionality to the plugin and work in some fixes as well. Some of the fixes are based on posts and requests in this thread and some were based on my own requirements. I’m not sure that I was able to fix everything that’s been reported because the thread is quite long.
The changes to the plugin are as follows. Please note, this might not be a complete list. There were so many changes I might have lost track of a few, but the plugin documentation should be up-to-date. Check the plugin help file for details.
rss_unlimited_categories 0.7
admin interface
- fix category multi select list indenting
- add preferences tab for the plugin under the extensions tab
- redesign plugin help for readability
rss_unlimited_categories_article_list
- fix no article tag warning in debug mode
- add usechildren attribute
- add filtering
rss_unlimited_categories_list
- fix limit and offset attributes
- add showallcount and allcountlabel attributes
- add usemessy attribute
rss_unlimited_categories_filedunder
- add parent attribute
- rss_unlimited_category_count
- rss_if_article_unlimited_category
As always, please report problems with the latest version here.
Offline
#338 2006-12-27 20:26:40
- erikdungan
- New Member
- Registered: 2006-12-14
- Posts: 1
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Just installed version 0.7. This is the first version I’ve used and I think its great.
I’ve been able to output my tag cloud and, after some tinkering, got the rss_unlimited_categories_article_list tag working.
One possible bug I’ve discovered with rss_unlimited_categories_article_list: it doesn’t seem to accept the * wildcard for sections. When using it, I got no articles output. When I specified a section, they appeared.
Here is my site: http://s7376.gridserver.com/ (tags are on the left column)
Erik
Offline
#339 2006-12-28 09:03:09
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Site slow down…
I’ve been using this plugin for a long time very successfully. But recently, and with no significant changes I’m aware of, the plugin is slowing the site loading badly.
The site is here
I’ve upgraded today to 0.7 with no change.
Disabling the plugin fixes the slow load problem.
I’d be grateful for any pointers for debugging this. Happy to provide whatever information necessary to assist.
Thanks!
Offline
#340 2006-12-28 13:40:24
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Can you set the production status to debugging and provide the tag trace from the bottom of the page source?
Offline
#341 2006-12-28 19:56:25
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Offline
#342 2006-12-28 20:34:49
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Wow, some (but not all) of those queries are running fantastically slow. Can you try repairing the textpattern and textpattern_category database tables in mysql and tell me how many rows you have in each? The query is using all indexed fields so it should be pretty fast.
Offline
#343 2006-12-28 20:42:10
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Just repaired both of those tables (had actually done that previously, but had forgotten to mention it).
Rows:
textpattern = 362
textpattern_category = 718 (seems big, but I have no idea what it should be!) :)
Thanks Rob.
Last edited by NeilA (2006-12-29 08:39:56)
Offline
#344 2006-12-30 17:01:16
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
It looks like the slowness is in the queries being run but I haven’t gotten it fixed yet. You might want to go back to 0.6 for now if you haven’t already.
Offline
#345 2006-12-30 17:03:45
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
rockbeatspaper wrote:
I can assign multiple categories fine, but I can only remove all but one category from the article after assigning them. For some reason, it will not let me remove that last category, whatever it ends up being.
Is it the browser or the plugin that won’t let you remove the last category? Are you de-selecting all of the categories on the screen but the plugin still leaves one there?
Offline