Quote:
Today at 03:40 PM AlexanderT said this in Post #5
filburt1, I love your hacks! Going to install now!
PS:
Maybe you can clarify this better?
|
Ok. This is the code..
PHP Code:
$posts=$DB_site->query("
SELECT
post.*,post.username AS postusername,post.ipaddress AS ip,user.*,userfield.*,".iif($forum[allowicons],'icon.title as icontitle,icon.iconpath,','')."
attachment.attachmentid,attachment.filename,attachment.visible AS attachmentvisible,attachment.counter
".iif($avatarenabled,",avatar.avatarpath,NOT ISNULL(customavatar.avatardata) AS hascustomavatar,customavatar.dateline AS avatardateline","")."
See where it says 'avatardateline'. Well add that specific code in there, make sure its before the ')'.