MyBB Community Forums
First Unread Post Icon - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: First Unread Post Icon (/thread-146057.html)



First Unread Post Icon - slik - 2013-09-29

I will like my First Unread Post Icon to appear After the Thread Title and not before.
Thanks for your help.


RE: First Unread Post Icon - .m. - 2013-09-29

admin panel >> templates >> your forum's active theme templates >> Forum Display Templates >> forumdisplay_thread
find code like below
<span>{$prefix} {$gotounread}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>

change like below and save the template
<span>{$prefix}{$thread['threadprefix']}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$gotounread}{$thread['multipage']}</span>



RE: First Unread Post Icon - slik - 2013-09-29

Thanks.
Smile I love MyBB

Oops! It took me a while to notice:
The Topics are not linking anymore. They appear as plain text,
The were previously ok.
(My site is uses modified templates)

Aha! I found where the error is:
If I copy from here and paste on my 'forumdisplay_thread', Spaces appear as: &nbsp;
For example: <a href= appears as: <a &nbsp;href=
I have to manually remove them.