Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Last Poster Avatar Details »
Last Poster Avatar
Mod Version: 1.1.1, by phpdesk (Coder) phpdesk is offline
Developer Last Online: Apr 2020 I like it Show Printable Version Email this Page

vB Version: 4.1.8 Rating: (44 votes - 4.66 average) Installs: 344
Released: 13 Dec 2011 Last Update: 06 Jan 2012 Downloads: 2039
Not Supported Uses Plugins Template Edits Is in Beta Stage  

Info
This mod ads last posters' avatars next to their names on Forumdisplay pages. I've just finished a section of one of my bigger mods to come, and thought that some of you may just need this little enhancement on their forums. If so, feel free to download and test it.
Features
Not too many features for now, it's a pretty straight forward mod. I'm always open to your suggestions though.

- Display last poster avatars in threadbits on forumdisplay
- Display last poster avatars in forumbits on forumhome and forumdisplay
- Admin settings to enable display of last poster avatars in certain areas or disable globally
- Set an avatar size to best match the layout
- Choose an alternative avatar display on forumbits
- Zero database queries to keep things running smoothly





Installation
Import [phpdesk.com]-product-lpavatar.xml via AdminCP > Plugin System > Manage Products > [Add/Import Product]
Mod Support
- Do not forget to mark as installed to qualify for further assistance
- A small donation would always be welcome to support further development of this hack (Support Developer)
- I'll do my best to listen to your comments and suggestions as long as time permits
Ghangelog
1.0.0 | 2011-12-13
- First Release

1.0.1 | 2011-12-13
- Fixed file path issue affecting some forum setups

1.0.2 | 2011-12-14
- Added last poster avatars to forumbits on forumhome and forumdisplay

- Added admin options to control display of avatars


1.0.3 | 2011-12-15
- Added option to display a default avatar for users that have not uploaded a custom avatar of their own


1.0.4 | 2011-12-15
- Re-enabled last posters' avatars display on forumhome after fixing the reported issue


1.0.5 | 2011-12-16
- Added option to set the avatar size individually for the forumbits and threadbits display


1.1.0 | 2012-01-04
- Link the avatar to member profile page

- Offer additional way to position last poster avatars on forumbits

- Remove the unnecessary extra database queries

1.1.1 | 2012-01-04
- Fix display issue when avatars are set to be saved as files


1.X.X | PLANNED
- Add avatar to search results, new posts, today posts, etc

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	forumdisplay.png
Views:	6967
Size:	35.1 KB
ID:	135076   Click image for larger version

Name:	adminoptions.png
Views:	980
Size:	67.2 KB
ID:	135121   Click image for larger version

Name:	forumhome.png
Views:	7027
Size:	26.1 KB
ID:	135122  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases vBA CMPS Module: Display avatar top poster, newest member BlackThorn Modification Graveyard 5 17 Apr 2010 17:38

  #241  
Old 04 Sep 2013, 18:51
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
I doubt it, the mod has not been updated since 06 Jan 2012.
Reply With Quote
  #242  
Old 09 Feb 2014, 11:23
M.C.'s Avatar
M.C. M.C. is offline
 
Join Date: Jan 2002
causing problems and don't work fine! NEED new hack with similar functions! UNinstalled
__________________
WBR`s
M.C.
Reply With Quote
  #243  
Old 10 Apr 2014, 09:14
koruyucu54 koruyucu54 is offline
 
Join Date: Jul 2010
4.2.2 pl 1 işe yaramadı - kaldırıldı
Reply With Quote
  #244  
Old 12 Apr 2014, 19:58
jramos1973 jramos1973 is offline
 
Join Date: Jun 2013
Thumbs up Excelent

It is a Mod very good.. Congratulations..
Reply With Quote
  #245  
Old 12 Apr 2014, 20:00
jramos1973 jramos1973 is offline
 
Join Date: Jun 2013
This Mod work fine in VBulletin 4.2.2
Reply With Quote
  #246  
Old 22 Aug 2014, 22:53
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
I prefer this mod to the others because it doesn't use any database queries Depending on your forum size, this can seriously save 20-30 queries every homepage load.

You can fix the subforum issue by manually creating a hook in /includes/functions_forumlist.php

Search:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add above:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Make a new file in /includes/xml/ called hooks_lastpostby.xml with the following content:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And finally, go to your plugins and edit Fetch Last Poster Avatars on Forumbits

Change the hook from forumbit_display to lastpostby (lastpostby)

Save, and your forum home avatars are fixed!

Hope this helps
Reply With Quote
  #247  
Old 23 Aug 2014, 16:09
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Note: The above fix only resolves the bug where avatars show incorrectly down the entire forum listing when subforums exist. I'm currently working on fixing the other bug where Last Post area shows avatar of parent forum, not subforum, even if last poster is from subforum.

I've also made a few modifications to have this code play nice with Digital Point thread avatars, if anyone else was running into trouble with that. Just let me know and I can share my changes.

Again, I definitely recommend using this mod over the other if you care about query usage.
Reply With Quote
  #248  
Old 24 Aug 2014, 20:36
BGObsession's Avatar
BGObsession BGObsession is offline
 
Join Date: Apr 2009
Easy install, worked perfectly with my 4.2.1 forum. Thanks!
Reply With Quote
  #249  
Old 28 Aug 2014, 18:40
findingpeace's Avatar
findingpeace findingpeace is offline
 
Join Date: Nov 2011
Well, I finally figured out the subforum thing. Requires code edits, as there aren't any hooks nearby. Open up /includes/functions.php

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add in your avatar variables like below (be careful with commas!)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then you can simply call these variables in a forumhome plugin like so:

$lp_dateline = $lastpostinfo['avatardateline'];
$lp_userid = $lastpostinfo['userid'];
$hascustomavatar = $lastpostinfo['hascustomavatar'];

You can even do this without the forumhome plugin just by getting the variables from template. (Still need the query plugin, of course).

Best of luck!
Reply With Quote
  #250  
Old 28 Aug 2014, 21:06
madness85 madness85 is offline
 
Join Date: Jun 2012
Any way to disable animation?
Reply With Quote
  #251  
Old 08 Nov 2014, 05:50
SoHelpMe SoHelpMe is offline
 
Join Date: Apr 2014
Why not just correct the mod source code and repost...

Originally Posted by findingpeace View Post
Well, I finally figured out the subforum thing. Requires code edits, as there aren't any hooks nearby. Open up /includes/functions.php

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add in your avatar variables like below (be careful with commas!)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then you can simply call these variables in a forumhome plugin like so:

$lp_dateline = $lastpostinfo['avatardateline'];
$lp_userid = $lastpostinfo['userid'];
$hascustomavatar = $lastpostinfo['hascustomavatar'];

You can even do this without the forumhome plugin just by getting the variables from template. (Still need the query plugin, of course).

Best of luck!
I have been thinking about picking up this app and installing it but I have been a bit concerned to get it and load it based on it requiring source code edits to work correctly. Findingpeace have you considered making the required posts and updating the source code posted on this thread? From what I have seen elsewhere on other non supported mods you don't have to take over sustaining ownership but you could make an incremental improvement. I hope you consider making tha changes and reposting the files... Thanks
Reply With Quote
  #252  
Old 17 Jan 2015, 18:02
concepts's Avatar
concepts concepts is offline
 
Join Date: May 2005
Real name: Jamale
Works amazing for me on 4.2.2, great Mod!
Reply With Quote
  #253  
Old 18 Jan 2015, 13:41
Manoel Júnior's Avatar
Manoel Júnior Manoel Júnior is offline
 
Join Date: Feb 2009
Real name: Manoel Júnior
Error vB 4.2.3 Beta 3


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #254  
Old 30 Jan 2015, 04:09
Ang3ls Ang3ls is offline
 
Join Date: Oct 2006
how to I can show Avatar in mobile Style?
Thank you very much!
Reply With Quote
  #255  
Old 01 Feb 2015, 20:56
tanzeelniazi tanzeelniazi is offline
 
Join Date: Apr 2012
Hello all today install last post avatar but its not showing correctly
I want this type


Mine showing is this


See first avatar showing after Last post icon is showing and name is showing below so i want above pic like this
hope all understand
My skin is Ideal VB Black

Also How to Turn Off last post icon ???
if i use last post avatar and showing avatar and last post icon looking bad so i want to turf off last post icon
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:42.

Layout Options | Width: Wide Color: