Advertisement:
Avatars Display Integration
Navigation
Search
SMF Mod Site
- Mod Name:
- Avatars Display Integration
- Created By:
- Pipke
- Type:
- Theme Enhancements
- First Created:
- January 28, 2020, 05:10:17 PM
- Last Modified:
- February 05, 2021, 07:08:33 PM
- Latest Version:
- 1.2
- Compatible With:
- 2.1 RC2, 2.1 RC3
- Total Downloads:
- 316
Download this mod
Description:
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:
Code: [Select]
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:
Code: [Select]
<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
- Spanish_Latin by Rock Lee
Changelog
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