vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

Delphiprogrammi 07-22-2007 03:11 PM

Quote:

Originally Posted by Magnumutz (Post 1298137)
Hi, i've got this problem, when i try to warn someone, i get this error:
PHP Code:

You do not enter sufficient symbols into the  comment field to issue warning

And this warning looks like this:

Any clues?

when you warn a user the moderator comments field must contain whatever you have defined as minium comment length

SilverBoy 07-22-2007 04:01 PM

Iam still waiting Delphiprogrammi :confused:

Delphiprogrammi 07-22-2007 04:25 PM

Quote:

Originally Posted by SilverBoy (Post 1298329)
Iam still waiting Delphiprogrammi :confused:

1)The redirection error is fixed
2)if a user disabled to receive pm's an email will be send instead
3)i have checked a dozen times and i just did again only moderators and up and the user who whas warned(remember permissions) can see warning details did you edited the templates correctly ?

Magnumutz 07-22-2007 04:33 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1298293)
when you warn a user the moderator comments field must contain whatever you have defined as minium comment length

Dude, i don't SEE a comment field.
This is how it looks when i try to warn a member, i've done all the updates.
I've attached a screenshot, for you to see. I'll try re-installing it if you donno what's up.

Delphiprogrammi 07-22-2007 05:08 PM

Quote:

Originally Posted by Magnumutz (Post 1298352)
Dude, i don't SEE a comment field.
This is how it looks when i try to warn a member, i've done all the updates.
I've attached a screenshot, for you to see. I'll try re-installing it if you donno what's up.

admincp => Advanced Warning System => manage warning options => automation options => Use warning type description, as moderator comment, in post-related warnings => No

that will restore the field

Magnumutz 07-22-2007 05:18 PM

Oh... my bad, thanks. This worked like a charm ;)

SilverBoy 07-23-2007 12:31 AM

thanks for your help, actually iam familiar with AWS from ages, I upgraded to vb3.6.7 last week and I was working with 3.0.x for a while and installed AWS, and not upgraded my vBulletin version until I get your port of the original hack.

Any way, let me continue debuging with u (Iam computer engineer ;))

1- now kill alert cron job works without errors.
2- Iam not testing remove warning yet.
3- Iam sure I put view warning for mgm not all, and my test account have permission to view warning as you suggest, for template Iam sure from my installation, and no way to mistake because viewing warnings page installed with product not just manual editing.

I checked the Warn.php file and find the error for no permissin page

Code:

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

from this part of code you can note only admins, mods and supermods can view page, so it's work as it designed, and that's why my test account get this error even with all right permisions.

and I will repeate, in showthread page, the user who warned can see how many warning, alerts, .... for all users which reply in the same page, and if the thread destributed on alot of pages he can see that information only in the page that get warning in the post he out in it, or maybe that happend because he is the starter of the thread !!

4- for error message when give warning for a user, I remove one errors by let private messages in my board have no character limit (It was 1600 character) and I think you have to look on this case.
but the other one still remains, because some users can't use PM yet (less than 10 posts) and I dont want to use email feature, because in old version it sends the email of the warner and I don't to let my users to know the personals emails of my staff.

SilverBoy 07-23-2007 12:35 AM

I solved one problem
Code:

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

again you have capital letters missed ;)

SilverBoy 07-23-2007 01:28 AM

I tried removing warning and redirect works ok.

now I can say the problem of seeing other users warnings exist because the user is the starter of the thread and get warning in it !!! (but only in the first page of the thread)

another point :p

when give a user warning we missed warning level in "Current warnings info:" I think it is important to be there.

again for errors when give a warning with pm, the old version of this hack was ignored pm lenght and if the user can read pm :)

NFLfbJunkie 07-23-2007 02:18 AM

I uploaded the updated plugin and now have two "Warnings > View Your Warnings" showing in my quick links menu.


All times are GMT. The time now is 08:58 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.01575 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_php_printable
  • (4)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