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)

Delphiprogrammi 03-12-2006 09:46 AM

Quote:

Originally Posted by sv1cec
I can not duplicate the problem with the Automatic Warnings from Posts. It works fine in my test environment, even before uploading the edited files for the quoted $vbulletin parameters.

There is an issue with the warning being entered as non-post related. To correct that, open the following plugin.

AWS: Check Post-Title/Message for censored Words

Find:

Code:

warn_calculations($warn_type['tid'], $wcomment, $this->fetch_field['postid'], $userinfo, $this->registry->options['warn_automatic_warner'], $alert);
Replace that with:

Code:

$wpost=$this->fetch_field('postid');
warn_calculations($warn_type['tid'], $wcomment, $wpost, $userinfo, $this->registry->options['warn_automatic_warner'], $alert);

Try this out.

Also, in several of the templates shown in the XML file, there are still references to $vboptions parameters. However, I do not know if it is worth it to correct these references, since I do not know if a corrected XML file can be used to alter the existing templates or not. If someone knows, please advise.

nope can't get this to work.But if it does in your testenvirement it must be something i do wrong.I will chck your old posts regarding this :)

Xplorer4x4 03-12-2006 11:39 PM

I noticed today that a mod warned a members twice, and was banned even though the third warning would be a ban.

Last time i tested I was not able to produce this problem warning a member as an admin, so i think maybe it deals only with mods issuing warnings.

senkin 03-13-2006 07:33 PM

Very nice hack but when I want to warn somone I cannot see any options about warning somone in a post at all. I don't know what I could have done wrong so if I need to I an give a temporary admin user acc and pass to see what I did wrong. I followed everything word by word and everywhere works but I do not see anything warning wis on my style even though it has the code in the Postbit_legacy (Which I use legacy). I don't know what elce to say to help so yeah. Thanks ahead of time.

http://forums.santacruzpcsupport.com = my fourms.

Xplorer4x4 03-13-2006 07:36 PM

Did you turn on the usergroup settings? ;)

Ziki 03-13-2006 07:38 PM

Will this be BEAT forever ir what???

Delphiprogrammi 03-13-2006 08:19 PM

Quote:

Originally Posted by senkin
Very nice hack but when I want to warn somone I cannot see any options about warning somone in a post at all. I don't know what I could have done wrong so if I need to I an give a temporary admin user acc and pass to see what I did wrong. I followed everything word by word and everywhere works but I do not see anything warning wis on my style even though it has the code in the Postbit_legacy (Which I use legacy). I don't know what elce to say to help so yeah. Thanks ahead of time.

http://forums.santacruzpcsupport.com = my fourms.

did you defined warning types ? at least one NPR(non post related) did you made your settings on the manage warnings options page ? an example of warningtypes can be seen here

Quote:

Originally Posted by Xplorer4x4
Did you turn on the usergroup settings? ;)

what usergroup setings ?

senkin 03-13-2006 08:45 PM

Quote:

Originally Posted by Delphiprogrammi
did you defined warning types ? at least one NPR(non post related) did you made your settings on the manage warnings options page ? an example of warningtypes can be seen here

Lol I didn't make a non-post related one. Thanks.

'walks away in shame'
*Damn I feal dumb now.*

Xplorer4x4 03-13-2006 08:49 PM

Quote:

Originally Posted by Delphiprogrammi
what usergroup setings ?

Actually I think the usergroup settings are in the main warning page options. You need to define which groups are mods, supermods and so forth.;)

Delphiprogrammi 03-16-2006 10:04 AM

John,

I've solved another problem i found where the system would redirect to invalid user id input.It involves the "view user warnings" option

i think admin_warn.php is ready for a testrun BUT BACKUP YOUR DATABASE FIRST can't say this loud enough

MorrisMcD 03-16-2006 04:38 PM

Quote:

Originally Posted by Delphiprogrammi
John,

I've solved another problem i found where the system would redirect to invalid user id input.It involves the "view user warnings" option

i think admin_warn.php is ready for a testrun BUT BACKUP YOUR DATABASE FIRST can't say this loud enough

Could this be why I got 60000 invalid PMs generated when I changed the functions? If so I can use this again maybe


All times are GMT. The time now is 01:56 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.01635 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
  • (6)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