Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2005-04-27 16:53:41

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Yes, they are. I have some older articles but they are drafts. I’ll wait for the next release then.
Thanks =)

Offline

#26 2005-04-28 00:24:57

steventer
Member
Registered: 2004-12-03
Posts: 56

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Great plugin – but would be even better if you could exclude the current article from the list of related articles. Is this possible?

Offline

#27 2005-04-28 12:27:04

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Thats a good idea. Right now it doesn’t exclude but I can take a look at that.

Offline

#28 2005-04-28 13:45:43

steventer
Member
Registered: 2004-12-03
Posts: 56

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Thank you very much. This is such a useful plugin (as if you didn’t know that!) but it really looks a bit silly when there are only 1 or 2 related articles listed, and the article you’re busy reading is one of them!

Offline

#29 2005-04-28 14:39:13

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Yeah, thats always bother me a little but not ever enough to make me fix it until now. It’ll be in the next release.

Offline

#30 2005-05-02 04:34:36

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Hi Wilshire!
I’ve installed the new version and the problems I’ve reported last time are still there.

Offline

#31 2005-05-02 12:29:58

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

rbl – Have you tried to echo the query (or the where clause) for the queries that you’re running? If you can do that it would help me know where to look.

steventer – The latest version of the plugin is out and it will exclude the current article from the related listing.

Offline

#32 2005-05-02 15:52:28

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

You mean like running a query in phpMyAdmin?

Offline

#33 2005-05-02 16:24:10

wilshire
Plugin Author
From: Akron, Ohio
Registered: 2004-08-27
Posts: 656
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

I’m not sure how familiar you are with PHP but what I mean is to output the query to the screen so you can see whats being run. You could then take that and run it in phpMyAdmin to see if you get any results. The query itself might help to show what the problem is too.

Look for a line near the bottom of the plugin that start with <code>$rs3 = safe_rows(“</code>. Right before that line, add a line that reads <code>echo $scsql;</code>. When you reload your page, the where clause for the sql will be displayed on top. See if anything stands out as blantly incorrect. Email me or post the results if you want me to take a look.

Offline

#34 2005-05-02 16:57:31

rbl
Member
From: Portugal
Registered: 2004-02-25
Posts: 40

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

If there are no results, the clause does not appear. Here’s the output of one of the pages where there are results:
id <> 26 AND (category1 = ‘Iluminação’ or category2 = ‘Iluminação’) AND ( (section = ‘produtos’) ) AND status=4 AND posted < now() ORDER BY section, posted desc LIMIT 999999999

btw, when there are no results, div id=“rssCatArchive” is not closed, breaking all my layout.

Last edited by rbl (2005-05-02 16:59:50)

Offline

#35 2005-05-02 17:00:19

steventer
Member
Registered: 2004-12-03
Posts: 56

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

> wilshire wrote:

steventer – The latest version of the plugin is out and it will exclude the current article from the related listing.

You’re an absolute star! Thanks so much — this plugin is a “must have” and now it just got better!

Offline

#36 2005-05-04 05:32:24

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [plugin] [ORPHAN] rss_suparchive_bycat - related articles by category

Wilshire, there is a bug in the last version, with showexcerpt. The excerpt is not parsed by Textile.

Offline

Board footer

Powered by FluxBB