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)

Meltingfire 10-01-2005 05:06 AM

More bad html,
<br> should be replaced with <br />

sv1cec 10-01-2005 05:39 AM

Yes, that colspan should be 8, not 7.

As for what is common sense, you are entitled to your opinion.

TosaInu 10-01-2005 09:39 AM

Hello,

Has anyone tried it with 3.5.0 gold already? I've been wasting hours in the upgrade process because of 2 monstrous queries, so I need to recharge some stamina ;)

2. Our database still contains some info from the 3.0x AWS hack. Is it possible to just run the install script, or will it quit because the MySQL tables and maybe even some templates are still there?

Meltingfire 10-01-2005 03:09 PM

Quote:

Originally Posted by TosaInu
Hello,

Has anyone tried it with 3.5.0 gold already? I've been wasting hours in the upgrade process because of 2 monstrous queries, so I need to recharge some stamina ;)

2. Our database still contains some info from the 3.0x AWS hack. Is it possible to just run the install script, or will it quit because the MySQL tables and maybe even some templates are still there?

Im running it with gold now.

hydrostatic 10-01-2005 08:37 PM

Quote:

Originally Posted by sv1cec
Please compare the two routines with that name, the one used by AWS and the one used by the other hack. If the two are the same (and I think they will be), you can delete one of the two. I think ZT is using this routine in his new hacks, if it is not changed from the one he used in his initial Warning hack, then the one or the other can be deleted. If it is, then you have to somehow rename the routine in one of the two hacks, and change the callings to that routine, to use the new name.

Does this make sense?

Sorry, I didn't understand anything. :( Please help me as I really like this hack and I really want to use it.

P.S.
Is this possible without any file edits?

TruthElixirX 10-01-2005 11:19 PM

The inferno quiz and this do not get along.

Code:

Fatal error: Cannot redeclare sendpm() (previously declared in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/quiz.php:139) in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/includes/functions_warning.php on line 23
any ideas?

Andreas 10-01-2005 11:21 PM

Known problem - both Hacks use the same function name.
Won't be fixed (any time soon).

Daniel 10-01-2005 11:29 PM

ill stick to the inferno warning system ;)

dutchbb 10-01-2005 11:33 PM

is this the best warning system here on vb.org?

we had erwins warning system before which was great , but with the 3.5 upgrade it was lost....

TruthElixirX 10-01-2005 11:41 PM

Quote:

Originally Posted by KirbyDE
Known problem - both Hacks use the same function name.
Won't be fixed (any time soon).

Heh. That sucks. Guess I'll have to do a little looking into fixign this myself. -_-. Or switch to Imferno Warning System.


EDIT:: Okay I fixed it myself to where it is compatible. May I attach the edited file for other users?

DS MrSinister 10-02-2005 12:45 AM

Quote:

Originally Posted by TruthElixirX
Heh. That sucks. Guess I'll have to do a little looking into fixign this myself. -_-. Or switch to Imferno Warning System.


EDIT:: Okay I fixed it myself to where it is compatible. May I attach the edited file for other users?


i would like to know how to fixed it?

TruthElixirX 10-02-2005 01:36 AM

k. I'll post the instructions. I garuntee nothing as I haven't had a chance to test this out, I mean I havent' seen any errors yet but any chance to throughly test it has not been made. Also you do this with no support.

Open up warnings.php and find (Line 23 for me.):
Code:

function SendPM($message,$title,$to,$from)
and change it to
Code:

function SendPM2($message,$title,$to,$from)
then find(line 86 for me):
Code:

function RunError($message)
and change it to:
Code:

function RunError2($message)
I have noticed no errors btu have not extensively looked. I'll look through the whole thing tomorrow and make sure but as of now I can warn a user and everything works. so yeah...Quizes should work after that.

kall 10-02-2005 01:43 AM

Quote:

Originally Posted by TruthElixirX
k. I'll post the instructions.

Or..., just make the call to the Warning functions file conditional..

Change your global_start plugin to
PHP Code:

if (THIS_SCRIPT != "quiz") {
require_once(
DIR '/includes/functions_warning.php');
DEVDEBUG('AutomaticWarner' $vbulletin->options['warn_automatic_warner']);} 

*shakes head at ideas of code editing* ;)

DS MrSinister 10-02-2005 03:11 AM

thank you sir kall

hydrostatic 10-02-2005 04:56 AM

Kall, that won't work because when you try to warn other people, there's an error. :(

kall 10-02-2005 05:11 AM

Quote:

Originally Posted by hydrostatic
Kall, that won't work because when you try to warn other people, there's an error. :(

Really?

All that code should do is make it so the code runs on all pages BUT quiz.

hydrostatic 10-02-2005 05:17 AM

I think it's just me, so ignore me :( I have RPG Inferno installed and apparently, this hack "double conflicts" with the most popular hack on my board.

I'm pretty sure this would work if you didn't use RPG Inferno.

Marco van Herwaarden 10-02-2005 07:11 AM

Quote:

Originally Posted by KirbyDE
Known problem - both Hacks use the same function name.
Won't be fixed (any time soon).

That would never happen if every author would prefix his functions, var's and tables/columns, with a hack specific prefix. (Like i always do ;))

Andreas 10-02-2005 07:13 AM

I never do that cause prefixes are hard to remember :)
Anyway, even with prefixes it could happen - just the chance would be much lower.

Marco van Herwaarden 10-02-2005 07:16 AM

Well since 3.5 i always use my Product-Id as prefix. Chance of duplicates are almost 0 then, and if the other hack was a product using the same choice of prefix, you wouldn't even be able to load them both. :D

TosaInu 10-02-2005 08:53 AM

KirbyDE

Our database still contains some info from the 3.0x AWS hack. Is it possible to just run the install script, or will it quit because the MySQL tables and maybe even some templates are still there?

TruthElixirX 10-02-2005 03:06 PM

@ everyone with the quiz problem

Seems to be a problem with us cluttering this thread. Should we go somewhere else to discuss this?

Andreas 10-02-2005 07:50 PM

@TosaInu
It should work just fine if you were using the latest 3.0 Version of this Hack.
If not, you might end up with missing columns that need to be added manually.

TosaInu 10-03-2005 09:43 AM

Quote:

Originally Posted by KirbyDE
@TosaInu
It should work just fine if you were using the latest 3.0 Version of this Hack.
If not, you might end up with missing columns that need to be added manually.

Great, thanks KirbyDE.

I gave the latest version a look already and I think the install guide needs a tiny update. There are template edits that apply to both postbit and postbit legacy, yet only postbit is mentioned. It's the same code, it just needs to be mentioned. The display of warningpoints is an example.

Thanks again for porting this great hack.

Darat 10-03-2005 10:05 AM

Having a problem with installation. Er no I'm not - hint don't try to install this is your MySQL has just fallen over! :o

sv1cec 10-03-2005 11:36 AM

Quote:

Originally Posted by TruthElixirX
The inferno quiz and this do not get along.

Code:

Fatal error: Cannot redeclare sendpm() (previously declared in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/quiz.php:139) in /home/httpd/vhosts/supportcore.org/httpdocs/testvb/includes/functions_warning.php on line 23
any ideas?

I have already posted an answer on this (or maybe a similar question). The SendPM routine that I use, was inherited from Zero Tolerance's original, warning hack. If the hack which conflicts with this routine is also written by Zero Tolerance, there is a strong possibility that these two routines, (the one in AWS and the one in the other hack) are exactly the same, so one of the two can be deleted.

The same thing with the RunError routine.

The suggested fix by TruthElixirX, is only partial, since all it does is change the names of the two routines. It does not alter the code where these routines are called from. In other words, if some where in the code, one of the hacks was calling RunError, and this routine was renamed to RunError2 in AWS code, then AWS is still calling RunError (not RunError2), which is a routine of the other hack. That enhances my thinking, that these two routines are identical in the two hacks, otherwise the fix that TruthElixirX applied would have never worked.

thenetbox 10-03-2005 01:29 PM

When I go to View Warnings and then click on Remove Warning I get:

Quote:

An Error Has Occured!
An error has occured, the following message has been left below:

Invalid User ID Input
edit:
and the url is.


ttp://forumname.com/Warn.php?do=RemoveWarning&id=1

I can, however, remove the warning from admincp

Xplorer4x4 10-03-2005 01:29 PM

Quote:

Originally Posted by KirbyDE
Not fully. A new Version will be avialable soon.

Don't mean to rush but how soon?

dutchbb 10-03-2005 01:44 PM

I got the links showing in posts, but when I click: "Warn (user)" or even "View user's warnings"

I get this screen:

https://vborg.vbsupport.ru/

When I then click Add+1 I get:

https://vborg.vbsupport.ru/

Noticed it goes to warn.php (with no uppercase) which I believe was our old warn.php file we used.

PS: we used erwin's warning hack on vb 3.0x could this be interfering now? And if so, how do I solve this isue?

Ty

sv1cec 10-03-2005 02:51 PM

Quote:

Originally Posted by thenetbox
When I go to View Warnings and then click on Remove Warning I get:



edit:
and the url is.


ttp://forumname.com/Warn.php?do=RemoveWarning&id=1

I can, however, remove the warning from admincp

I have the Warn.php file ready, to solve this issue. It happens because I didn't change some routines of the programs to verify (the old globalize) the values.

KirbyDE shall I send it to you, or you have it done already?

sv1cec 10-03-2005 02:54 PM

Quote:

Originally Posted by Triple_T
I got the links showing in posts, but when I click: "Warn (user)" or even "View user's warnings"

I get this screen:

http://img263.imageshack.us/img263/9442/screen17em.jpg

When I then click Add+1 I get:

http://img263.imageshack.us/img263/252/screen24al.jpg

Noticed it goes to warn.php (with no uppercase) which I believe was our old warn.php file we used.

PS: we used erwin's warning hack on vb 3.0x could this be interfering now? And if so, how do I solve this isue?

Ty

Well, the first image shows that it goes to Warn.php (not warn.php), which is the proper file name, but there is no Add 1, Subtract 1 etc in AWS Warn.php program. This screen is not coming from AWS.

The second image, I also have no idea where it comes from. Judging from the URL shown, it is probably from the same file, which as I said, is not AWS.

Rgds

dutchbb 10-03-2005 03:29 PM

I know now it uses the old code from erwin's hack. Think it has something to do with a php cache program on our server. Hopefully we can get this fixed. thanks.

Karri 10-07-2005 10:21 PM

I just installed this and so far so good but I did notice a few typos in the Add New Warning Type section. In the part for "Can this Warning Type have an Alert?" it should have committed instead of commited and "first offence, or he is" instead of "first offence, ir he is".

Thanks!!!

DivisionByZero 10-08-2005 08:54 AM

Ok, I need some XML type help here in referene to the warning system....

I run VolanoChat Pro on my site and it has a servlet that listens for incoming events (related to chat monitors and banning and such.)

The VolanoChat server sends "event" notifications in XML notation to any script using HTTP POST.

I would like to somehow write a script that would receive the chat events for banning and kicking users and issue warnings through the AWS.

The guide for this stuff is at: http://www.volano.com/guide26/listening.html

Let me know what you think :)

seg 10-10-2005 10:56 PM

Thank you for the great warning system - I am still going through all the features. Question: Is it possible to have the Reported post sent to an Administrator via private message instead of email?

FROGGYJ 10-11-2005 12:43 AM

just a quick question.....personally I'd rather have an icon instead of txt....where do I edit this?

sv1cec 10-11-2005 06:14 AM

Quote:

Originally Posted by FROGGYJ
just a quick question.....personally I'd rather have an icon instead of txt....where do I edit this?

In the Warning System menu in AdminCP, Warning Options, there is an option which says something about Text links of Buttons. Change that.

sv1cec 10-11-2005 06:15 AM

Quote:

Originally Posted by seg
Thank you for the great warning system - I am still going through all the features. Question: Is it possible to have the Reported post sent to an Administrator via private message instead of email?

If I remember correctly, this is something that is not part of AWS. The reporting of a post is done by vB itself. Am I wrong on this?

seg 10-11-2005 07:05 AM

That is strange. With all these options and we can't change the reported posts to be sent to PM? We run a large website and the message board admin address is an alias that goes to a department. It would be nice if we could not have continuous reports being sent to everyone. Please let me know if there is another way.

Thanks.

Milchi 10-11-2005 08:39 AM

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.


All times are GMT. The time now is 06:11 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.02427 seconds
  • Memory Usage 1,841KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)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