Follow SMF on Twitter.
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe." A. Einstein
An update for smf 2could that be possible?
Ok thanks, I tried to get it coded in Smf 2 but it didn't pack out really good.Btw is this mod based on the sticky first with some little modification?
Link to ModFirst Post on Every PageVersion: 1.0 Date 2008-10-22Compatibility: SMF 1.1.6Based on Modification -> http://custom.simplemachines.org/mods/index.php?mod=235
Are you already working on the smf 2.0 beta 4 version of this one?
Quote from: Darkness_ on November 14, 2008, 04:48:19 PMAre you already working on the smf 2.0 beta 4 version of this one?Yep,but some problems with the new database functions,i'm working on it...
ORDER BY id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
ORDER BY ' .$sticky_sort. ' id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
ORDER BY id_msg ' . ($ascending ? '' : 'DESC') . ($context['messages_per_page'] == -1 ? '' : '
ORDER BY ' .$sticky_sort. ' id_msg ' . ($ascending ? '' : 'DESC') . ($context['messages_per_page'] == -1 ? '' : '
I've enable it but first post is stickied only on first page.Not on others.I had problem with installation of this mod on source file Display.php on 5th step.Quote ORDER BY id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),replace with:Quote ORDER BY ' .$sticky_sort. ' id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
http://www.baklja.com/forum/index.php?topic=548.8008: Undefined variable: sticky_sortFile: /home/baklja/public_html/forum/Sources/Display.phpLine: 904
==>904: ORDER BY ' .$sticky_sort. ' id_msg ' . ($ascending ? '' : 'DESC') . ($context['messages_per_page'] == -1 ? '' : '
ORDER BY m.id_msg' . (empty($options['view_newest_first']) ? '' : ' DESC'),
Can you show me how it looks on your forum?On my forum there is only on first page stickied first post, not on others.