Customizing SMF > Theme Site Themes
2.0 Sunset
poolhall:
Really good skin, looks professional! Thanks a lot, chadon!
I have a question about it, though. I can't find the way of displaying the options "Show new replies to your posts" and "Show unread posts since last visit", which usually can be found in the forum header. How can I restore or maybe access them from another forum page?
Regards,
poolhall
chadon:
Thanks for the compliment Poolhall.
The theme is based on the classic Yabb SE one and this function is not available but it can installed easily.
Open index.template.php
Find:
--- Code: ---echo '
', $txt['hello_member'], ' <b>', $context['user']['name'], '</b>', $context['allow_pm'] ? ', ' . $txt['msg_alert_you_have'] . ' <a href="' . $scripturl . '?action=pm">' . $context['user']['messages'] . ' ' . ($context['user']['messages'] != 1 ? $txt['msg_alert_messages'] : $txt['message_lowercase']) . '</a>' . $txt['newmessages4'] . ' ' . $context['user']['unread_messages'] . ' ' . ($context['user']['unread_messages'] == 1 ? $txt['newmessages0'] : $txt['newmessages1']) : '', '<br />
--- End code ---
After add:
--- Code: ---<a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a> <br />
<a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a>
--- End code ---
EDIT:
The theme has been updated in the download page. There is no need to modify the file if you have the latest version.
poolhall:
thank you very much, chadon! I will try it tonight and let you know.
Regards,
poolhall
chadon:
I updated the theme with this mod in the download section so it might be easier for you to uninstall the theme and reinstall it with the new files.
Thanks for letting me about this bug ;)
poolhall:
Thanks a lot! It was not really a bug, more of a feature :D
Regards,
poolhall
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version