vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Profile Enhancements - Hide visitor messages editor in your own profile (https://vborg.vbsupport.ru/showthread.php?t=185796)

Mazinger 07-19-2008 10:00 PM

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]">

ForumsMods 07-19-2008 11:53 PM

There is an option in vBulletin that do this:
Usergroups-> Usergroup Manager-> Edit Usergroup-> Visitor Message Permissions-> Can Post Visitor Messages to Own Profile-> No

Mazinger 07-20-2008 12:55 AM

Haven't seen that.:o

My mod is useless then, can a mod please remove this?

schlottkej 07-20-2008 07:11 PM

What is funny is that I never knew it existed either! I came in thrilled this finally came out! LOL

students_forum 09-09-2008 02:50 PM

superb!!

you won't believe the number of times I made the mistake of posting on my own wall like a n00b

RobbieZ 09-09-2008 04:37 PM

LOL. Cant believe you missed that in the manual.

Baldilocks 09-12-2008 08:52 PM

I just changed the phrase to read "Reply To Sender"-- makes more sense and it solved all the problems on my board.

karlm 09-12-2008 11:41 PM

LoLz

GSeybold 11-02-2008 12:22 PM

Count me in on this knob count:) lol


All times are GMT. The time now is 05:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01430 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete