vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - Last Poster Avatar (https://vborg.vbsupport.ru/showthread.php?t=275406)

oldz442 09-05-2012 12:37 PM

1 Attachment(s)
Works for me.

gt86comau 09-05-2012 01:09 PM

Quote:

Originally Posted by oldz442 (Post 2362864)
Works for me.


so all i need to do is go in admincp ->search in templets and find the additional.css and copy and past and save ?

thanks

oldz442 09-05-2012 01:21 PM

Yes, that is what I did. Or you can edit lastposter_avatar.css directly.

gt86comau 09-05-2012 01:28 PM

would it be because i am using custom theme
??

gt86comau 09-05-2012 02:21 PM

Quote:

Originally Posted by oldz442 (Post 2362874)
Yes, that is what I did. Or you can edit lastposter_avatar.css directly.

hi oldz

i have figured it out it was 2 do with my custome theme.

last question is it possible to make that avatar just little bigger. ?

thanks heaps;

oldz442 09-05-2012 03:30 PM

See screenshots at top of this page. You can make those changes (width/height) in... Admin CP -> Options -> Last Poster Avatar Options

TheSupportForum 09-24-2012 04:51 PM

@phpdesk

please add feature to enable this for RSS feeds

example once RSS feed is run, the users AVATAR is not shown

RedTurtle 09-25-2012 01:26 PM

This mod seems awesome but it's unfortunate that it doesn't work with sub forums. :(

The mod author hasn't posted in this thread for about 7 months now. I realize he must have a lot of other things to attend to but I'm wondering, is this plugin still supported?

lilow 09-30-2012 08:44 PM

thanks installed works great

jaffaman 10-15-2012 03:23 PM

Installed and working on version 4.2.0 PL2 :)

paulket 10-15-2012 05:42 PM

Quote:

Originally Posted by RedTurtle (Post 2368436)
This mod seems awesome but it's unfortunate that it doesn't work with sub forums. :(

The mod author hasn't posted in this thread for about 7 months now. I realize he must have a lot of other things to attend to but I'm wondering, is this plugin still supported?

+1. Hoping there will be an update that fixes the issue with sub forums... but no post by the creator of this mod for such a long time doesn't look good.

Disco_Stu 10-18-2012 01:55 AM

Seems like a very minor change to make this work for subforms but it's really up to the developer to release a change

paulket 10-18-2012 08:50 PM

I have absolutely no idea why but now I can see the last post avatar with my sub forums.

Impromptu 10-28-2012 03:57 AM

Quote:

Originally Posted by kylek (Post 2291901)
Disabling it for now until the sub forum problem can be fixed, getting too many members complaining that someone elses avatar is showing as theirs. Otherwise this is a great feature. Any chance for a temporary fix on this in the meantime?

Quote:

Originally Posted by New Joe (Post 2292953)
Same with me, hope it can be fixed

I have this issues too, ie 'someone elses avatar is showing as theirs'

Bit of a shame since a great mod

flash84 10-29-2012 07:52 AM

Excellent mod. It's working perfectly on VB4.2

Harpo 11-02-2012 12:01 AM

Quote:

Originally Posted by flash84 (Post 2376766)
Excellent mod. It's working perfectly on VB4.2

As long as you don't have sub forums. sure.

Uninstalled.

L0pht 11-23-2012 06:13 AM

can not see the bottom of this add-on changes in the forums?

Adam H 01-17-2013 12:29 PM

Anyone else had any problems with this mod conflicting with :

https://vborg.vbsupport.ru/showthread.php?t=271540

On the forum display something is conflicting which makes avatars on some users not show up. This is on the forum display only and not forum home .

When i disable "Hook Threadbit Query Fields & Joins" in this mods plugins everything goes back to normal .

aryung 01-29-2013 08:47 PM

was trying to add a random avatar for no avatar users not sure how i can achieve this adding a nicely hook into this one

for this i edited "functions_user.php"
original
PHP Code:

    // final case: didn't get an avatar, so use the fake one
    
if (empty($userinfo['avatarurl']) AND $returnfakeavatar AND $vbulletin->options['avatarenabled'])
    { 
        
$userinfo['avatarurl'] = vB_Template_Runtime::fetchStyleVar('imgdir_misc') . '/unknown.gif';
    } 

Here is my eidt
PHP Code:

if (empty($userinfo['avatarurl']) AND $returnfakeavatar AND $vbulletin->options['avatarenabled'])
    {
  
$newavatar rand(1,90);
  
$userinfo['avatarurl'] = 'images/avatars/' .$newavatar".jpg"

(This assigns a random image from 1.jpg to 90.jpg)

can you help me please how can a do this under a hook instead of editing source file

Nirjonadda 01-30-2013 04:23 PM

Database error in vBulletin 4.1.10:

Invalid SQL:

SELECT
IF(votenum >= 1, votenum, 0) AS votenum,
IF(votenum >= 1 AND votenum > 0, votetotal / votenum, 0) AS voteavg,
post.pagetext AS preview,thread.firstpostid, post.pagetext AS thumb,
thread.threadid, thread.title AS threadtitle, thread.forumid, thread.pollid, thread.open, thread.postusername, thread.postuserid, thread.iconid AS threadiconid,
thread.dateline, thread.notes, thread.visible, thread.sticky, thread.votetotal, thread.attach, thread.lastpost, thread.lastposter, thread.lastposterid, thread.lastpostid, thread.replycount, IF(thread.views<=thread.replycount, thread.replycount+1, thread.views) AS views, thread.strike, thread.color,
thread.prefixid, thread.taglist, thread.hiddencount, thread.deletedcount,
user.usergroupid, user.homepage, user.options AS useroptions, IF(userlist.friend = 'yes', 1, 0) AS isfriend,
user.lastactivity, user.lastvisit, IF(user.options & 512, 1, 0) AS invisible

, deletionlog.userid AS del_userid, deletionlog.username AS del_username, deletionlog.reason AS del_reason
, threadread.readtime AS threadread
, threadredirect.expires
, user.market_username_color AS last_color,
user.market_username_glow AS last_glow, thread.LAM_BanFromThread, post.pagetext AS previewhide, bop_ugroup.opentag as bop5_opentags, bop_ugroup.closetag AS bop5_closetags , thread.bop_global ,IF(customavatar.userid, 1, 0) AS useavatar, uposter.userid AS useravatarid, uposter.avatarrevision
, user.avatarrevision AS avatarrevision, thread.lastposterid AS userid, avatar.avatarpath, NOT ISNULL(customavatar.userid) AS hascustomavatar, customavatar.dateline AS avatardateline,customavatar.width AS avwidth,customavatar.height AS avheight
FROM vbthread AS thread
LEFT JOIN vbuser AS user ON (user.userid = thread.lastposterid)
LEFT JOIN vbuserlist AS userlist ON (userlist.relationid = user.userid AND userlist.type = 'buddy' AND userlist.userid = 3)
LEFT JOIN vbdeletionlog AS deletionlog ON(thread.threadid = deletionlog.primaryid AND deletionlog.type = 'thread')

LEFT JOIN vbthreadread AS threadread ON (threadread.threadid = thread.threadid AND threadread.userid = 3)
LEFT JOIN vbpost AS post ON(post.postid = thread.firstpostid)

LEFT JOIN vbthreadredirect AS threadredirect ON(thread.open = 10 AND thread.threadid = threadredirect.threadid)
LEFT JOIN vbuser AS bop_user ON (thread.postuserid = bop_user.userid) LEFT JOIN vbusergroup AS bop_ugroup ON (bop_user.usergroupid = bop_ugroup.usergroupid)
LEFT JOIN vbuser AS uposter ON (uposter.userid = thread.postuserid)
LEFT JOIN vbcustomavatar AS customavatar ON (customavatar.userid = uposter.userid)
LEFT JOIN vbavatar AS avatar ON(avatar.avatarid = user.avatarid) LEFT JOIN vbcustomavatar AS customavatar ON(customavatar.userid = user.userid)
WHERE thread.threadid IN (0,123421,164035,163423,163416,162902,163027,16340 9,162431,162433,162909,164006, 163993,163594,163415,159946,161244,162424,162945,1 62419,160385)
ORDER BY thread.sticky DESC, lastpost DESC;

MySQL Error : Not unique table/alias: 'customavatar'
Error Number : 1066
Request Date : Wednesday, January 30th 2013 @ 11:19:04 PM
Error Date : Wednesday, January 30th 2013 @ 11:19:05 PM

opaa 02-04-2013 09:43 AM

works perfect on 4.1.9 - i have avatars in main forum and sub forums =)

AFMichael 02-05-2013 01:13 AM

When I installed this, the avatar on the forumhome does not push the lastpostby info to the right. Instead, it is places in front of the thread title with the last post auther and date under it. How do I fix this? See the link below.

http://i.imgur.com/t9TeWvw.png

Amaury 02-05-2013 01:52 AM

Quote:

Originally Posted by Decode (Post 2401968)
When I installed this, the avatar on the forumhome does not push the lastpostby info to the right. Instead, it is places in front of the thread title with the last post auther and date under it. How do I fix this? See the link below.

http://i.imgur.com/t9TeWvw.png

I would try this modification.

It does the same thing and has easy to follow instructions.

AFMichael 02-05-2013 02:31 AM

Thanks! That one works wonderfully.

datoneer 02-28-2013 08:27 PM

Cool mod. It works fine!

datoneer 03-11-2013 12:51 PM

I have this issues too, ie 'someone elses avatar is showing as theirs'

Amaury 03-12-2013 03:10 AM

Quote:

Originally Posted by datoneer (Post 2409308)
I have this issues too, ie 'someone elses avatar is showing as theirs'

Use this one, then. It's better and doesn't have that problem.

datoneer 03-12-2013 05:02 PM

Thanks man!

smsma.net 03-16-2013 03:38 PM

hello
thanks very much for this mod

but i have a problem
look here at my site
http://www.f-law.net/law/forum.php
it`s an Arabic site and there is problem in the position of the avatar
would you help me to make it look better

fxdigi-cash 03-16-2013 05:30 PM

Quote:

Originally Posted by smsma.net (Post 2410380)
hello
thanks very much for this mod

but i have a problem
look here at my site
http://www.f-law.net/law/forum.php
it`s an Arabic site and there is problem in the position of the avatar
would you help me to make it look better

it is simple. you need to find .lastpostby .avatar, .lastposttitle .avatar in your css and change this property: float:left To float:right

save it after all and you are done.

Cheers

smsma.net 03-31-2013 03:57 PM

Quote:

Originally Posted by fxdigi-cash (Post 2410410)
it is simple. you need to find .lastpostby .avatar, .lastposttitle .avatar in your css and change this property: float:left To float:right

save it after all and you are done.

Cheers

thanks very much

i did it and it`s look better now

God bless you,

rexall 06-29-2013 11:16 AM

I am chiming in pretty late on this, but very nice MOD. It installed in 10 seconds in vb 4.2 and works fine. Dresses up the forums nicely. Thanks!

phpdesk 06-29-2013 08:57 PM

Looks like you guys are doing pretty well, hope you're still enjoying this mod.

DemOnstar 07-11-2013 07:57 AM

Seems to work for me 4.2.1.

But found this one better https://vborg.vbsupport.ru/showthread.php?t=268618

TravisWPaquin 08-09-2013 09:02 AM

It's a nice mod. However, do I need a profile picture for this to work or does it depend on the avatar? I have an avatar, but it is not being displayed.

megabink 08-09-2013 10:07 AM

Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?

yestyle 08-24-2013 04:01 AM

Show wrong avatar when forum has sub-forum in it.

yestyle 08-26-2013 01:56 AM

Quote:

Originally Posted by megabink (Post 2437987)
Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?

I got the same problem
This mod didn't show correct avatar when forum has sub-forums in it. Please update mod.

Avros 08-26-2013 02:44 AM

Works 100% at my end. Easy to install and set up. Thanks!

fleshy66 09-04-2013 11:53 AM

Quote:

Originally Posted by megabink (Post 2437987)
Cool mod and thanks...one problem tho,if you have several subforums then the avatar doesn't update to the last poster/member.
Any fix for that?

This still being worked on? Have the same problem :cool:


All times are GMT. The time now is 04:20 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01721 seconds
  • Memory Usage 1,834KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete