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)

seg 10-11-2005 08:44 AM

Thank you - I will test that tomorrow. One more question. I noticed that the "Add Note for ..." link at the top of each members post goes to a blank page. The note section works when I View the members profile. Any ideas on what might be the problem?

Xplorer4x4 10-11-2005 12:44 PM

I have installed the latest zip file here.

I get this error when I try to warn anyone:
PHP Code:

WarningDivision by zero in /includes/functions.php(4259) : eval()'d code on line 10 

Also the view warning function is still not showing up in my postbit legacy. Only the warn option.

It also apears that the template mod instructions have not been updated.

Andreas 10-11-2005 12:52 PM

Line 4259 of functions.php is a call for Hook global_complete.
As AWS does not use a Plugin on this Hook, the error must be caused by another Hack.
Which Plugins do you have on Hook global_complete?

Xplorer4x4 10-11-2005 01:24 PM

The only plug-in using global_complete is the Microstats plug-in. I still don;t under stand why the view warnings is not showing up. I edited my post bit legacy exactly to the intructions.

Andreas 10-11-2005 01:28 PM

The Template edit instructions are not 100% correct ;)
Anyway, does the error still show up when you disable Microstats?

Xplorer4x4 10-11-2005 01:55 PM

Ok thanks for solving the template issue. I disabled Microstats and yes it still has the problem. I have checked that no other plug-ins and use that hook. :ermm:

Andreas 10-11-2005 02:11 PM

Normally that can't be :)
Sorry, I can't help you as I don't know what could be causing the problem.
Feel free to send me a PM with an ACP Login, ad detailed description of the problem and how to reproduce it and i'll take a look.

seg 10-11-2005 02:57 PM

Ok, I am confused. I have set up a forum for warnings and alerts. Are you able to have the "Report Bad Post" option sent to the forum instead of by email to the administrator? Is this only sent to the administrator and not the moderators? I don't think there is a way to change this to a PM instead of email, but are there any options available to control this message?

Quote:

Originally Posted by Milchi
You could save Warnings and Alerts in a seperate Subforum which is MUCH better then sent it per PM ;-)

If you need Email Notification, you can use some Account and take a abo from the forum which holds the warnings/alerts.


beano33 10-11-2005 08:09 PM

Quote:

Originally Posted by seg
Ok, I am confused. I have set up a forum for warnings and alerts. Are you able to have the "Report Bad Post" option sent to the forum instead of by email to the administrator? Is this only sent to the administrator and not the moderators? I don't think there is a way to change this to a PM instead of email, but are there any options available to control this message?

Report Bad Post to a forum is a separate hack:
https://vborg.vbsupport.ru/showthread.php?t=83074

redtailboa 10-11-2005 08:25 PM

I just installed the hack and everything seemed fine. However, now that it is installed no one can post on my forum. It tells them they need to have atleast X amount of characters to post. I have that option set to 3 characters and it still gave me that error when I typed well over 100 characters.

I disabled the product through the admin section and I no longer get this error. Any idea what is causing this? I really want to use this mod as it will be really helpfull on my large site

redtailboa 10-11-2005 08:38 PM

Here is the message I get when I enable AWS when trying to start a new thread:
The following errors occurred when this message was submitted:
1. Please complete both the subject and message fields.
2. The message you have entered is too short. Please lengthen your message to at least 3 characters.

When I turn aws off this error goes away

Andreas 10-11-2005 08:45 PM

That is a strange problem.
If you want me to help you, please set your board to debug mode and send ma a PM with an ACP login.

seg 10-11-2005 09:11 PM

Thanks - works like a charm :up:

Quote:

Originally Posted by beano33
Report Bad Post to a forum is a separate hack:
https://vborg.vbsupport.ru/showthread.php?t=83074


sv1cec 10-13-2005 06:02 AM

Quote:

Originally Posted by seg
Thank you - I will test that tomorrow. One more question. I noticed that the "Add Note for ..." link at the top of each members post goes to a blank page. The note section works when I View the members profile. Any ideas on what might be the problem?

Notes are not supported in 3.5. It's a left-over from AWS 3.4, which needs to be added to this version.

KirbyDE, please email me to see if this Notes thing can be added in the 3.5 version, it's not that difficult.

Rgds

sv1cec 10-13-2005 06:03 AM

Quote:

Originally Posted by seg
Thank you - I will test that tomorrow. One more question. I noticed that the "Add Note for ..." link at the top of each members post goes to a blank page. The note section works when I View the members profile. Any ideas on what might be the problem?

Reported posts is not part of AWS. This hack does not affect the way posts are reported, at least this is what I remember.

jluerken 10-13-2005 07:27 AM

When will this hack be a final version and out of beta?

sv1cec 10-13-2005 07:39 AM

From the posts here, I think it is pretty stable as it is. I haven't seen any serious problems, so I guess it is up to KirbyDE to decide.

And if KirbyDE has some time, you can look forward to the ability to add Notes. This is something that was added in the late versions 3.4.1x (can't remember exactly which) and which allows you to add private or public notes (public means all management team can see them), either post-specific or not, for a member of your forums. I guess this will be added in the second, non-Beta release.

Rgds

kall 10-13-2005 06:53 PM

Is this a feature, or a bug?

In 'No Posting' forums (closed ones), the warning links don't show in postbit.

I moved a spammy post to my spam forums before warning the poster and noticed that the option is missing.

sv1cec 10-13-2005 07:09 PM

I am not sure, I've never tried it with a No Posting forum. In my site, we move/copy the post to a "Laundry Room" area, where moderators have access, but not plain members. In that forum, the warn links are shown fine. I am not sure why they won't show in a No Posting.

My suggestion is to issue a warning before copying/moving the post.

kall 10-13-2005 07:19 PM

Yeah, totally... that would be the obvious solution.. I was wondering if it was a feature or not, or if you were even aware of it. :)

SpanishHarlem 10-13-2005 07:24 PM

This will be a good one.

sv1cec 10-13-2005 07:30 PM

Well, as I told you, I was not, because I have no "No Posting" forums in my site. I'll have to check it. Never tried it! LoL

Darat 10-13-2005 09:41 PM

Is it possible to allow all registered users to view the warnings issued to a member as the Mods can? (But obviously not warn someone. :) )

sv1cec 10-14-2005 12:37 PM

Yes, this is possible. In your plugin manager, find a plugin named "warn_showthread_showlinks_and_points". In that plugin find:

Code:

if ($postadmin!=1 AND $postmod!=1 AND $postsmod!=1 AND ($useradmin==1 OR $usersmod==1 OR $usermod==1))
            {
                $showviewwarnlink=1;
            }

Replace that with:

Code:

$showviewwarnlink=1;
Then open Warn.php and find:

Code:

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

Replace that with :

Code:

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

I haven't tried it myself, but I gave those instructions to another member and he didn't come back to complain, so it should work.

Rgds

FlyBoy73 10-14-2005 03:32 PM

Any word on the notes upgrade timeline?
Thanks again for a great hack!
David

seg 10-14-2005 11:29 PM

Quote:

Originally Posted by sv1cec
Reported posts is not part of AWS. This hack does not affect the way posts are reported, at least this is what I remember.

The hack that beano33 recommended worked for me. It doesn't send it to PM, but it sends it to a forum and then I can make the forum report to individual email addresses.

Quote:

Originally Posted by beano33
Report Bad Post to a forum is a separate hack:
https://vborg.vbsupport.ru/showthread.php?t=83074


seg 10-14-2005 11:44 PM

I found one more problem. I set up of the ObsceneWords automatic warner. I don't want PMs to be included in the automatic warner, so in options I turned off - "Use Automatic Warnings from Private Messages?"

I noticed that a user was warned for sending a censored word in a PM. In this portion of the warning message: "To see details about all the warnings you have received, until now, please click here."

I clicked on the link which took me to a screen giving me the warning information for that user. Under "Warned Post", I clicked on "Post ID 3240 Review Post". This took me to another users post from last May. The post had no censored words, but had the "Warned Post" sign attached to it. The user who created the post had no warning points.

Why would this warn a user for a PM? And why is it referring to a post by another user that has no censored words?

Andreas 10-15-2005 03:55 AM

@seg
Please report this as a Bug so I can take care of it.
Details information about the problem and how to reproduce it are required.
Thank you.

Whissi 10-15-2005 05:32 PM

There is a bug... so that AWS won't run with PHP5
Code:

Fatal error: Only variables can be passed by reference in ...forum_v35\includes\functions_warning.php on line 600

Whissi 10-15-2005 07:33 PM

The "closeON.gif" and "closeOFF.gif" are located in images/misc, but the plugin tries to access them in images/

Andreas 10-15-2005 10:43 PM

@Whissi
Please report it as a Bug so I can take care of it.
I run PHP5 as well and didn't have a problem so far .. hmm

Whissi 10-15-2005 11:19 PM

Done ;)

marcjd 10-18-2005 02:13 AM

I would also like the ability to prevent regular moderators from seeing the system and warnings thereof as I have private forums where a member if a moderator of that forum only, but none of the public forums. My real moderators are all supermoderators.

Any suggestions on a workaround at least?

Thank you much!

Xplorer4x4 10-18-2005 03:07 AM

You can always use an <if> tag around the template mods. Search around and you will find the exact HTML.


@Kirby and SveC1
Note that the warned post icon DOES apear, even thoug the VIEW warnings template edit does not show.

sv1cec 10-18-2005 03:21 AM

Quote:

Originally Posted by marcjd
I would also like the ability to prevent regular moderators from seeing the system and warnings thereof as I have private forums where a member if a moderator of that forum only, but none of the public forums. My real moderators are all supermoderators.

Any suggestions on a workaround at least?

Thank you much!

Try to enter your admin and supermoderators groups only and use a fake moderators group, not your real one. Maybe that fools it around. I am not sure though, as I am not sure how your setup works.

marcjd 10-18-2005 03:31 AM

I did change the usergroup for regular mods to the number for supermods. However, these private forum mods aren't in an actual moderator usergroup so it is kind of weird that they can see it. While I thought about the conditionals, with this in mind I wouldn't know how to do it.

sv1cec 10-18-2005 04:02 AM

It's because the can moderate the forums. The checking is canmoderate(). This needs to be changed, I think.

marcjd 10-18-2005 04:14 AM

If it were changed to usergroup IDs it would seem to make the problem go away quite nicely.

sv1cec 10-18-2005 04:34 AM

Please describe to me your problem in more details. I understood, that you have some members, which do not belong in the standard moderator group, and they are not really moderators, except if they are moderating one particular forum each? Am I correct so far?

In other words, those members belong to group 2 (normal users), but each one is allowed to moderate a particular forum?

And what is that they see now, that you do not want them to see?

Rgds

Darat 10-18-2005 05:49 AM

Quote:

Originally Posted by sv1cec
Yes, this is possible. In your plugin manager, find a plugin named "warn_showthread_showlinks_and_points". In that plugin find:


...snip...

Thanks! Seems to be working.


All times are GMT. The time now is 06:29 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.01995 seconds
  • Memory Usage 1,831KB
  • 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
  • (5)bbcode_code_printable
  • (1)bbcode_php_printable
  • (9)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