Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#661 2009-10-06 16:19:59
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
It is still not working with all other plugins deactivated. There is nothing else in my page
that would conflict – it’s just your basic HTML ‘hello world’ type page.
Here’s me diagnostics:
Textpattern version: 4.2.0 (r3275)
Last Update: 2009-10-03 01:06:21/2009-10-03 01:04:24
PHP version: 5.2.5
GD Image Library: bundled (2.0.34 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Los_Angeles
Server Local Time: 2009-10-06 09:23:36
DST enabled?: 0
auto_dst: 0
Time Zone: America/Los_Angeles (-28800)
MySQL: 5.0.22
Locale: en_GB.UTF-8
Server: Apache/2.2.3 (CentOS)
Apache version: Apache/2.2.3 (CentOS)
PHP Server API: apache2handler
RFC 2616 headers:
Server OS: Linux 2.6.9-023stab048.6-enterprise
Active plugins: rss_unlimited_categories-0.7.4p12c
theme_name: remora 4.2.0
Last edited by whaleen (2009-10-06 16:26:29)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#662 2009-10-06 16:31:13
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Possible it’s my bug :(
Please wait.
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
#663 2009-10-06 18:08:29
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
andcategory
– temporary not work…
Small questions about logic category
and andcategory
, how make it? 1, 2 or 3 ?
1. attributes category="cat1,cat2,cat3" andcategory="cat4,cat5,cat6"
…
return articles (cat1 OR cat2 OR cat3)AND(cat4 AND cat5 AND cat6)
2. attributes category="cat1,cat2,cat3" andcategory="cat4,cat5,cat6"
…
return articles (cat1 OR cat2 OR cat3 OR (cat4 AND cat5 AND cat6))
3.
3.1 attributes category="cat1,cat2,cat3"
…
return articles (cat1 OR cat2 OR cat3)
3.2 attributes category="cat1,cat2,cat3" andcategory="1"
… (here andcategory
– logical type or possible rename to new logical attribyte AND
)
return articles (cat1 AND cat2 AND cat3)
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
#664 2009-10-06 18:14:04
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I am not thinking of actual uses for this on any of my sites (not yet, anyway), but I think solution 1 is the best. (Wouldn’t solution 2 be doable anyway using that?)
Either way, I would like to see this work with parents as well as individual category names.
Solution 3 seems like a totally different thing, and maybe should exist also.
Offline
#665 2009-10-06 19:03:59
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
- There must be at least one category present in
category
so thatandcategory
can be included (work)? - If nothing is present in
category
,andcategory
will still be shown and visa versa? - Seems like it lessens the possibilities you have with 1 and 2 unless you were to add a type modifier for each attribute (
category
, andandcategory
)
The following might be overkill and might confuse things in an IF sense.
andcategory type
andcategory-type="1"
Must be paired with category
in an AND sense.
andcategory-type="0"
Pairs with category
in an OR sense (Default).
category type
category-type="1"
Must have at least one category in order to be paired with andcategory
.
category-type="0"
Pairs with andcategory
in an OR sense.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#666 2009-10-06 19:30:10
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I don’t even know if my what I wrote in my last post even works. :) Hope I didn’t confuse things. Having andcategory
will be a good start.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#667 2009-10-08 19:36:08
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I was looking at chh_article_custom
which has category="Dog,Chicken&Egg,Cat"
.
That would give you no items with Chicken
if Egg
was not also present.
Can’t get that plugin to work in 4.2 and It seems that it wouldn’t be compatible with rss_unlimited_categories
.
Q: Does the rss_unlimited_categories
plugin have the kind of support to become a part of the core similar to how glz_custom_fields
has?
If it could use the default category table(s) then a lot of the other category plugins could be used in tandem. Not sure if this is possible but wondering if others value rss_unlimited_categories
enough to merge it with TXP more completely. I amy be way off base because of my limited knowledge of how categories are stored in either fashion and chiefly what logical differences there are.
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#668 2009-10-08 19:41:55
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I would love to see rss_unlimited_categories get integrated into the core like glz_custom_fields has. The limited categories (and the stresses of working around it) is the biggest problem I have with Textpattern.
Offline
#669 2009-10-08 19:51:05
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
The limited categories (and the stresses of working around it) is the biggest problem I have with Textpattern.
Myself included.
I’m wondering if there is some way to to get an andcategory
like function working with some combination of other non-category related plugins. Like maybe smd_query
for starters… but if I knew how to make the appropriate request to the DB I probably would have a patch of sorts whipped up for rss_unlimited_categories
anyway…
I would love to see rss_unlimited_categories get integrated into the core like glz_custom_fields has.
- Does anyone else feel this way?
- Is there a negative aspect to doing this?
Last edited by whaleen (2009-10-08 19:53:22)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#670 2009-10-08 21:18:08
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Is there a big difference between Unlimited Categories and Tags? Couldn’t smd_tags or tru_tags be the solution?
Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker
Offline
#671 2009-10-08 21:47:07
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
MattD wrote:
Is there a big difference between Unlimited Categories and Tags? Couldn’t smd_tags or tru_tags be the solution?
Maybe not for my purposes. I’ll give smd_tags
a try.
Edit: I can’t seem to wrap my head around this one. I’m still not able to pull articles that share categories but don’t pull if the other is not shared. Again it’s the andcategory
concept from rss_unlimited_articles
that I’m trying to emulate. tru_tags
doesn’t appear capable of this either.
Last edited by whaleen (2009-10-08 22:59:38)
txtstrap (Textpattern + Twitter Bootstrap + etc…)
Offline
#672 2009-10-09 10:43:37
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
rss_unlimited_categories patch 0.7.4p13
Changes:
0.7.4p13
- extend category logic (AND, OR) in rss_unlimited_categories_article_list tag
- bugfix
andcategory
.
New attribute categorylogic
. Valid choices include “AND”, “OR”. Default: “AND”
Sample:
category="cat1,cat2" andcategory="cat4,cat5" categorylogic="AND"
return articles
(cat1 OR cat2) AND (cat4 AND cat5)
Sample:
category="cat1,cat2" andcategory="cat4,cat5" categorylogic="OR"
return articles
(cat1 OR cat2) OR (cat4 AND cat5)
Last edited by makss (2009-10-09 11:02:52)
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