Additional Info
Type
Package ID
Pipke:AvatarsDisplayIntegratio
First Created
January 28, 2020, 05:10:17 PM
Last Updated
November 27, 2022, 04:34:27 PM

Avatars Display Integration v1.5.4 Hooks only

Poster or user avatar display integration on index, page and post
Compatible With 2.1.3
Latest version v1.5.4
Downloads 948
Reviews 1
Rating 5/5
Subscribers 8
License BSD 2-Clause "Simplified" License (View License)
Author(s)
Screenshots
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
  • Recent post info center
  • 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/square/curved 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:
data-adi-id="{userid}"

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>

License
 * This SMF modification is subject to the BSD 2-Clause License
 
Admin settings
- Admin->Forum->Attachments and Avatars->Avatar Settings

Languages
- English
- Russian by wylekk (not complete anymore)
- Spanish_Latin by Rock Lee (not complete anymore)
- Dutch by @rjen (not complete anymore)

Changelog
Version 1.5.4 - Nov 26, 2022
- Fixed who's online page buffer bug, due Who.template update
- Added style for avatar: Curved (square shape with rounded corners)

Version 1.5.2 - Mar 1, 2022
- Fixed responsive css for boardindex

Version 1.5.1 - Feb 28, 2022
- Fixed css for @mentions avatar in posts
- Added dutch language

Version 1.5 - Feb 27, 2022
- Fixed error 500 blank page due missing global var
- Fixed Undefined index: current_action
- Added option: Display avatar poster recent posts on info center

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
Manual installation info
You have to register or login to be able to leave a review
gevv • March 11, 2022, 03:53:52 PM • 5/5
Hi, Wonderful. Users like. Thanks
Pages1
Advertisement: