FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » New members with old posts linked in profile
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: New members with old posts linked in profile [message #21282 is a reply to message #21279] Wed, 24 November 2004 16:55 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
The cause is simple to explain.

The user database is shared but the message database is not, the users table happens to cache the id of the last message posted by the user.

Suppose a member posts a message inside forum A and you view their profile in forum B. If forum B has a message with the same id it'll point to that message even though it was not posted by the user.

The fix is to modify the code fetching the last post of the user on the profile page (usrinfo.php.t) to fetch this data from the database and not use the cache.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Is the new flat "category" listing an option?
Next Topic: Custom Titles
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 05:50:09 GMT 2024

Total time taken to generate the page: 0.04544 seconds