Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:31:30 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on Aug 12, 2013 6:48:51 GMT -8
Go - Admin - Themes - Layout Templates - ThreadAnd directly under $[pagination]Add the code below - {if $[route.name] == "thread"}{if !$[current_user.is_member]}<br /> <center>Thank you for reading<br> Please do $[register_link] or $[login_link] now we look forward to hearing from you </center><br />{/if}{/if} Which will add the message above the top thread with a login linkYou can use to show to guests viewing - You can add your own messageScreenshot How it looks on my forum when viewing a thread as a guest If you want to change the font size and font colour use the code below{if $[route.name] == "thread"}{if !$[current_user.is_member]}<br /> <center><font size="2"><font color="#000000">Thank you for reading<br> Please do $[register_link] or $[login_link] now we look forward to hearing from you </font></font> </center><br />{/if}{/if} UPDATED SO WILL NOT DISPLAY ON THE RECENT POSTS PAGE WHEN VIEWING AS GUEST
|
|
Former Member
inherit
guest@proboards.com
195316
0
Nov 27, 2024 17:31:30 GMT -8
Former Member
0
January 1970
Former Member
|
Post by Former Member on May 5, 2014 7:35:01 GMT -8
A little update!The code below will allow you to show thread creators username on the message To show to guests viewing You can change the font colour of the username And change the font size And add your message to show to guests viewing
<font color="#8018d8"> Go - Admin - Themes - Layout Templates - Thread
And directly under $[pagination]Like Below$[pagination] {if $[route.name] == "thread"}{if !$[current_user.is_member]}<br /> <center><font size="2">A Message From The Author: <font color="#8018d8"><b>$[thread.created_by_user.name]</b></font><br>Thank you for reading!<br> Please do $[register_link] or $[login_link] to comment this thread I look forward to hearing from you.</font> </center><br />{/if}{/if} See Screen-shot How I Use It On My ForumUPDATED SO WILL NOT DISPLAY ON THE RECENT POSTS PAGE WHEN VIEWING AS GUEST Steve Thank you Brian
|
|