Post by goodkel on Jan 9, 2014 13:03:24 GMT -8
Forum URL: weightlosssurgery.proboards.com
I prevented six members from accessing their private messages. Then I removed it. But, they are still saying that they can not access their messages. I removed the code a couple of days ago and have asked them to refresh their screens and they say that they still can't access them.
What my code looks like now is in bold for those who want to cut to the chase.
This is what I did:
In the thread template, I pasted over $[post.select_options] on line 24 with this:
{if $[post.created_by.username] != "shanemeadows"}
$[post.select_options]
{elseif $[current_user.username] == "admin"}
$[post.select_options]
{/if}
This is what lines 24-32 look like now:
$[post.select_options]
</div>
</div>
<h3 class="title aria-hidden">Post by $[post.created_by.name] on $[post.created_on]</h3>
<div class="message">$[post.message]</div>
</article>
</td>
</tr>
Then I did this in User Profile:
Pasted over $[send_message_button]
with this:
{if $[user.username] != "shanemeadows"}
$[send_message_button]
{/if}
These are lines 24-35 now:
$[options]
$[send_message_button]
$[edit_profile_button]
$[follow_button]
$[invite_button]
<div class="float-right clear pad-top">
Username: <span class="note pad-right">$[user.username]</span>
{if $[user.is_online]}
Member is Online
{else}
Last Online: <span class="note">$[user.last_online]</span>
{/if}
Finally I put this in the Global Header:
<style>
li.item-1875 {display: none;}
</style>
I have confirmed that nothing is in my global header.
Thank you for your help!
Kelly
I prevented six members from accessing their private messages. Then I removed it. But, they are still saying that they can not access their messages. I removed the code a couple of days ago and have asked them to refresh their screens and they say that they still can't access them.
What my code looks like now is in bold for those who want to cut to the chase.
This is what I did:
In the thread template, I pasted over $[post.select_options] on line 24 with this:
{if $[post.created_by.username] != "shanemeadows"}
$[post.select_options]
{elseif $[current_user.username] == "admin"}
$[post.select_options]
{/if}
This is what lines 24-32 look like now:
$[post.select_options]
</div>
</div>
<h3 class="title aria-hidden">Post by $[post.created_by.name] on $[post.created_on]</h3>
<div class="message">$[post.message]</div>
</article>
</td>
</tr>
Then I did this in User Profile:
Pasted over $[send_message_button]
with this:
{if $[user.username] != "shanemeadows"}
$[send_message_button]
{/if}
These are lines 24-35 now:
$[options]
$[send_message_button]
$[edit_profile_button]
$[follow_button]
$[invite_button]
<div class="float-right clear pad-top">
Username: <span class="note pad-right">$[user.username]</span>
{if $[user.is_online]}
Member is Online
{else}
Last Online: <span class="note">$[user.last_online]</span>
{/if}
Finally I put this in the Global Header:
<style>
li.item-1875 {display: none;}
</style>
I have confirmed that nothing is in my global header.
Thank you for your help!
Kelly