Search found 42 matches

by jerwarren
Fri Apr 06, 2007 10:28 pm
Forum: General discussions
Topic: converting from categories to tag? a serendipity bug?
Replies: 1
Views: 1489

converting from categories to tag? a serendipity bug?

I've been trying to cleanly handle the switch from categories to tags by doing some fancy url rewriting using mod_rewrite, and I'm pulling out my hair. After giving up in frustration at not being able to match what seems like a simple match, I decided to give up and just manually put in a rewrite ru...
by jerwarren
Sat Sep 23, 2006 6:16 pm
Forum: Plugins
Topic: Sidebar Entries fix
Replies: 3
Views: 2565

Oh, sorry. Late night hacking :)

I stuck it at line 131, and got it from the entries include file.

In case you run into the same difficulty I did, the plugin files inexplicably are named 'showentries' rather than 'sidebarentries.'
by jerwarren
Sat Sep 23, 2006 8:34 am
Forum: Plugins
Topic: Sidebar Entries fix
Replies: 3
Views: 2565

Sidebar Entries fix

I've been working on some extreme template customization, and I'm using the Sidebar Entries plugin. I've been tearing my hair out trying to figure out why $entry.is_entry_owner isn't working as expected, and just figured out that the plugin isn't setting up that variable the same way that serendipit...
by jerwarren
Mon Sep 04, 2006 6:55 pm
Forum: Plugins
Topic: AVATAR problem
Replies: 12
Views: 12534

OHHHH. You want Authorpic.. Do you have THAT plugin installed? The gravatar/favatar plugin is only for COMMENTS. The file that's named like your username and in your templates folder is called by the Authorpic plugin, not that gravatar/favatar plugin. Try installing authorpic and see if that does wh...
by jerwarren
Sun Sep 03, 2006 6:59 pm
Forum: Plugins
Topic: AVATAR problem
Replies: 12
Views: 12534

Maybe your style template doesn't support user images?

take a look at cookingwithkooks.org, that site is using the avatar plugin (but is using gravatars rather than local images)
by jerwarren
Sat Sep 02, 2006 7:54 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

Could you check if the 'entryproperties' table holds all the ep_aggregator_articleurl etc. items for your feed items? My guess is that those are missing, too? Well, I can't vouch for whether they were there when the entries were saving as new, but they're all correct now.. I did a quick workaround ...
by jerwarren
Sat Sep 02, 2006 7:35 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

arg! I guess that didn't fix it after all. Every time I think I've got it, I learn I'm wrong. I've currently got 2 entries that it is detecting as new repeatedly, which both HAVE entries in the md5 table, they just show the wrong hash. So whatever is deleting the entries sometimes isn't always doing...
by jerwarren
Thu Aug 31, 2006 2:37 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

Well, it did work the first time a feed was added. It's just somehow being removed when a feed is updated... I've gone 'round and 'round through there trying to figure out how, but nothing is jumping out at me. I'll take a peek at the other table this evening, or in the next couple days. I have a co...
by jerwarren
Thu Aug 31, 2006 3:17 am
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

sorry 'bout the delay. # Always update the MD5 hash, to catch updates of an entry properly. Patch by jerwarren! $t = time(); $sql = "INSERT INTO {$serendipity['dbPrefix']}aggregator_md5 (entryid, md5, timestamp) VALUES ('$entryid', '$md5hash', '$t')"; serendipity_db_query($sql); It was cop...
by jerwarren
Tue Aug 29, 2006 4:08 am
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

i was just playing around with it, and it seems your 'UPDATE' call is malformed or something. If I replace it with an INSERT (which I copied directly from a few lines up) it works like expected. if I leave the entry in aggregator_md5, your UPDATE call removes it. In any case, this seems to solve my ...
by jerwarren
Tue Aug 29, 2006 3:08 am
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

that's the first thing I did in my own debugging process, and the value is valid at save time. It's got to be cleared out somewhere else along the way.

Perhaps when the aggregator runs and goes to do the check it is being deleted before the check?
by jerwarren
Sat Aug 26, 2006 5:58 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

hmm. my reply seems to have disappeared... anyway, yeh, I have that code you added. I couldn't find anywhere where it was deleting either, but it's doing it. And only when aggregating a post that has changed since the initial aggregation. Also, it does it for any of the serendipity feeds I've got it...
by jerwarren
Fri Aug 25, 2006 8:29 pm
Forum: Plugins
Topic: Favatar usage
Replies: 8
Views: 4559

You seem to know exactly what I'm trying to do, so any help/suggestions/advice is greatly appreciated! Thanks!! OK, I just whipped up something that will do what you want. It doesn't currently take actual gravatar images into account however, so if you use my system and a user does actually have a ...
by jerwarren
Fri Aug 25, 2006 6:48 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

After some more debugging, I've found that when it detects an updated post, it's actually deleting the MD5 hash from the serendipity_aggregator_md5 table. From that point onward, since there is no entry in the table, it is assumed to need updating. I posted a new post, ran the aggregator, checked th...
by jerwarren
Thu Aug 24, 2006 2:45 pm
Forum: Plugins
Topic: RSS Aggregator Problem
Replies: 36
Views: 17091

Maybe that missing MD5 entry comes from the old versions of the plugin, and it should work for new entries? Well, that was my first thought as well. But then when I thought about it more, it seems like if it was now working properly, it would be saving the 'new' updated post's MD5 to the table and ...