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)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

SpanishHarlem 10-13-2005 07:24 PM

This will be a good one.

sv1cec 10-13-2005 07:30 PM

Well, as I told you, I was not, because I have no "No Posting" forums in my site. I'll have to check it. Never tried it! LoL

Darat 10-13-2005 09:41 PM

Is it possible to allow all registered users to view the warnings issued to a member as the Mods can? (But obviously not warn someone. :) )

sv1cec 10-14-2005 12:37 PM

Yes, this is possible. In your plugin manager, find a plugin named "warn_showthread_showlinks_and_points". In that plugin find:

Code:

if ($postadmin!=1 AND $postmod!=1 AND $postsmod!=1 AND ($useradmin==1 OR $usersmod==1 OR $usermod==1))
            {
                $showviewwarnlink=1;
            }

Replace that with:

Code:

$showviewwarnlink=1;
Then open Warn.php and find:

Code:

if($_GET['do']!='ViewMyWarnings')
{
        if(!can_moderate(  ))
        {
                print_no_permission(  );
        }
}

Replace that with :

Code:

if($_GET['do']!='ViewMyWarnings' AND $_GET['do']!='ViewWarnings')
{
        if(!can_moderate(  ))
        {
                print_no_permission(  );
        }
}

I haven't tried it myself, but I gave those instructions to another member and he didn't come back to complain, so it should work.

Rgds

FlyBoy73 10-14-2005 03:32 PM

Any word on the notes upgrade timeline?
Thanks again for a great hack!
David

seg 10-14-2005 11:29 PM

Quote:

Originally Posted by sv1cec
Reported posts is not part of AWS. This hack does not affect the way posts are reported, at least this is what I remember.

The hack that beano33 recommended worked for me. It doesn't send it to PM, but it sends it to a forum and then I can make the forum report to individual email addresses.

Quote:

Originally Posted by beano33
Report Bad Post to a forum is a separate hack:
https://vborg.vbsupport.ru/showthread.php?t=83074


seg 10-14-2005 11:44 PM

I found one more problem. I set up of the ObsceneWords automatic warner. I don't want PMs to be included in the automatic warner, so in options I turned off - "Use Automatic Warnings from Private Messages?"

I noticed that a user was warned for sending a censored word in a PM. In this portion of the warning message: "To see details about all the warnings you have received, until now, please click here."

I clicked on the link which took me to a screen giving me the warning information for that user. Under "Warned Post", I clicked on "Post ID 3240 Review Post". This took me to another users post from last May. The post had no censored words, but had the "Warned Post" sign attached to it. The user who created the post had no warning points.

Why would this warn a user for a PM? And why is it referring to a post by another user that has no censored words?

Andreas 10-15-2005 03:55 AM

@seg
Please report this as a Bug so I can take care of it.
Details information about the problem and how to reproduce it are required.
Thank you.

Whissi 10-15-2005 05:32 PM

There is a bug... so that AWS won't run with PHP5
Code:

Fatal error: Only variables can be passed by reference in ...forum_v35\includes\functions_warning.php on line 600

Whissi 10-15-2005 07:33 PM

The "closeON.gif" and "closeOFF.gif" are located in images/misc, but the plugin tries to access them in images/


All times are GMT. The time now is 01:11 PM.

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.02674 seconds
  • Memory Usage 1,742KB
  • 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
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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