Last comments plugin

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Krzyzak
Regular
Posts: 41
Joined: Mon Oct 16, 2006 1:13 pm

Last comments plugin

Post by Krzyzak »

Hi. I've got comments mirrored with phpBB3. I would like to display last comments on my site (by s9y_plugin_comments) - everything is ok, except, that I can't display comment text in my sidebar plugin- just because comment_body row is empty. How can I edit it?
Sorry for my language errors- It`s not my native language.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Last comments plugin

Post by garvinhicking »

Hi!

Hm, that div should only be empty if there is no body inside the comment.How does your serendipity_comments DB table look, is the "body" column there containing text?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Krzyzak
Regular
Posts: 41
Joined: Mon Oct 16, 2006 1:13 pm

Post by Krzyzak »

well, row comment in serendipity_comments is empty(actually, it's NULL), url is link to post on forum. It's created by event_forum...
Sorry for my language errors- It`s not my native language.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Ah, I forgot that...sine the comments are stored in the forum, and the plugin tries to access the ones in the s9y table, you cannot display the list of recent comments with that plugin and would need to code another plugin that fetches this from the phpBB table...

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Krzyzak
Regular
Posts: 41
Joined: Mon Oct 16, 2006 1:13 pm

Post by Krzyzak »

Hi!
I've just discovered, that's impossible to get recent comments with event_forum - timestamp in _comments table is null, so date is in fact actual, not from comment, and not all comments(posts) are added to _comments table- Is there any public plugin/hack/whatever to fix it? If not, when it will be fixed(because it's a bug, isn't it? )
Sorry for my language errors- It`s not my native language.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Sadly I don't remember how exactly the cloning works/worked. There is currently no active developer on the forum plugin. So I can sadly only say that it will be fixed, once someone works on it. That's OpenSource. ;))

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply