inherit
174885
0
Oct 13, 2016 12:40:49 GMT -8
goodkel
259
December 2011
goodkel
|
Post by goodkel on Jun 23, 2015 19:07:10 GMT -8
I'm confused and the person who posted this (Shrike) hasn't been online since 2014, so I am asking here.
Go to Themes > Layout Templates > User Profile.
Find this code around lines 2-5: <div class="title-bar"> <h1>View Profile - $[user.name] ($[user.username])</h1> </div>
And add this above it: {if !$[current_user.is_member]}<div class="title-bar"> <h2>Oops, there was an error!</h2> </div> <div class="content pad-all cap-bottom auto-overflow"> You do not have permission to access this area. </div> {else}
Finally, add the closing {/if} at the bottom where shown (line 49 here): 46: <div class="pad-all-double ui-helper-clearfix clear"> 47: $[content] 48: </div> 49: </div>{/if} 50: </div>
Do I only add line 49 or all 46-50?
And at the bottom of where?
Directly under here: You do not have permission to access this area. </div> {else}
Or here: <h1>View Profile - $[user.name] ($[user.username])</h1>
Or at the very bottom of the page?
Thank you for your help! Kelly </div>
|
|
inherit
174885
0
Oct 13, 2016 12:40:49 GMT -8
goodkel
259
December 2011
goodkel
|
Post by goodkel on Jun 26, 2015 17:37:52 GMT -8
Nevermind. I remembered where to do it without messing with code. Thanks for looking, anyway.
For anyone else having trouble go to:
Admin-----> Settings---> Forum Settings and scroll down to Info Centers. Viola'
|
|