MyBB Community Forums
Change icon of warn of new post/threads - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Change icon of warn of new post/threads (/thread-193619.html)

Pages: 1 2


Change icon of warn of new post/threads - Zoiter7 - 2016-05-28

Hello, how I can change this icon. This icons show when have a new post or someobdy created a new post and you not readed this.





PD: Sorry for my bad English.


RE: Change icon of warn of new post/threads - .m. - 2016-05-29

which theme you are using ? you can change the image file (jump.png) directly in images folder of your theme.


RE: Change icon of warn of new post/threads - Zoiter7 - 2016-05-29

(2016-05-29, 02:58 AM).m. Wrote: which theme you are using ? you can change the image file (jump.png) directly in images folder of your theme.

In jump.png is other image, I view the image is of font icon 
<i style="font-size: 14px;" class="fa fa-caret-right fa-fw"

I don't know in which template I can edit this.
I use Square theme.


RE: Change icon of warn of new post/threads - .m. - 2016-05-29

Square theme templates >> Forum Display Templates >> forumdisplay_thread_gotounread


RE: Change icon of warn of new post/threads - Zoiter7 - 2016-05-29

(2016-05-29, 10:28 AM).m. Wrote: Square theme templates >> Forum Display Templates >> forumdisplay_thread_gotounread

Thanks! 
Can you help with the html?  I can't put a image on the start. Is a wrong use in html

<a href="{$thread['newpostlink']}" class="effect"><i style="font-size: 14px;"  alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" <img src="/new.gif"></i></a>


RE: Change icon of warn of new post/threads - .m. - 2016-05-29

<a href="{$thread['newpostlink']}" class="effect"><img src="{$mybb->settings['bburl']}/new.gif" alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" /></a> 



RE: Change icon of warn of new post/threads - Zoiter7 - 2016-05-29

(2016-05-29, 11:18 AM).m. Wrote:
<a href="{$thread['newpostlink']}" class="effect"><img src="{$mybb->settings['bburl']}/new.gif" alt="{$lang->goto_first_unread}" title="{$lang->goto_first_unread}" /></a> 

And for put the image after the title? 
I have been trying and I couldn't change it


RE: Change icon of warn of new post/threads - .m. - 2016-05-29

^ suggested code includes image. you can replace the code in forumdisplay_thread_gotounread template with suggested code


RE: Change icon of warn of new post/threads - Zoiter7 - 2016-05-29

(2016-05-29, 11:59 AM).m. Wrote: ^ suggested code includes image. you can replace the code in forumdisplay_thread_gotounread template with suggested code

I replaced it, but the image show in the before the title, and the questions is, if is possible put the image after the title of thread?


RE: Change icon of warn of new post/threads - .m. - 2016-05-29

^ okay. I missed your requirement.
template => forumdisplay_thread (in Forum Display Templates)
find {$gotounread} and move it after {$thread['subject']}</a> & save the template