![]() |
Quote:
|
Seems like a very minor change to make this work for subforms but it's really up to the developer to release a change
|
I have absolutely no idea why but now I can see the last post avatar with my sub forums.
|
Quote:
Quote:
Bit of a shame since a great mod |
Excellent mod. It's working perfectly on VB4.2
|
Quote:
Uninstalled. |
can not see the bottom of this add-on changes in the forums?
|
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 . |
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:
PHP Code:
can you help me please how can a do this under a hook instead of editing source file |
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 |
All times are GMT. The time now is 09:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|