Page 1 of 1
Attachment
Posted: 25. April 2008 17:48
by urednik
Hello,
I install your board 3 Portal on my site.
It works great, but i see, that attachment is not shown in opposite way.
Currently it show first 3 attachment, instead last 3.
In demo board is OK.
Is there any settings for that ?
THNX
UREDNIk
Re: Attachment
Posted: 25. April 2008 18:10
by urednik
Found probelm in portal\block/attachments.php
Replace
Code: Select all
WHERE topic_id <> 0
ORDER BY filetime ' . ((!$config['display_order']) ? 'DESC' : 'ASC') . ', post_msg_id ASC';
With
Code: Select all
WHERE topic_id <> 0
ORDER BY filetime DESC, post_msg_id ASC';
But i belive, that there missing DB in my instalation.
IDEA ?
Re: Attachment
Posted: 25. April 2008 23:47
by Kevin
$config['display_order'] is a config value you set in the phpBB3 core system.
In which order are your attachments displayed in the viewtopic.php?
Re: Attachment
Posted: 26. April 2008 00:38
by Ice
ACP -> General -> Board Configuration -> Attachment settings -> Attachment display order
Re: Attachment
Posted: 26. December 2008 10:55
by urednik
v