Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#196 2006-07-21 18:33:37
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Romuald – are you holding down Apple (Mac) or (I think?) Ctrl (on PC) to select multiple items?
Cheers,
Jon VC#9
Offline
#197 2006-07-22 18:13:19
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
It’s a select with one choice, not a multiple select (dropdown list).
So, I can’t use ctrl/shit to select.
I’ve made an update to r1432.
Sorry for my french english.
Trucs et bidules GT4 Club driver France Undergardment Lingerie
Offline
#198 2006-07-22 19:24:03
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
What you should be getting is a textfield above the default category pulldown menu. When you say that you’ve update to r1432, does that mean you’re using the latest version from SVN? Its working fine for me on 4.03.
Cheers,
Jon VC#9
Offline
#199 2006-07-22 21:04:25
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@ Romuald: are you using IE? The plugin doesn’t work in IE, because the box with categories just isn’t there.
Another good reason to start using a better browser.
…Prrrrrrrr…
Offline
#200 2006-07-23 18:51:57
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Using FF…
Before update tor 1432 I had the select =“multiple” and after, I’ve default TXP interface, double select for categories.
Maybe something like http://forum.textpattern.com/viewtopic.php?id=17584
Last edited by Romuald (2006-07-23 18:52:30)
Sorry for my french english.
Trucs et bidules GT4 Club driver France Undergardment Lingerie
Offline
#201 2006-07-23 20:52:52
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Does anyone know how to allow article form override when using this tag:
<txp:rss_unlimited_categories_article_list /> ?
Cheers,
Jon VC#9
Offline
#202 2006-07-24 02:33:37
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I don’t have the time to double-check it right now but here’s my solution:
First, on line 235, add $prefs to the global variables.
Next, on line 293, replace
$article = fetch_form($form);
with:
$article = ($prefs['allow_form_override'] && $a['override_form'])
? fetch_form($a['override_form'])
: fetch_form($form);
“The neighboring marshmallow factory fared no better, having been unable to absorb the incredible pressure wave.”
Offline
#203 2006-07-24 07:58:14
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
You beauty! Thats done it! Thanks very much! :D
Cheers,
Jon VC#9
Offline
#204 2006-07-24 08:54:33
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Is anybody out there who could modify the plugins code the way it adds the attribute time=“past” to <txp:rss_unlimited_categories_article_list /> ?
so articles with a future date get not listed.
Offline
#205 2006-07-24 15:17:52
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
I wouldn’t mind doing this but what other values should the attribute accept? I remember another plugin having a similar attribute but I can’t remember the three values it accepted. “past”, “future”, and something else…
“The neighboring marshmallow factory fared no better, having been unable to absorb the incredible pressure wave.”
Offline
#206 2006-07-24 15:22:22
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
@dreamstormer
past = lists only past time articles
future = lists only future time articles
all = lists all (default)
I think it was this way.
Offline
#207 2006-07-24 16:01:34
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
After line 245 ('order' => 'DESC') add:
'time' => 'all'
(Don’t forget adding a comma to line 245.)
You’ll then find $categories= [...] on line 257. After this line, insert:
<notextile>
<pre>
if($time "past") {
$timesql = " AND Posted < NOW() ";
}elseif($time “future”) {
$timesql = “ AND Posted > NOW “;
}else {
$timesql = “”;
}
</pre>
</notextile>
“past” for past entries, “future” for future entries, and anything else or undeclared for all entries.
Hope that works for everyone. :-)
(I can’t seem to get the “==”‘s to display…)
Last edited by dreamstormer (2006-07-24 16:07:52)
“The neighboring marshmallow factory fared no better, having been unable to absorb the incredible pressure wave.”
Offline
#208 2006-07-24 16:09:11
- alexandra
- Member

- From: Cologne, Germany
- Registered: 2004-04-02
- Posts: 1,370
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
ohh lovely dreamstormer :) i will test it tomorrow as it is late here in germany and i still have to buy some food.. i let you know if it works properly on TXP Mag.
btw. there have been some improvemants and changes tothis great plugin .. would anybody mind picking the plugin up and caring for it? if Rob don´t mind?
Offline
#209 2006-07-25 22:01:47
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
April19 – Thanks for the updates. I came here specifically looking for how to sort the article_list tag in desc order. Your fix worked perfectly.
I also changed two little things. Changed the admin select box to display 10 categories instead of 5. And I tweaked so that I could use messy urls in unlimited_list, because my site is set up to use messy urls. For some reason the original plugin only gives you this option on the filedunder and cloud tags.
PROBLEM:
After I made the changes so that my posts would show correctly, now my admin interface is messed up. I no longer get the drop down list allowing me to pick multiple categories. What happened??
UPDATE: Uninstalled the plugin and reinstalled from scratch. Then copied only what I needed from April19’s fix and the few other changes I wanted to make. This worked…now plugin is working like I want on all aspects. :)
Last edited by rayne (2006-07-25 22:28:13)
Rayne
mama love
Offline
#210 2006-07-26 16:06:19
- HobbyTech
- New Member
- From: USA
- Registered: 2006-07-25
- Posts: 8
Re: [plugin] [ORPHAN] rss_unlimited_categories - Unltd. Article Categories
Haven’t done much with this yet. I’m new to textpattern and just getting started. But the install was easy, and updating the MySQL database was easy…
…in spite of the fact that I used a “txp_” prefix during the install, in case I do multiple installs. Hah! That’s the same prefix <b>already used</b> by Textpattern for many of the tables it creates! So I had to keep straight which tablename in the MySQL-updating part of the instructions “mapped” to which tablename I had in “real life”…some of my tables are things like <b>txp_txp_category</b> instead of <b>txp_category</b>.
But the instructions were straightforward, and I’ve been learning MySQL anyway so I quickly figured out which parts of Rob’s statements were columns and not tablenames, because I recognized the preceding aliases. If anyone does an install using a prefix, especially if you’ve never used MySQL and don’t understand what Rob’s statements are doing, just use some prefix that’s not as obvious as “txp_” if you use prefixes in your install.
Otherwise (if it’s too late), ask someone for help and we can tell you which parts of those statements to modify. I’m sure most people here fall into the category of people who know MySQL (more than me), but just in case this is the first time you’ve set up a MySQL database…just ask, we’re here.
<b>Great work, Rob!</b> It looks like modifying my pages will be equally easy, as soon as I get the hang of Textpattern itself. The select list shows up just fine!
Windows XP Pro SP2
Apache 2.0.58
PHP 5.1.2
MySQL 5.0.21
Offline