Closed (duplicate)
Project:
Advanced Forum
Version:
5.x-1.0-alpha10
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2008 at 10:51 UTC
Updated:
4 Aug 2008 at 13:05 UTC
Hi! Just installed adv forum. Everything seams to work great except at the forum list, where I get this as latest comment at the forumlist:
Jajamen ...
3 tim 30 min ago
by Anonymous
in Manuell ...
the problem is "Anonymous", it is a registered user that posted the comment and the username is shown inside the forum at the topiclist. So only at the forumlist author is shown as anonymous even though it is not anonomous. Please anyone know what is the problem?
Comments
Comment #1
psicomante commentedIt happened also to me. I think it was a cache problem, because i changes user name. Could is this the problem?
Comment #2
kjpil commentedcheers man, but is this tables in the database I need to clear?
I ran this code but it didnt sort out the issue :/
echo "This page runs a script that clears the main cache.
";
$sql = "DELETE from cache WHERE 1";
$result = mysql_query($sql);
echo "It's clear now.
";
Comment #3
swirtI am seeing the same problem. It appeared after updating from Drupal 6.2 to 6.3 and updating advanced_forum to the most recent release.
Comment #4
kjpil commented<?
echo "This page runs a script that clears the main cache.
";
db_query("DELETE FROM {cache} WHERE 1");
db_query("DELETE FROM {cache_filter} WHERE 1");
db_query("DELETE FROM {cache_menu} WHERE 1");
db_query("DELETE FROM {cache_page} WHERE 1");
echo "It's clear now.
";
?>
I ran this code as well, but still it does not work :(
Comment #5
memenode commentedI'm having the same problem using alpha10 on Drupal 5.8, just upgraded from 4.7.
On another site where I am using alpha8 it doesn't happen though.
I'm wondering if changes associated with this have anything to do with it: http://drupal.org/node/268273
Cheers
Comment #6
jwilson3I'm seeing the same problem after installing adv_forum alpha10 on Drupal 5.7
Haven't tried clearing cache yet, but will and get back on here with an update...
I'm gonna have a look at a couple of patches that supposedly fixed or improved performance on this whole business with last post (ie, reply)
http://drupal.org/node/268273#comment-892960
maybe that will get me headed in the right direction.
Comment #7
jwilson3change "topic_author_id" to "reply_author_id" in the query around line 877 in sites/all/modules/advanced_forum/advanced_forum.module
original code inside function _advanced_forum_get_last_topic():
my change:
Disclaimer: I had also applied the patch mentioned ^^ and thus this one liner isn't tested with plain old alpha10
heres my entire version of _advanced_forum_get_last_topic() with forementioned patch applied and comments cleaned out:
and apply the index on comments.timestamp
ALTER TABLE drp_comments ADD INDEX ( `timestamp` )Comment #8
michelleComment #9
memenode commentedThanks jrguitar21, that seems to work.