Mark unread messages into Last Topics using Font Awesome icons
Posted: Wed Jan 31, 2018 11:09 pm
WP_w3all phpBB Wordpress 1.8.0 or > (note: 1.8.0 patched at date of this post)
Add CSS Font Awesome and mark unread topics/posts with icon, if option
Activate notify Read/Unread Topics/Posts into Last Topics widgets
is active into WP_w3all config page.
If you need to change the icon to display or his color, just open:
views/phpbb_last_topics.php
or
views/phpbb_last_topics_output_shortcode.php
and search for this line:
change value
fa-comment
to fit the icon you may want to display between available:
Font Awesome list
change the
to render into another color the showed Font Awesome icon.
Add CSS Font Awesome and mark unread topics/posts with icon, if option
Activate notify Read/Unread Topics/Posts into Last Topics widgets
is active into WP_w3all config page.
If you need to change the icon to display or his color, just open:
views/phpbb_last_topics.php
or
views/phpbb_last_topics_output_shortcode.php
and search for this line:
Code: Select all
$w3all_post_state_ru = (isset($phpbb_unread_topics) && is_array($phpbb_unread_topics) && array_key_exists($value->topic_id, $phpbb_unread_topics)) ? $w3all_post_state_ru = ' <span style="color:#BC2A4D"><i class="fa fa-comment" aria-hidden="true"></i></span>' : '';
fa-comment
to fit the icon you may want to display between available:
Font Awesome list
change the
Code: Select all
<span style="color:#BC2A4D">