Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#616 2009-04-04 00:36:03

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

rss_unlimited_categories patch 0.7.4p2

Changes:

0.7.4p1

  • fix unsafe variables in rss_unlimited_categories_article_list
  • fix bug in Extension Tab

0.7.4p2

  • add option “Parent for display” for Write Article tab. see Extension tab.

download link

Last edited by makss (2009-05-06 00:04:02)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#617 2009-04-25 00:03:39

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

makss, when I try to install 0.7.4p2 I just get a blank window and the plugin does not install. I’ve tried on a few different installs, just to be sure, and I can’t get it working anywhere.

I really appreciate your efforts to keep this alive!

Offline

#618 2009-04-25 15:09:28

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

floodfish, I changed the format of the plugin. Please dowload and try again.

Last edited by makss (2009-04-27 19:08:53)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#619 2009-04-27 18:22:07

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hm, I have the same problem with that new version.

Offline

#620 2009-04-27 18:55:20

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Next probe :)

Please try it.
rss_unlimited_categories_v0.7.4p2

Last edited by makss (2009-04-27 19:09:20)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#621 2009-04-27 19:02:15

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

That works! Brilliant. Thanks.

Offline

#622 2009-04-27 19:06:25

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Excellent! :)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#623 2009-04-30 16:13:17

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

hi makss, I have a bug that I’m pretty sure started when I upgraded to your patch.

If I have the following code
<txp:rss_uc_filedunder parent=“toc-categories” linktosection=’<txp:section />’ />

And I have (for example) a section called “culture” and a category called “film”, I get a link to
/culturefilm
Instead of
/culture/film

Is there perhaps a slash missing in your code somewhere?

Offline

#624 2009-05-01 20:48:59

floodfish
Member
From: Brooklyn, NY
Registered: 2007-01-11
Posts: 155
Website

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

OK, I seem to have found it. Missing .”/”. at line 183. Should be (I think):

$path = ($usemessy) ? hu.”?s=”.$linktosection.”&amp;c=”.strtolower($b[‘name’]) : hu.$linktosection.”/”.strtolower($b[‘name’]).$suffix;

Offline

#625 2009-05-04 09:19:55

hoho
Plugin Author
Registered: 2009-04-05
Posts: 11

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Hello,

I’m wondering if Rob still maintains this great plugin. The ‘ORPHAN’ keyword suggests he does not but I’m not familiar with the conventions at this forum.

The last official version bump was two years ago, a number of bugs have been identified and fixed since then and I find it very tedious and uncomfortable to search this long and unstructured thread for fixes of bugs I experience with the latest official version. What would be the best way of continuously providing an easy to find version featuring all bug fixes? For instance, could someone take over or is it be better to introduce a new plugin ???_unlimited_categories?

Anyway, makks, would you share the uncompressed version of 0.7.4p2, please? I would like to extend it with few patches from this thread and of my own, namely
  • selected categories are gone after text->preview/html->text cycle
  • it is not possible to deselect all categories (or I didn’t know how so I added a JavaScript control to do the job)
  • the plugin tries to modify the interface even on ‘html’ and ‘preview’ tabs which results in errors reported to the console (I like clean code)

Check my modifications (only the PHP part): rss_unlimited_categories-0.7.4p3.php.txt

Last edited by hoho (2009-05-04 09:21:02)

Offline

#626 2009-05-05 20:50:02

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

hoho wrote:

Check my modifications (only the PHP part): rss_unlimited_categories-0.7.4p3.php.txt

Thanks, hoho! Your patch available here (txt and zip version). Please, check it in version 0.7.4p4

rss_unlimited_categories patch 0.7.4p3

Changes:

0.7.4p3 (patch by hoho – 05/04/2009)

  • preserve categories selection over text->html/preview->text cycle (by Ramen Angel )
  • add ‘Deselect all’ link to the article interface
  • do not try to change the interface when on ‘html’ or ‘preview’
  • fix missing slash in rss_unlimited_categories_filedunder (line 188, by floodfish )

Last edited by makss (2009-05-06 01:13:42)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#627 2009-05-05 23:45:49

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

rss_unlimited_categories patch 0.7.4p4

Changes:

0.7.4p4 (patch from forum thread with small bugfix)

  • add activeclass attribute to rss_unlimited_categories_list tag.
  • fix bug in 0.7.4p3

Last edited by makss (2009-05-06 01:14:48)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#628 2009-05-08 08:16:03

hoho
Plugin Author
Registered: 2009-04-05
Posts: 11

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Thanks makss!

Talking about “uncompressed plugin” I meant something else. The correct keyword was “to decode”. Sorry for hassling you.

Offline

#629 2009-05-08 19:49:31

makss
Plugin Author
From: Ukraine
Registered: 2008-10-21
Posts: 355

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

To create, edit and publish plugins, I use ied_plugin_composer IMHO, it’s a best solution.
For support TAB in edit area install upm_insert_tab v0.3p1

Last edited by makss (2009-05-08 20:41:57)


aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)

Offline

#630 2009-05-08 23:07:28

MattH
Member
From: Ann Arbor, MI
Registered: 2004-10-17
Posts: 30

Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories

Is there a way to use rss_uc to retrieve articles with multiple categories using “AND” instead of “OR”? That is, can I request articles of categories 1 and 2?

Offline

Board footer

Powered by FluxBB