Avatar not updating after moving topic - Avatar of poster on Index and Viewforum
Avatar not updating after moving topic
Hi great MOD! the only problem so far is a problem with avatars not updating when moving topics to another forum (the previously last poster in that forum avatar is showing instead). Any idea what may cause this problem? any easy fix maybe?
-
- Registered User
- Posts: 99
- Joined: Sun Feb 12, 2012 11:53 am
- Location: Sweden
Re: Avatar not updating after moving topic
Ok I think I found the problem...
The edits say in functions_admin.php:
Find
Add after
But my array looks like this:
So I added 'first_poster_avatar', 'last_poster_avatar' before 'time'
The avatars is now updating as they should. Would there be any problem using this code?
The edits say in functions_admin.php:
Find
Code: Select all
// These are fields that will be synchronised
$fieldnames = array(
Add after
Code: Select all
//-- mod : apiv ----------------------------------------------------------------
//-- add
$fieldnames += array('first_poster_avatar', 'last_poster_avatar');
//-- fin mod : apiv ------------------------------------------------------------
But my array looks like this:
Code: Select all
// These are fields that will be synchronised
$fieldnames = array('time', 'replies', 'replies_real', 'poster', 'first_post_id', 'first_poster_name', 'first_poster_colour', 'last_post_id', 'last_post_subject', 'last_post_time', 'last_poster_id', 'last_poster_name', 'last_poster_colour');
So I added 'first_poster_avatar', 'last_poster_avatar' before 'time'
The avatars is now updating as they should. Would there be any problem using this code?
-
- Registered User
- Posts: 99
- Joined: Sun Feb 12, 2012 11:53 am
- Location: Sweden