Hide visitor messages editor in your own profile

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mazinger
    Senior Member
    • Jul 2005
    • 2399
    • 3.7.x

    [vB 3.7] Hide visitor messages editor in your own profile

    Members usually missuse the visitor messages feature, if someone left them a message on their profile they by wrong reply to it in the same profile and not in the other member's. And then wouldn't count as a conversation and the other member won't be notificated that you replied to him. That's why I thought about a solution to hide the editor from your own profile so you don't post on your profile and be able to post on others with a very simple template edit.

    In memberinfo_block_visitormessaging

    Change the first line:

    HTML Code:
    <if condition="$show['quickcomment'] AND $show['post_visitor_message']">
    to

    HTML Code:
     <if condition="$show['quickcomment'] AND $show['post_visitor_message'] AND $bbuserinfo[userid] != $userinfo[userid]">
    $post[signature]
widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...