Customizing SMF > Modifications and Packages
Sticky First Post (extends sticky topic)
kuklovod:
Link to Mod
Fully reversible (uninstalls cleanly).
This modification extends basic sticky topics by stickying first post (it will be displayed on each page of multi-page topic) and adding a separator between sticky and non-sticky topics and posts.
No option to turn it on or off - automatically turned on for sticky topics.
Performance drawbacks: extra query (one quick first post select) only for topics marked as sticky.
Known bugs: post counter in a topic is offset by one on each page after first, since first post is inserted. Does not affect anything.
Version: 1.3.1
- Support for "newest first" sorting order - sticky post will be first anyway.
Version: 1.3.0
- 1.1 (and further) compliant
Version: 1.2.3
- Made 1.0.8+ and 1.1 RC3 compliant
Version: 1.2.2
- Joined all installs into one file
- Babylon theme is now modified in RC2 as well (previous default)
Version: 1.2.1
- Don't print "Sticky topics" on a page with no stickies
- Verified that mod works with 1.0.7 (use 1.0.5 version) and latest 1.1RC2 update.
Version: 1.2
- Modifies classis theme, too
- Added text for both sticky and non-sticky topic headers to language dir
- Support for 1.1RC2 release of SMF
Version: 1.1
- Released for 1.0.5
- Install/uninstall cleanly
Version: 1.0
- Released for 1.1 RC1
Originally requested here: http://www.simplemachines.org/community/index.php?topic=23726.0
Sample here, browse stickied topics (Russian, but you can get the idea - default theme): http://pooltalk.spb.ru/board,1.0/
mforum:
is it possible to have a version that works on SMF 1.0.5 classic theme??
:) Nice mod anyway ...!!!!!
Azumi_chan:
Great mod, although it doesn't work on the theme I am currently using (Daze Skin (Blue)). Would mean the world if it was possible to fix this! :)
Link to theme: http://www.simplemachines.org/community/index.php?topic=24950.0
kuklovod:
I've tested on default themes for 1.0.5 and 1.1RC1, I can adapt to other themes if you post their MessageIndex.template.php and Display.template.php zipped up somewhere.
Azumi, I looked at the theme you mention and I see that the 1.0.5 version should install correctly on it. Do you get any problems installing? Which forum version? Which files show errors installing?
Azumi_chan:
Version Information:
Forum version: SMF 1.0.5
Current SMF version: SMF 1.0.5
(more detailed)
I had no problem installing, I've tried other themes and it works great for them, just not the "Daze" series >.<
Navigation
[0] Message Index
[#] Next page
Go to full version