After update to alpha 2 on the main forum page the last post column has "by guest" signs, even if the messages were created by signed users. On the container pages everything is fine.

Comments

RusRabbit’s picture

Well actually, container pages have "by guest", too. Forum pages are fine.

SpYkEs’s picture

I am having the same issue. But its coming up as Anon (just because thats my guest username). I have commented out the advanced_forum_preprocess_forum_list function in advanced_forum.module and the old function with drupal shows the last author. Trying to work through and see if i can fix it.

This is also only happening when last post is a comment. new topics are fine.

SpYkEs’s picture

ok found the fix.

line 742 of advanced_forum:

c.uid topic_author_id,

should be:

c.uid reply_author_id,

My head is starting to hurt now. lol. Understand alot more about how drupal methods work :D

lainwired’s picture

i have the same problem.

spykes: does your fix break it for new posts that are uncommented or is it smart enough to use the author id when there are no comments?

dami’s picture

I think the original issue only happens on latest post with comments, and the fix is basically fixing a typo only for that part. Therefore, it doesn't break anything on new posts that are uncommented, if I remember correctly from my tests last week.

pobster’s picture

Title: Last post by guest » Last post by guest/ anonymous

Thanks, fixed it for me too.

Pobster

michelle’s picture

Status: Active » Reviewed & tested by the community

Changing status so I can find it easier.

Michelle

gaobin’s picture

Thanks buddy! This also works for 5.x-1.0-alpha10.

Change line 881of advanced_forum.module to c.uid reply_author_id .

GB

gaobin’s picture

deleted.

Soggydoughnuts’s picture

Awesome this fixes one of my issues!

-Donuts

brenda003’s picture

Had this problem for the 5.x version, as well. The above fix solved it.

jwilson3’s picture

wow, wish i had found this post before tracking down how to fix the error on my own in reply to another open support request.

michelle’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

This code is going away. http://drupal.org/node/268273

Michelle