vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Not to show infractions? (https://vborg.vbsupport.ru/showthread.php?t=223769)

Desesperao 09-22-2009 10:06 PM

Not to show infractions?
 
Hi there,

I'm running vB 3.8.4 and I would like to know if is possible not to show infractions to my users.

They get angry when they receive an infraction but on the other and, to me it's a great tool to know how many infractions has every user.

Is there some way for sending an infraction without showing it to the infractor?

Thanks.

Dingo14 09-23-2009 04:51 AM

you could try this one works ok for me

Code:

https://vborg.vbsupport.ru/showthread.php?t=187397

Desesperao 09-30-2009 08:15 PM

Thanks, Dingo.

The problem is that this hack shows the infractions but It's a good starting point.

Thank you very much.

Lynne 09-30-2009 08:23 PM

What pages are you trying to not show the infractions on? The profile? Which one? Put a condition around it to only show it to your mods.

Desesperao 09-30-2009 08:37 PM

Hi Lynne,

The card that appears in the thread and in the user's profile.

How can I do what you say?

Thanks.

Lynne 09-30-2009 09:43 PM

If you only want Mods to see it, you'd just do something like:
HTML Code:

<if condition="is_member_of($bbuserinfo, 5, 6, 7)">
stuff only for users of group 5, 6, and 7 to see
</if>



All times are GMT. The time now is 02:34 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.01027 seconds
  • Memory Usage 1,717KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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