Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#205 2006-07-24 15:17:52

bit
Archived Plugin Author
From: Philippines
Registered: 2005-02-14
Posts: 65
Website

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

bit
Archived Plugin Author
From: Philippines
Registered: 2005-02-14
Posts: 65
Website

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

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

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

#211 2006-07-29 16:41:31

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,163
Website GitHub Mastodon Twitter

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

Started using the plugin on http://www.morphogenesis.eu/main/ and I get <code><txp:rss_unlimited_categories_cloud limit=“100” cloudwraptag=”“ wraptag=”“ />-> Warning: Division by zero on line 222</code>. Any ideas?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#212 2006-07-31 06:11:22

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,163
Website GitHub Mastodon Twitter

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

Anyone?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#213 2006-07-31 13:16:28

alexandra
Member
From: Cologne, Germany
Registered: 2004-04-02
Posts: 1,370

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

On TXP Mag we use a slightly modified version of the plugin and call the cloud with <txp:rss_unlimited_categories_cloud usemessy="1" /> though TXP mag runs in clean url mode. maybe you have a try with that?

Offline

#214 2006-08-05 13:15:54

Austin
Member
Registered: 2006-06-13
Posts: 19

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

I love this plugin, but am completely ignorant of SQL. I want to migrate my old category designations, but got an error when I tried to enter the SQL commands. Can soemone point me to an easy tutorial, or tell me what to do? Thanks.

Offline

#215 2006-08-07 14:47:00

rayne
Member
From: AL USA
Registered: 2004-03-24
Posts: 58
Website

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

I’m having a minor issue. I can use the plugin just fine in Firefox, but if I try to write or edit an article in IE7beta3, I don’t get my multiple category list box. I think it’s an IE issue in general because it happened to me on a machine with IE6 on it. It’s sort of aggravating, because if I’m working in IE, I don’t want to have to switch to FF just to add a post to my blog.

Is anyone else getting this weird issue?

Last edited by rayne (2006-08-07 14:49:33)


Rayne
mama love

Offline

#216 2006-08-07 15:17:09

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

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

Look here

Bye

Z

Offline

Board footer

Powered by FluxBB