Closed (fixed)
Project:
Advanced Forum
Version:
5.x-1.0-alpha8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Mar 2008 at 20:00 UTC
Updated:
26 Jun 2008 at 19:20 UTC
Last Post's Title is first post's
Time posted and poster name is correct as the last post's.
I see it on your Demo site as well.
Comments
Comment #1
michelleChanging the title so I can remember what this is. I'll fix it. Thanks for letting me know. I clear the cache so much while devving I missed it.
Michelle
Comment #2
maulwuff commenteda dirty workaround would be in advanced_forum.module:
~line 634
change
function advanced_forum_get_all_last_topics($reset = FALSE) {
to
function advanced_forum_get_all_last_topics($reset = TRUE) {
(this is for v5 alpha3)
similar one:
http://drupal.org/node/222212 (v6)
Comment #3
michelleJust an FYI for anyone using that code, what that code is doing is turning off the caching totally.
Michelle
Comment #4
michelleI made a start on this. I changed things around so all the information is from the same topic. Still need to sort out the caching issue.
Michelle
Comment #5
derhasi commentedAdding hook_comment and hook_nodeapi to the module will fix the caching-issues!
Comment #6
michelleRunning the query on every comment delete and node update would cause more load than simply disabling the cache I think. :) There's got to be another way. I need to read up more on caching. First I need to get the thing working properly. For some reason it's displaying anonymous for every post.
Michelle
Comment #7
michelleMaking the title more generic because it's not just caching at issue here.
Michelle
Comment #8
michelleOk, I got this working. I still want to add the little jump to the last comment but the main issue here is fixed.
Michelle
Comment #9
phinest123 commentedFor me last post doesn't show anything at all. i took the latest release. should i take dev snapshot?
Comment #10
michelleThe dev and alpha 4 are currently the same. This is working fine for me on 3 sites. Sounds like maybe you didn't copy the .tpl files?
Michelle
Comment #11
michelleMarking this fixed. The 5.x version seems to be working just fine. I know the 6.x version still has broken caching. :(
Michelle
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
general need commentedHi Michelle, sorry to re-activate this, but I have the same problem as described by the OP:
Last Post's Title is first post's
Time posted and poster name is correct as the last post's.
using Advanced Forum 5.x-1.0-alpha8.
Should I upgrade to alpha9?
Also, is this correct? Perhaps this is the problem?
Comment #14
michelleYou need to remove the first return $vars; or the rest of the code in there won't work. As to the problem, I'm working on it.
Michelle
Comment #15
cschaafsma commentedIf anyone is still having problems with Anonymous showing up in the topic list where there is a reply to a new topic this worked for me.
Change line 885 in advanced_forum.module
to
Hope this helps folks. Michelle let me know if this is not correct. Seems to be working though.