vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   make change on visitor messages (https://vborg.vbsupport.ru/showthread.php?t=315853)

aminp30 12-05-2014 07:25 PM

make change on visitor messages
 
Hi there,

some users disable visitor messages, but I want to show visitor messages for admin and some user groups. does it possible?

I think this code most be modified but I don't know how
Code:

{vb:raw blocks.visitor_messaging}
would you please help me?

HM666 12-06-2014 02:37 AM

Quote:

Originally Posted by aminp30 (Post 2525918)
Hi there,

some users disable visitor messages, but I want to show visitor messages for admin and some user groups. does it possible?

I think this code most be modified but I don't know how
Code:

{vb:raw blocks.visitor_messaging}
would you please help me?

You can create messages for certain usergroups by using the built in Notices system for vBulletin. If you login to your admincp and then scroll down until you see "Notices" you can make the changes there and do not have to code anything. :)

aminp30 12-06-2014 08:41 AM

Quote:

Originally Posted by HM666 (Post 2525957)
You can create messages for certain usergroups by using the built in Notices system for vBulletin. If you login to your admincp and then scroll down until you see "Notices" you can make the changes there and do not have to code anything. :)

thanks but I can't understand.

what's the relationship between visitor messages and notices?

I want show visitor messages of users who disable this utility.
as u know if a user disable visitor messages, it won't be show for any user. I want show them for admin

kh99 12-06-2014 10:22 AM

I believe admins and moderators with the "Can Moderate Posts" permission under Visitor Message Permissions (Forums & Moderators > Show All Moderators > Edit Permissions), will be able to see the messages even if the member has disabled them. But for some reason if you've disabled your own visitor messages you won't see them even if you're an admin, so use a different member to test it.

aminp30 12-07-2014 10:52 AM

Quote:

Originally Posted by kh99 (Post 2525992)
I believe admins and moderators with the "Can Moderate Posts" permission under Visitor Message Permissions (Forums & Moderators > Show All Moderators > Edit Permissions), will be able to see the messages even if the member has disabled them. But for some reason if you've disabled your own visitor messages you won't see them even if you're an admin, so use a different member to test it.

thank u kh99. yes I believe too. I tested it. I used a test user as a normal member and blocked its visitor messages then looked at its profile as an administrator,but unfortunately I couldn't see its visitor messages.

look at this shot please
http://s1.xum.ir/2014/12/07/Untitledba651.png

kh99 12-07-2014 11:07 AM

Hmm...I don't know why that is. I tested it again and it works for me. If I set "Visitor Messaging" off for a normal user, when I go to the profile page as an admin I still see the messages.

Maybe someone else will have an idea.

squidsk 12-08-2014 02:15 PM

Why not just use the usernote functionality and limit it to the groups you want to have access to it.

Lynne 12-09-2014 04:19 PM

You need to check the permissions under Forums & Moderators > Show Moderators > Edit Permissions


All times are GMT. The time now is 09:24 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.01107 seconds
  • Memory Usage 1,726KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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