vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Inferno Warning System v1.3 (https://vborg.vbsupport.ru/showthread.php?t=93669)

Andy R 10-19-2005 04:27 PM

Can you provide any insight on what this conditional should look like? i.e. how to write it (I know we will have to wrap it around the current template edits on the postbit and memberprofile) but don't know how to write the conditional statement to look at the warning level value.
Quote:

Originally Posted by eoc_Jason
Call me crazy, but couldn't you just use a template conditional so that if their warning level is zero not to show the image?


Mastar 10-19-2005 05:37 PM

Flawless installation

eoc_Jason 10-20-2005 07:51 PM

Quote:

Originally Posted by Andy R
Can you provide any insight on what this conditional should look like? i.e. how to write it (I know we will have to wrap it around the current template edits on the postbit and memberprofile) but don't know how to write the conditional statement to look at the warning level value.

Modify your Warn Display [Post Bit] hook plugin, and replace with the following code:

PHP Code:

global $vbulletin;

if (
$post['postid'] && (can_moderate($forum['forumid']) || ($vbulletin->userinfo['userid'] == $post['userid'] && $vbulletin->options['warn_allow_view'] && $post['inferno_warn_level'])))
{
    require_once(
DIR '/includes/functions_warning.php');
    
$show['warning'] = true;
    
$post['warning'] = construct_warning_display($postcan_moderate($forum['forumid']));


Basically the only addition is the && $post['inferno_warn_level'] check. So all your moderators and such will still see them for everyone.

Keyser S?ze 10-21-2005 05:57 AM

Quote:

Originally Posted by ozmazdaclub
in the forum control panel under vb options there should be a warning section... you can untick to show to non staff groups...i beleive this was mentioned a few times already..

unless i am missing something, i do not see that, to allow non staff to see everyone elses warning

i see this

Allow non-staff members to view their own warning level and logs.

but all that means, is i myself can see my own warning even tho i am not staff

i also see "protected usergroups", but that again is not the same thing

is there another options section besides the one?

Andy R 10-21-2005 12:35 PM

Thanks for helping with this Jason but that code is still showing a regular user with no warning the warning meter...

Keyser S?ze 10-21-2005 11:18 PM

i would also like it how andy asks for it, i mean why have it show up if they have no warning, seems odd

also, i prefer for everyone to see everyone elses warning, or be able to set it urself as to what usergroup can see warning level, and reasons

i mean, normal members dont need to see reasons, but why not level? shame ppl into doing the right thing ;D

------------------

also would be great if the default msg in the PM being sent to users was "Rules Violation" which if u clear it out u can change it to whatever, but to have it there, i get sick of typing it ;p

dethfire 10-23-2005 08:59 PM

We can no longer view a member's warning history to be able to see what specific warnings the member has received for what particular posts.

Also I wish there were a global record of everyone who has been warned.

Holidazed 10-24-2005 02:37 AM

Quote:

Originally Posted by Zero Tolerance
SMods/Admins can warn via profile, and mods of a forum can warn people in those forums (if they have made posts).

Is there a way for me to specify who can warn? I have specific usergroups for my enforcers. I need them to be able to warn too.

In addition, I looked at a profile and posts and could not find any way to warn somebody. How does this work?

I saw references in the post and in the profile shat showed the current warning level, but no option add/edit or remove a warning.

Holidazed 10-25-2005 03:44 AM

Is there any support for this? Does this mod work? I am having trouble with it and no answers?

Help!!

Keyser S?ze 10-25-2005 05:07 AM

Quote:

Originally Posted by bitg
1 -Is there a way for me to specify who can warn? I have specific usergroups for my enforcers. I need them to be able to warn too.

2 -In addition, I looked at a profile and posts and could not find any way to warn somebody. How does this work?

3 -I saw references in the post and in the profile shat showed the current warning level, but no option add/edit or remove a warning.

1 -no as of v1.2 only admins, smods, and the mod of that forum, can warn ppl

2 -the little thing that says warning, and then the images, click on the plus or minus images, and ul get to the warning screen

link will be something simiar to this forums/warn.php?do=warn&data=plus;post;153;430274

what i said in 2, to add, to delete click on the number in the post, like

Warn: (0%)

you would click the 0


All times are GMT. The time now is 03:33 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.01355 seconds
  • Memory Usage 1,750KB
  • 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_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete