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)

sv1cec 04-13-2006 07:03 PM

Congrats buddy!

Since the test forum I used is shut down, I guess users are now relying on you for a complete package, ready for installation.

MThornback 04-14-2006 05:24 AM

Quote:

Originally Posted by sv1cec
Try this.

In Warn.php find:

Code:

$slcomment=$vbulletin->GPC['comment'];
Add below that:

Code:

if ($slcomment=='')
{
        $message_left="{$user['username']} could not be warned because you did not enter a reason for the warning. Please  go <a href='javascript:history.go(-1)'>back</a> and try again.";
}
else
{

Then in the same file, find:

Code:

$url="showthread.php?p={$post}";
eval('$warn_page .= "' . fetch_template('warn_redirect') . '";');

Replace that with:

Code:

}
$url="showthread.php?p={$post}";
eval('$warn_page .= "' . fetch_template('warn_redirect') . '";');

Let me know if it works. Note that I edited the code this morning, so please make sure you are using the latest one, as it appears above.

Also, you do not have to use the "Back" javascript, it will redirect you automatically.

worked famously! :) thanks muchly!


for the non-post related warnings the last bit should be:
Quote:

}
$url="member.php?u={$vbulletin->GPC['id']}";
eval('$warn_page .= "' . fetch_template('warn_redirect') . '";');

Delphiprogrammi 04-15-2006 06:00 PM

hi people,

I have implemented phrases so the system should be "translation ready" into any language you wish.Just done so gonna leave it running for it while to see if any problems show up(like phrases i forgot) :D after that i'll attach the XML you just need to reimport it (and like always BACKUPPPPPPP your database)

ciao :cool:

Dr.Viggy 04-17-2006 12:39 AM

well this thing took forever to go through it all and put in but as soon as i did, it worked perfectly. GREAT product. thanks

Delphiprogrammi 04-17-2006 12:05 PM

hi people,

A thing new to this hack are the bitfield permissions.Just like vbulletin uses itself "can view forum" etc etc.....

Nathan2006 04-18-2006 03:24 AM

When an email is received after removing a warning the email does not show the warned post or the board name:

Quote:

Dear user,

A warning you have received for violating Array[bbtitle] Rules has
been totally removed from your account, by the Forums team. The removed
warning concerned:

Banned
(Warning Type = 'Permanent Ban')

The post for which you were warned, and whose warning has now been
totally removed, can be seen here:

Array[bburl]/showthread.php?p=81

With this warning being removed, 15 point(s) have been removed from
your total.

Your total Warning Level at the moment is: 0 point(s).

Please reply back if you have a dispute.

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

Array[bbtitle] Team
Thank you for any help :)

Delphiprogrammi 04-18-2006 05:46 PM

Quote:

Originally Posted by Nathan2006
When an email is received after removing a warning the email does not show the warned post or the board name:



Thank you for any help :)

did you enabled that option for including the warned post ?

as for the links (Array['bbtitle']) i've spotted that to and already fixed it

that package will be availible in a few days if i complete my tests successfully

Nathan2006 04-19-2006 01:00 AM

Quote:

Originally Posted by Delphiprogrammi
did you enabled that option for including the warned post ?

as for the links (Array['bbtitle']) i've spotted that to and already fixed it

that package will be availible in a few days if i complete my tests successfully

Yeah I have set that to yes in the admincp also when you remove an alert

From a post that was within the members area

Quote:

Dear Example,

An Alert you have received for violating Array[bbtitle] Rules has
been totally removed from your account, by the Forums team. The removed
Alert concerned:

Spamming the forums
(Warning Type = 'Spam')

The post for which you were alerted, and whose alert has now been
totally removed, can be seen here:

Array[bburl]/showthread.php?p=72

Kind regards

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

Array[bbtitle] Team

dai-kun 04-19-2006 05:41 AM

is it possible to have a post that's been warned soft/completly deleted after the warning expires? My users keep getting warned twice cus the warn post image disappears.

Nathan2006 04-19-2006 06:10 AM

Quote:

Originally Posted by dai-kun
is it possible to have a post that's been warned soft/completly deleted after the warning expires? My users keep getting warned twice cus the warn post image disappears.

The best thing to do is go to:

Admincp > Advanced Warning System > Manage Warning Options>

Then have a look down the list and you will find:

4th option on the list

Quote:

Allow multiple warnings for the same post?If set to No, you will not be allowed to warn a user more than once, for the same post, even if there were several violations in that post.
Set that to "NO" and it should stop multipost warnings :)


All times are GMT. The time now is 01:24 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.02724 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
  • (4)bbcode_code_printable
  • (8)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