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:
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>' : '';
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.
[b][size=150]WP_w3all phpBB Wordpress 1.8.0 or >[/size][/b] (note: 1.8.0 patched at date of this post)
Add CSS Font Awesome and mark unread topics/posts with icon, if option
[i]Activate notify Read/Unread Topics/Posts into Last Topics widgets [/i]
is active into WP_w3all config page.
If you need to change the icon to display or his color, just open:
[b][i]views/phpbb_last_topics.php[/i][/b]
or
[b][i]views/phpbb_last_topics_output_shortcode.php[/i][/b]
and search for this line:
[code]$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>' : '';[/code]
change value
[i]fa-comment[/i]
to fit the icon you may want to display between available:
[b][size=120][url=https://fontawesome.com/icons]Font Awesome list[/url][/size][/b]
change the
[code]<span style="color:#BC2A4D">[/code]
to render into another color the showed Font Awesome icon.