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

Reply
 
Thread Tools
Advanced Warning System 3.6.7 Details »»
Advanced Warning System 3.6.7
Version: 3.6.9(C), by Delphiprogrammi Delphiprogrammi is offline
Developer Last Online: Aug 2015 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.8 Rating:
Released: 08-19-2006 Last Update: 10-02-2007 Installs: 211
DB Changes Uses Plugins Template Edits
Code Changes Additional Files Is in Beta Stage  
No support by the author.

Advaned Warning System

This is a port of aws and i release this with permission...(yes i did ask the original author)

This version of the warning includes
  • 1 vbulletin 3.6.x product file (XML)
  • 1 admincp navigation XML
  • 1 functions file(functions_warning.php)
  • 3 images
  • 3 cronjobs
  • 1 modcp file to allow moderators to view warnings information without having to give admincp access(mod_warn.php)
  • 1 admincp file to manage the system options(admin_warn.php)
  • 1 XML to control permissions(bitfield_aws.xml)
For a completer list of the system features you can refer to this

This version will also require vbulletin 3.6.x to run.If you run 3.5.x or any other release then 3.6.x you will see a message.

This system is tested for a long time and i believe it's stable enough for a public release HOWEVER since this is a major hack and i'm just human please consider this first public run still as "beta"

instructions ow howto install can be found in the docs directory within the zip

statistics
  • 25 plugins
  • 27 templates
  • 5 new MySQL tables
  • 3 standard vbulletin tables alterd (user,post,and usergroup)
  • 827 phrases
  • 47 settings
updates

A problem has been found where no link is provided to view your own warnings(normal users) in the member profile only i fixed this.To get the fix you will need to reedit your "MEMBERINFO" template and reimport product-aws.xml (set allow overwrite to yes)

15-9-2006
I moved the cron jobs from the install/uinstall code to the product file.
version check url now uses https://vborg.vbsupport.ru/misc.php?...rsion&t=124477

to upgrade read upgrade.txt in the docs directory

24-9-2006

a product depency whas added the system will no longer install on PHP 5 (in response to continued error reports on that PHP version)

to report a possible bug

please go the system bugtracker here you can use the folowwing account

username:bugreporter
password:awsbug

no need to register yourself


30-11-2006
People on PHP 5 can follow this instructions to avoid the PHP version related error message BUT remember you are on your own if you do this.I won't upgrade my PHP until PHP 5 is there main stable release (www.php.net)


1-1-2007
A bug has been reported in the system.This bug whas causing vbulletin to throw an error when you try to use admincp => users=> add a new user

Quote:
Fatal error: Call to a member function clean_gpc() on a non-object in class_dm_user.php(2385) : eval()'d code on line 35
Solution

Edit plugin "AWS:warn link in usermanager" and replace all code with this

PHP Code:
$quicklinks["../Warn.php?" $vbulletin->session->vars['sessionurl'] . "do=WarnUserNoPost&id=" $vbulletin->GPC['userid']] = $vbphrase['aws_warn_user_admin']; 
i'll update the package when i get home


Another Bug is fixed

This release includes a fix for the problem "call to member function on a non object class_dm_user.php)" when you try to add a new user manaually (after submitting the form)

Supporters / CoAuthors

Show Your Support

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

Comments
  #612  
Old 02-13-2009, 04:03 AM
tehPARADOX tehPARADOX is offline
 
Join Date: Feb 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit #2: Nvm
Reply With Quote
  #613  
Old 08-23-2009, 07:35 AM
tehPARADOX tehPARADOX is offline
 
Join Date: Feb 2007
Posts: 112
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi guys, it's me again.

This modification has always been semi-working on my 3.8+ installation. The only problem that I noticed is the cron job that is set to automatically remove expired warnings, wasn't doing it at all. The job would run, but the warnings weren't removed. Tried running manually and I noticed the first error. After I fixed that error, I encountered another error. And one more after that.

Since then I've been going through Admincp > Advanced Warning System > View Warnings Log. And removing the expired warnings individually. As you can tell, this is quite troublesome. But I diligently kept up with it for a year because I felt this modification was much more useful than the default infraction system.

Well anyways, I managed to be able to find and fix all the errors regarding the cron to successfully remove expired warnings like it should.

Open "kill_warns.php"

1. Line 45
Find:
Code:
    LEFT JOIN " . TABLE_PREFIX . "warningype wt ON(wt.warningtypeid = w.warned_warning_id)
Replace with:
Code:
    LEFT JOIN " . TABLE_PREFIX . "warningtype wt ON(wt.warningtypeid = w.warned_warning_id)
2. Line 114
Find:
Code:
        $user = array_merge($user,convert_array_to_bits($user['options'],$vbulletin->bf_misc_useroptions));
Replace with:
Code:
        $user = array_merge((array)$user,convert_bits_to_array($user['options'],$vbulletin->bf_misc_useroptions));
3. Line 163
Find:
Code:
                $warnerdata = $vbulletin->db->query_read("SELECT username, email FROM " . TABLE_PREFIX . "user WHERE userid = $vbulletin->options[warn_warner]");
Replace with:
Code:
                $warnerdata = $vbulletin->db->query_read("SELECT username, email FROM " . TABLE_PREFIX . "user WHERE userid = '{$vbulletin->options['warn_warner']}'");
Reply With Quote
  #614  
Old 09-02-2009, 11:14 AM
maxie maxie is offline
 
Join Date: Mar 2008
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hope this mode will update into 3.8.x or 3.8.4
Reply With Quote
  #615  
Old 03-25-2010, 04:18 PM
puddlove puddlove is offline
 
Join Date: Dec 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it be at all possible for this to be updated to work on 3.8.4? Looks really useful.
Reply With Quote
  #616  
Old 07-08-2012, 03:27 PM
puddlove puddlove is offline
 
Join Date: Dec 2009
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TSR View Post
Delphiprogrammi, i tried reporting this to the site in the txt, it was down for me.
Here is 1 the 1 main error i have seen through some testing.

1) on warning, the site admin username shows up in the private message listing area. However, when you open the pm the selected hidden warner id appears correctly.
So again, in pm the correct hidden warner id is working, but if you view all the pms in your box, it shows who it came from.

If i remove the warning via admincp, the hidden warner id works in private message listing and in the private message.

* 2 images attached*
I'm having the same problem as TSR here. Apart from that, everything works fine.

If you warn a user, in the User CP PM area it shows the admin username rather than the username of the hidden warner account. When you click to read the actual PM, the hidden warner username is shown correctly as it should be. It's only in the main User CP PM area that the incorrect admin username is shown instead of the hidden warner account.

Anyone know how to fix this? It can be done - I managed to fix it 2 years ago to always show the hidden warner account in all areas. I think I edited the Warn.php file. But unfortunately, I can't remember how I did it, and I lost the edit. Someone please help!
Reply With Quote
  #617  
Old 03-11-2014, 11:30 PM
Elixar's Avatar
Elixar Elixar is offline
 
Join Date: Jan 2014
Posts: 579
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any chance of this being upgraded to 4x?
Reply With Quote
  #618  
Old 03-11-2014, 11:33 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elixar View Post
Any chance of this being upgraded to 4x?
Can't you use the infraction system to do this?
Reply With Quote
  #619  
Old 03-12-2014, 09:12 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

While I am not the author of this hack, I am the original author of the Advanced Warning System, back when vB was at 3.0.xx.

Believe me, the infractions system that vB currently has, leaves a lot to be desired, compared to AWS.

I have managed to implement most of the AWS features in vB 4.2.2, but I didn't spend the time to make it an installable hack. My moderators were all over me, when we moved from 3.0.xx to 4.2.xx, so I had to do my best to give them a working version of AWS. I also don't have the faintest idea of how to make an installable package. So yes, I have it working in 4.2.2 (at least 80% of the original hack) but no, I can't release any of it.

Sorry!
Reply With Quote
  #620  
Old 01-03-2015, 06:38 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

Well this has not been ported because i thought everybody whas using the infraction system which is much more advanced.

I still have a /testvb/ where i can try things out i'm on 4.4.2 PL 3 not planning to go vb 5 .

I'm not promosing anything yet but i'll see what i can do i just didn't realize people where still using this .


I've had a quick look and there are a few things changed since vb 3.x.x
  • fetch_template calls must be replaced with the vB_Template class
  • the template syntax changed so all templates must be adjusted accordingly
Reply With Quote
Благодарность от:
M.C.
  #621  
Old 01-04-2015, 09:42 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey Erik, good to see you back here!

I have some templates that I can send you, in case you are interested in continuing the development of AWS. Just let me know.

As I said, I have it working on my site, but not in a condition I can release to the puclic.
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 07:09 AM.


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.12263 seconds
  • Memory Usage 2,333KB
  • 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
  • (6)bbcode_code
  • (1)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete