Thread Rating:
  • 10 Vote(s) - 4.2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[For 1.6] First / Last Post Avatar
#31
That works great, many thanks. I think I can figure out the rest now. +1
Reply
#32
This user has been denied support. This user has been denied support.
the avatars are now showing in that particular forum of mine but new problem discovered
When an user post a thread in a subforum, on index page
it shows last poster avatar but of the forum, not the
subforum, while the name and the link of the last
thread posted is right. Example:
Forum Fid = 1 contains another Forum with fid = 2
(subforum). An user with avatar A posts into fid=1, on index it shows correctly last post fid=1 + avatar A.
Then user with avatar B posts into fid=2. On index it
shows last post fid=2 + avatar A , which isn't correct (instead, it has to show avatar B).
Hope you understood and fix asap.
Reply
#33
I have a problem with private message.

My code in private_messagebit is:
<tr>
<td align="center" class="trow1" width="1%"><img src="{$theme['imgdir']}/{$msgfolder}" alt="{$msgalt}" title="{$msgalt}" /></td>
<td align="center" class="trow2" width="1%">{$icon}</td>
<td><span><a href='<flp_avatar[{$tofromuid}]['profile']>' title='<flp_avatar[{$tofromuid}]['username']>'><img src='<flp_avatar[{$tofromuid}]['avatar']>' <flp_avatar[{$tofromuid}]['dimensions']> alt='' /></a></span></td>
<td class="trow1" width="35%">{$msgprefix}<a href="private.php?action=read&amp;pmid={$message['pmid']}">{$message['subject']}</a>{$msgsuffix}{$denyreceipt}</td>
<td align="center" class="trow2">{$tofromusername}</td>
<td class="trow1" align="right" style="white-space: nowrap"><span class="smalltext">{$senddate} {$sendtime}</span></td>
<td class="trow2" align="center"><input type="checkbox" class="checkbox" name="check[{$message['pmid']}]" value="1" /></td>
</tr>

But the result is this:
[Image: infoba.png]

Where I am going wrong? thanks
Reply
#34
This user has been denied support. This user has been denied support.
avatar on announcement is not showing is there any new version for this
Reply
#35
Need a hand. I have this working and its showing the avatar on thread list, but the avatar is not on the left side of topic and topic starter but on top in line with topic.
Reply
#36
When I update a profile in AdminCP I get this error

<error>
	<dateline>1346955272</dateline>
	<script>inc/plugins/flpavatar.php</script>
	<line>279</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array</message>
</error>

<error>
	<dateline>1346956079</dateline>
	<script>inc/plugins/flpavatar.php</script>
	<line>279</line>
	<type>2</type>
	<friendly_type>Warning</friendly_type>
	<message>array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array</message>
</error>

Heres line >279<

$user = array_merge(($user) ? $user : $mybb->user, ($extra_user_updates) ? $extra_user_updates : $updated_avatar);
Reply
#37
Anyone?
Reply
#38
v1.0.2:
- Fixed issue with permissions saving incorrectly
- Fixed issue with avatars not displaying in the PM areas
- Fixed issue when saving users in the ACP
- Fixed issue for MyBB 1.8 where format_avatar doesn't return all data needed

If you have already installed this plugin simply re-download it and upload the files within the Upload folder to your forum. There is no need to deactivate or uninstall the plugin.
Reply
#39
P.S. It might be a good idea to go into the settings and make sure that your permissions are set correctly.
Reply
#40
Thanks, works great. I tried the download from the mods site, but still had the same problems (saving users and permissions). The one from Github fixed them, though.
Reply


Forum Jump:


Users browsing this thread: 12 Guest(s)