Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Advanced Warning System (Beta Version) Details »»
Advanced Warning System (Beta Version)
Version: 3.5.0, by sv1cec sv1cec is offline
Developer Last Online: Mar 2022 Show Printable Version Email this Page

Version: 3.5.0 RC3 Rating:
Released: 09-08-2005 Last Update: 05-30-2006 Installs: 221
DB Changes Uses Plugins Template Edits
Additional Files Is in Beta Stage  
No support by the author.

Advanced Warning System


IF YOU ARE RUNNING vB 3.6, THERE IS A NEW THREAD FOR THIS HACK UNDER THAT VERSION. vB 3.6 USERS GO HERE:

https://vborg.vbsupport.ru/showthread.php?t=124477


This is a direct port of the Advanced Warning System, as it was implemented in vB 3.0.x. This port has all the features of AWS version 3.4.16, except the Notes.

For a complete description of AWS capabilities, please refer to the following thread:

https://vborg.vbsupport.ru/showthread.php?p=574374

The vB 3.5 compliant version of AWS includes:

1 Product XML (17 Plugins, 107 Phrases, 26 Templates, 43 Settings)
1 ACP Navigation XML
1 PHP Functions File
3 Images
2 PHP Frontend Files
1 PHP Admin CP File
1 PHP Mod CP File
3 PHP Cronjob Files

This port would not be possible, without the help of KirbyDE, to whom I am greatful. KirbyDE will also be responsible for supporting you here, with questions related to this particular release. Also, this port would not have been possible, without the help of Juan P hernandez, who offered me a free test system, in which the porting was performed.

The hack has been tested and it is believed to be bug-free, however since this is a major hack, I release it today (September 9th 2005) as beta.

I hope you all enjoy it.

History (Productversion)
3.5.b
Initial Version

3.5.b1
Fixed a typo that caused Errors in User Datamanager.
Fixed a wrong object reference in functions_warning.php

3.5.b2
Fixed a Bug that caused PHP Error Messages.
Fixed a Typo in the Install Code that causes mySQL Errors.
Updated the Template Edit instructions to be (hopefully) compatible with RC3

3.5.b3
Fixed User not showing up in automatic warning PMs
Fixed 2 missing Phrases
Fixed Hidden Warner being Used for Automatic Warnings
Fixed "View x's Warnings" Button in Usermanager not working

3.5.b4
Removed one unsued Phrase, added one missing Phrase
Fixed a Typo that caused PHP Errors when sending PMs
Fixed a Typo that caused PHP Errors upon Installation
Changed Product ID for Admin CP Navigation XML from vbulletin to aws, so it won't show up any longer if AWS is uninstalled/disabled.

A bug was found which didn't allow you to delete an entered Warning Type. Bug fixed in the current distribution file.

If you found a Bug, please report it at http://bugs.kirbydemos.ath.cx

This helps to keep issues organized, which can't be guaranteed if it's only posted in the Thread.
Thank you.

P.S.1: After you install the hack per the instructions, please update your installation with the separate files listed. They are newer files not included in the zip.

P.S.2: If you want to use the Notes feature, as it existed in AWS 3.4.16, please install AWS per the instructions in the zip file, and THEN follow the instructions included in the warn_notes_update_instructions.txt.

IMPORTANT NOTE: Please keep in mind that this hack is not supported. What this means is that I have no obligation to support it. The reason for that, is because I have no access to a vB 3.5 system any more, so I can't work on this hack any more. Andreas (or KirbyDE) who undertook the support of this version of the AWS hack in the beginning, is obviously too busy to support it. So you are on your own, at least as far as the interaction with vB is concerned. If you have an issue with the hack files themselves, I'll do my best to solve it, but without a test environment, it is not easy. So users of vB 3.5 beware!

P.S. May 31st 2006: The zip file uploaded today, should contain all the debugging done by Delphi, so it should be fine as it is. You do not need the other files listed at the right, only the zip. Download it and follow the instructions in it, for installing the hack. I leave the other files there, just in case some one needs them, they will be deleted later.

SV1CEC

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #602  
Old 01-06-2006, 09:55 AM
MGSteve MGSteve is offline
 
Join Date: Aug 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Xplorer4x4
John I can not remove warning either. For example when i hover the link to remove a warning, it shows up as www.domsforums.net// which in other words it is adding an extra trailing slash
One thing I have just found is that I couldn't removed a warning that had been made, it kept coming up with a invalid user Id message.

Well, the error is wrong and there's a bug in the code which stops you removing the first warning you place...

warn.php:1345,6 and 7 are like this...

if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=1){
RunError("Invalid User ID Input");
}

Ok, id in this case is not a user id, its the ID of the warning! (copy and paste error I bet).

Also, you need to change the 1 in the line to a 0, otherwise you can't remove the warning with the id of 1!

so, change line 1345 to

if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=0){

and you'll be able to remove the first warning.
Reply With Quote
  #603  
Old 01-06-2006, 11:55 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jesus, this is correct! Thanks MGSteve, I appreciate it!!!!

Follow the instructions above folks, your problem should be solved.

Sorry for that!
Reply With Quote
  #604  
Old 01-06-2006, 12:46 PM
MGSteve MGSteve is offline
 
Join Date: Aug 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Jesus, this is correct! Thanks MGSteve, I appreciate it!!!!

Follow the instructions above folks, your problem should be solved.

Sorry for that!
No probs, its the kind of bug you never see as it only ever effects new installs!

Although it would only effect the first warning, I don't know if the others were all trying to delete their first warning or not..?
Reply With Quote
  #605  
Old 01-06-2006, 02:38 PM
MGSteve MGSteve is offline
 
Join Date: Aug 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting 3 of these errrors now when posts are being made...

any ideas?

Warning: preg_replace(): Compilation failed: nothing to repeat at offset 16 in /includes/functions_warning.php on line 706
Reply With Quote
  #606  
Old 01-06-2006, 04:47 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MGSteve
so, change line 1345 to

if($_GET['id']=="" || !$_GET['id'] || $_GET['id']<=0){

and you'll be able to remove the first warning.
This is only a partial fix. The warning is still half there. The amount of warnings shown on thier account, and also their warning points are not reset....

So basically all this did was allow you to get past the error message and remove the warning gif image from their post...
Reply With Quote
  #607  
Old 01-06-2006, 05:42 PM
stevew stevew is offline
 
Join Date: Jul 2005
Location: england
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, 1st up, this is a great hack and extremely useful, so thanks to the author


I am however having a small problem, i have searched this thread and couldnt find a definate solution, the hack is working fine, if i warn someone they get warned or banned, which is all good


But i cant remove the warnings, if i try to remove them either via the forum- member profile or the admin cp/member profile/complete removal i get page not found, a 404 error, this is the url it is trying to find

HTML Code:
http://www.software-help.co.uk//admin_warn.php?act=completeremove&id=1&userid=7&uname=spazzo%20member&wname=Test%20warning&postid=728&orderstring=


Anybody have any idea where i have gone wrong??? Or is this a known bug that i just havent found in this thread yet????



regards
steve
Reply With Quote
  #608  
Old 01-06-2006, 06:37 PM
Bubble #5 Bubble #5 is offline
 
Join Date: Apr 2005
Posts: 984
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevew
Or is this a known bug that i just havent found in this thread yet????
Removing warnings is a known bug, but yours might be a different problem. Double check and make sure that file is in the right place on your server.
Reply With Quote
  #609  
Old 01-06-2006, 07:10 PM
stevew stevew is offline
 
Join Date: Jul 2005
Location: england
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It does seem to be the "bug" spoken of in this thread, i am also getting


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

Invalid User ID Input

But i still havent found an actual solution to it in this thread, so i had better not test the warning system on anyone else :nervous: I already have one casualty....oops lol



regards


I have found a couple more bugs, this time in the admin control panel, when i goto a users profile and click view warnings, it goes to this url

HTML Code:
http://www.software-help.co.uk/modcp/admin_warn.php?act=do_finduserwarnings&userid=7


Which gives a page not found error, which i know the reason for but dont know how to solve it

I need that button to point to this url

HTML Code:
http://www.software-help.co.uk/modcp/mod_warn.php?act=do_finduserwarnings&userid=7


Would appreciate a little nudge in the right direction on that




Also, while in mod cp looking at a user profile still, "warn user non post related" button, when i click that, it gives this error


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

Invalid User ID Input



regards and ssorry for being a pain, i am new to all this, but i am very willing to learn
Reply With Quote
  #610  
Old 01-07-2006, 02:36 AM
SoftWareRevue's Avatar
SoftWareRevue SoftWareRevue is offline
 
Join Date: Nov 2001
Location: Kalamazoo
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
I am not sure I understand your request. You have the ability to have multiple warning types, each one associated with different points and different maturity period. Also, you have the ability to artificially mature a warning sooner than the maturity period (remove it) or to completely remove it (as if it was never issued). What more do you want? Oh, also, the admin can also change the number of points a user has etc.
Sorry. Been gone. Back now.

Something editable on the fly by the mod. A way to issue a warning and assign the points and days right then. Just a little more flexibility.

This gives moderators a better chance to moderate. They can look at any circumstance and decide if the warning issued should be harsher or less than the default.
Reply With Quote
  #611  
Old 01-07-2006, 01:39 PM
MGSteve MGSteve is offline
 
Join Date: Aug 2002
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bubble #5
This is only a partial fix. The warning is still half there. The amount of warnings shown on thier account, and also their warning points are not reset....

So basically all this did was allow you to get past the error message and remove the warning gif image from their post...

No, what it fixed was not being able to remove the first post. I did say in my follow up post that it probably won't fix everyone's problems.

The bizarre thing is that I don't get half the problems removing warnings that you lot do... I just couldn't remove the first one, subsequent warnings have been removed fine.

Although it doesn't remove the warning icon from the post that led to the warning, that just looks like it doesn't do that (as opposed to suppost to but doesn't because of a bug.)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10018 seconds
  • Memory Usage 2,329KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (8)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete