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)

TruthElixirX 09-14-2005 12:01 AM

Not that I noticed. I've had it installed since 1.0 as well. Are you sure you didn't revert the templates or upgrade your vB version and had to revert some of the templates?

EdQ 09-14-2005 01:03 AM

Thanks, I tried that already. No change. The only thing I may have forgotten to do, was upload the other xml file before installing.

Quote:

Originally Posted by TruthElixirX
Re-uplaod al lthe files in the new zip. Then go to add new product and select the option to over write the current version. If thats what you did then perhaps you have a bad vb file? I'm no expert at this jsut trying to offer a little help befoer the "pros" get hre in case ur desperate. :)


@TheCool
Did you apply the template edits to all styles?


Andreas 09-14-2005 01:08 AM

Quote:

Originally Posted by EdQ
Well I cannot uninstall it completely. I wanted to start over.

The AWS is still in the AdminCP.

I get this error when trying to reinstall.

plugin.php (1192) : eval ()'d code on line 12

plugin.php does not have an eval() call on line 1192.
Are you sure you are using RC3?

@thecool
The Template Edits are basically still the same, just the references to search for have changed slightly.

EdQ 09-14-2005 01:25 AM

I have this on line 1192

eval($code['installcode']);


And yes RC3

Quote:

Originally Posted by KirbyDE
plugin.php does not have an eval() call on line 1192.
Are you sure you are using RC3?

@thecool
The Template Edits are basically still the same, just the references to search for have changed slightly.


Andreas 09-14-2005 01:29 AM

I got
PHP Code:

$templates = array($templates); 

on line 1192, but I might have a different RC3 then you (CVS Revision 1.57) :)

OK, fixed.

EdQ 09-14-2005 01:53 AM

Well I don't get that error anymore. But AWS is still in my AdminCP

Andreas 09-14-2005 01:54 AM

Yeah, the cpnav is attached to vbulletin, didn't notice that :)
Anyway, just remove the File and it's gone.
I'll update the ZIP but won't increase the Version Number as it isn't a real issue.

EdQ 09-14-2005 02:00 AM

Cool, that worked ;)

EdQ 09-14-2005 04:10 PM

If I used the "Private Messaging Cut-off Limit" when the user exceeds the number. He won't be able to send PM's till he falls under the limit which is set by Warn Maturity. So if I set the Warn Maturity to 30 days, he won't be able to use PM's for 30 days??

A user could be banned for just one day. But have their PM's taken away for 30 days. Doesn't sound right.
Can we have a preset setting or incremental like bans?

EdQ 09-14-2005 04:27 PM

I get this error when trying to warn a user from the AdminCP

Quote:

An error has occured, the following message has been left below:

Invalid User ID Input

jugo 09-14-2005 04:28 PM

Pleasure helping you out Man...

jugo (AKA: Juan hernandez).

Andreas 09-14-2005 04:29 PM

Quote:

Originally Posted by EdQ
I get this error when trying to warn a user from the AdminCP

Where exactly do you get this?

EdQ 09-14-2005 04:31 PM

Its also looking for admin_warn.php when trying to view warnings from MODCP

EdQ 09-14-2005 04:35 PM

Quote:

Originally Posted by KirbyDE
Where exactly do you get this?

User options in AdminCP, click Warn (Non-post related) button

Andreas 09-14-2005 04:39 PM

Quote:

Originally Posted by EdQ
User options in AdminCP, click Warn (Non-post related) button

You mean in User Manager, right?
Then this works for me.

Andreas 09-14-2005 04:51 PM

Quote:

Originally Posted by EdQ
Its also looking for admin_warn.php when trying to view warnings from MODCP

Confirmed. That happens because the same Code gets executed there.
I tend to make it so to hide that section in ModCP completely, but will have to wait for sv1cec.

EdQ 09-14-2005 04:55 PM

Quote:

Originally Posted by KirbyDE
You mean in User Manager, right?
Then this works for me.


Thats is the correct, user manager

EdQ 09-14-2005 05:03 PM

Looking at the properties of the error page. Its missing the UserID at the end of the URL

Andreas 09-14-2005 05:16 PM

Are you sure you are using at least 1.0.3?

EdQ 09-14-2005 05:23 PM

Yes, I am on 1.04.

And if I copy that url to my browser and add the userID, it works.

I just noticed if I mouse-over the button. The URL is correct, it also has the userid.

Andreas 09-14-2005 05:28 PM

Weird. Can you attach the HTML source of the Page here?

EdQ 09-14-2005 05:43 PM

I see the issue...

Andreas 09-14-2005 06:00 PM

Fix

Plugin = AWS: Show Warning Info in User Manager (ACP)

PHP Code:

print_table_break(''$INNERTABLEWIDTH);
    
print_table_header("Warnings Information");
print_input_row('Alerts''user[alerts]'$user['alerts']);
print_input_row('Warnings''user[warnings]'$user['warnings']);
print_input_row('Warning Level''user[warning_level]'$user['warning_level']);
print_input_row('Bans''user[warning_bans]'$user['warning_bans']);
print_description_row("<center><a href=\"../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$user[userid]\">
    <input type=\"button\" class=\"button\" name=\"warn\" value=\"Warn 
$post[username] (non-post related)\" accesskey=\"w\" onClick=\"window.location='../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$user[userid]'\"></a>&nbsp;
    <a href=\"admin_warn.php?act=do_finduserwarnings&userid=
$user[userid]\">
    <input type=\"button\" class=\"button\" name=\"warn\" value=\"View 
$user[username]'s Warnings\" accesskey=\"v\"   onclick=\"window.open('admin_warn.php?act=do_finduserwarnings&userid=$user[userid]','','width=1024, height=500, resizable=yes, scrollbars=yes'); return false;\"></a>
    </center>"
); 

Guess my Firefox used the Link instead the JS.

EdQ 09-14-2005 06:00 PM

Is this the problem?

PHP Code:

<input type=\"button\" class=\"button\" name=\"warn\" value=\"Warn $post[username] (non-post related)\" accesskey=\"w\" onClick=\"window.location='../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$userid'\"></a>&nbsp; 

it need to be

PHP Code:

<input type=\"button\" class=\"button\" name=\"warn\" value=\"Warn $post[username] (non-post related)\" accesskey=\"w\" onClick=\"window.location='../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$user[userid]'\"></a>&nbsp; 


EdQ 09-14-2005 06:07 PM

Quote:

Originally Posted by KirbyDE
Fix

Plugin = AWS: Show Warning Info in User Manager (ACP)

PHP Code:

print_table_break(''$INNERTABLEWIDTH);
    
print_table_header("Warnings Information");
print_input_row('Alerts''user[alerts]'$user['alerts']);
print_input_row('Warnings''user[warnings]'$user['warnings']);
print_input_row('Warning Level''user[warning_level]'$user['warning_level']);
print_input_row('Bans''user[warning_bans]'$user['warning_bans']);
print_description_row("<center><a href=\"../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$user[userid]\">
    <input type=\"button\" class=\"button\" name=\"warn\" value=\"Warn 
$post[username] (non-post related)\" accesskey=\"w\" onClick=\"window.location='../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=$user[userid]'\"></a>&nbsp;
    <a href=\"admin_warn.php?act=do_finduserwarnings&userid=
$user[userid]\">
    <input type=\"button\" class=\"button\" name=\"warn\" value=\"View 
$user[username]'s Warnings\" accesskey=\"v\"   onclick=\"window.open('admin_warn.php?act=do_finduserwarnings&userid=$user[userid]','','width=1024, height=500, resizable=yes, scrollbars=yes'); return false;\"></a>
    </center>"
); 

Guess my Firefox used the Link instead the JS.

Ok that worked. :) But can it be started in a new window?

Andreas 09-14-2005 06:11 PM

Yes it can.
(If you are a fan of new Windows, I am not - prefer Tabs)

EdQ 09-14-2005 06:30 PM

Thanks!

EdQ 09-14-2005 06:35 PM

Did this make sense??

Quote:

Originally Posted by EdQ
If I used the "Private Messaging Cut-off Limit" when the user exceeds the number. He won't be able to send PM's till he falls under the limit which is set by Warn Maturity. So if I set the Warn Maturity to 30 days, he won't be able to use PM's for 30 days??

A user could be banned for just one day. But have their PM's taken away for 30 days. Doesn't sound right.
Can we have a preset setting or incremental like bans?


Andreas 09-14-2005 06:42 PM

Hmm, why not?
A Ban is stronger than turning of PMs, so why souldn't it be possible to turn them off longer than a ban lasts?

thecool 09-14-2005 10:21 PM

Found this bug while trying to remove a user warning

The requested URL /~user1/forums//admin_warn.php was not found on this server.

i'm assuming the error is with the //

Andreas 09-14-2005 10:33 PM

Where exactly did you get this message?

EdQ 09-14-2005 10:36 PM

Get this error trying to send a non-post warning from user manager.

Quote:

An error has occured, the following message has been left below:

Invalid Warning Type Specified
And I cannot chose a type.

EdQ 09-14-2005 10:37 PM

Never mind. I guess you cannot have a warning as a post and non-post.

EdQ 09-15-2005 01:23 AM

PM Cut Off Limit set to 0.

User can't PM when he gets a warning.

Andreas 09-15-2005 01:30 AM

That's why it does send eMails in this case - at least it should.

EdQ 09-15-2005 01:40 AM

I thought by entering zero, the system would not stop PM's??

Andreas 09-15-2005 01:44 AM

Whoops, didn't read the 0 :)
You're right, 0 should turn ob PM cutoff.
Doesn't it?

thecool 09-15-2005 02:43 AM

Quote:

Originally Posted by KirbyDE
Where exactly did you get this message?

Thanks, nevermind the problem remedied itself. If it surfaces again, i'll post something.

thanks

EdQ 09-15-2005 02:47 AM

Quote:

Originally Posted by KirbyDE
Whoops, didn't read the 0 :)
You're right, 0 should turn ob PM cutoff.
Doesn't it?

Nope.

sv1cec 09-15-2005 04:49 AM

If you set the PM Cut-off to 0, then the PM system should not be disabled for a warned user.

Check that your functions_warning.php contains the following code:

Code:

if (($vbulletin->options['warn_send_pm_warning']==1 AND $vbulletin->options['warn_pmcutoff']==0) OR ($vbulletin->options['warn_send_pm_warning']==1 AND $vbulletin->options['warn_pmcutoff']!=0 AND $level<$vbulletin->options['warn_pmcutoff']))
        {
                $messageb="";
                $name=$user['username'];
               
                if ($wcomment=='' AND $vbulletin->options['warn_autocomments']==1)
                {
                        $wcomment=$warn_type['warn_desc'];
                }
               
                if ($wcomment=='' AND $vbulletin->options['warn_allowalertscomment']==1 AND $alert=='Yes')
                {
                        $wcomment=$warn_type['warn_alertcomment'];
                }



All times are GMT. The time now is 08:39 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.02312 seconds
  • Memory Usage 1,845KB
  • 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
  • (5)bbcode_php_printable
  • (14)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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