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)

SHalliday 04-09-2006 06:03 PM

Is this plugin ready to go or is it still in beta?

I upgraded to 3.5 about 6 weeks ago and when I did the older version of this hack stopped working. Have been wanting to upgrade to this plugin but from reading this thread, it looks like there are still problems with this version. Am nervous about upgrading since I am no php or vb expert.

Is upgrading to this AWS plugin straight forward or are there still problems that need to be worked out?

sv1cec 04-09-2006 07:14 PM

Delphi, if you use the postbit template, does it work?

Delphiprogrammi 04-09-2006 08:00 PM

Quote:

Originally Posted by sv1cec
Delphi, if you use the postbit template, does it work?

yes the warning system works fine i just deactivated the notes thing .... all good

MThornback 04-09-2006 09:53 PM

I'm trying to make a plugin for this that will force mods and admins to enter a comment for warnings....but its not working! Whats wrong with this?

Code:

        // Require Comment //
if ($vbulletin->GPC['comment']==0)
{
        $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.";
}
elseif  ($vbulletin->GPC['comment']==1)
{
        eval('$warn_page .= "' . fetch_template('warn_redirect') . '";');
}


Luxury 04-09-2006 10:17 PM

Why are there warning system settings in vBulletin options? Also, the description for some fields is wrong.

vampireus 04-10-2006 02:11 PM

Save copy of Warning Message in a predefined forum? Yes

I got this error when issue a warn with the above option Enable, the warning is still made, but no copy of Warning Message sent to a predefined forum

Fatal error: Only variables can be passed by reference in /home/yancom/public_html/music/includes/functions_warning.php on line 600

Line 600 : $destforum = verify_id('forum', intval($vbulletin->options['warn_savecopyforum']));


PHP Code:

if ((($vbulletin->options['warn_savecopy']=='1' AND ($alert=='No' OR $alert=='')) or ($vbulletin->options['warn_savecopyalert']=='1' AND $alert=='Yes')) AND $vbulletin->options['warn_savecopyforum']!='')
    {
        require_once(
'./includes/functions_databuild.php');
        
$destforum verify_id('forum'intval($vbulletin->options['warn_savecopyforum']));
                
$newforuminfo fetch_foruminfo($destforum);
                if (!
$newforuminfo['cancontainthreads'] OR $newforuminfo['link'])
                {
                    eval(
standard_error(fetch_error('error_moveillegalforum')));
                } 


Delphiprogrammi 04-10-2006 03:44 PM

Quote:

Originally Posted by vampireus
Save copy of Warning Message in a predefined forum? Yes

I got this error when issue a warn with the above option Enable, the warning is still made, but no copy of Warning Message sent to a predefined forum

Fatal error: Only variables can be passed by reference in /home/yancom/public_html/music/includes/functions_warning.php on line 600

Line 600 : $destforum = verify_id('forum', intval($vbulletin->options['warn_savecopyforum']));


PHP Code:

if ((($vbulletin->options['warn_savecopy']=='1' AND ($alert=='No' OR $alert=='')) or ($vbulletin->options['warn_savecopyalert']=='1' AND $alert=='Yes')) AND $vbulletin->options['warn_savecopyforum']!='')
    {
        require_once(
'./includes/functions_databuild.php');
        
$destforum verify_id('forum'intval($vbulletin->options['warn_savecopyforum']));
                
$newforuminfo fetch_foruminfo($destforum);
                if (!
$newforuminfo['cancontainthreads'] OR $newforuminfo['link'])
                {
                    eval(
standard_error(fetch_error('error_moveillegalforum')));
                } 


did you set the forumid where you want to save the copys of issued warnings and alerts under "forumid"

vampireus 04-10-2006 08:40 PM

I did, I got this error after I replaced the PHP files inside the zip file by those outside. Some old errors are fixed, but this new error occurs

MarcusTangh 04-11-2006 02:36 PM

STupid... stupid thing.
I added warning options via admincp, but the warning options aren't there when you try and warn someone. Useful hack, eh?
anyway.
It's also interfearing with RPG Inferno:

Fatal error: Cannot redeclare sendpm() (previously declared in /home/khinforu/public_html/inferno.php:592) in /home/khinforu/public_html/includes/functions_warning.php on line 23

Delphiprogrammi 04-11-2006 02:40 PM

Quote:

Originally Posted by vampireus
I did, I got this error after I replaced the PHP files inside the zip file by those outside. Some old errors are fixed, but this new error occurs

verry odd that function works fine on my test board and my live board


All times are GMT. The time now is 09:09 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.03991 seconds
  • Memory Usage 1,759KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (3)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