October 17, 2021, 03:25:45 PM


Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Additional Info
Package ID
First Created
January 28, 2020, 05:10:17 PM
Last Updated
August 19, 2021, 04:21:38 PM

Avatars Display Integration v1.4.2 Hooks only

Poster or user avatar display integration on index, page and post
Compatible With 2.1 RC4
Latest version v1.4.2
Downloads 500
Reviews 0
Rating 0/5
Subscribers 4
License BSD 2-Clause "Simplified" License (View License)
Avatars Display Integration

For SMF 2.1.x (Hook install)
Tested only with the SMF default theme...but should work with other themes aswell!

What does this mod do...
- Poster or user avatar display integration on: (Note: This mod will display the default/initial avatar when user has posted or mentioned as guest.)
  • Board index
  • Unread, Update and Message index
  • Personal Message index
  • Alert list
  • Top section dropmenu
  • Topic title header
  • Recent post index
  • Memberlist
  • Who's Online page
  • Search result
  • When using bbc @mention member name in posts
  • Other costum places*

- Layout the avatar:
  • With shadow
  • As a circle shape
  • Add connection status overlay
  • Initial avatar of displayname

*Other costum places:
How to add user avatar anywhere in your template file from mods maybe, simple type:
How to example in template file:
Code (find) Select
<div class="most_downloaded"><a href="'.$last['href'].'"><b>'.$last['name'].'</b></a></div>
Code ("replace by") Select
<div class="most_downloaded">data-adi-id="'.$last['user']['id'].'"<a href="'.$last['href'].'"><b>'.$last['name'].'</b></a></div>

How to style your costum output element:
<span class="{whatever}">data-adi-id="{userid}"</span>
* This SMF modification is subject to the BSD 2-Clause License

Admin settings
- Admin->Forum->Attachments and Avatars->Avatar Settings

- English
- Russian by wylekk
- Spanish_Latin by Rock Lee␏

Version 1.4.2 - Aug 4, 2021
- Fixed Trying to access array offset on value of type null

Version 1.4.1 - Aug 4, 2021
- Fixed Undefined array key "profile_of"

Version 1.4 - Aug 3, 2021
- Fixed Undefined index global $txt var "profile_of", it doesnt exist anymore in 2.1 RC4

Version 1.3 - Jul 19, 2021
- Fixed error message when uninstalling

Version 1.2 - Mar 7, 2020
- Fixed anchor bbc @mention member name 'before the @name link'
- Fixed Undefined index: alert icon

Version 1.1 - Mar 4, 2020
- Added option avatar Who's Online page
- Optimized several css rules
- Fixed css for the 'who likes posts' avatar position
- Fixed comparison operator
- Fixed initial avatar for guests when using bbc @member in posts and at the recent post index

Version 1.0 - Jan 28, 2020
- Initial Release
21639 KB v1.4.2 2.1 RC4, 2.1 RC2, 2.1 RC3
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization