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
  #232  
Old 02-16-2007, 03:07 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alexhirurg View Post
bugreport ! i've not understood the condition - when it happening, but it happening often...

Look at first comma after VALUES - there is strange... no userid, no username. Why it can be ?
this report from one of the administrators account.

Code:
Invalid SQL:
 
                       INSERT INTO pmtext_warned
                       (fromuserid, fromusername, title, before_title, message, before_message, touserarray, dateline)
                       VALUES
                       (,
                       '',
                       '',
                       '<i>The user did not enter a title</i>',
                       'B?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the mighty mountains\nfill your chest with burning desire,\nI will play the langspil [violin-fiddle-like instrument]\nand soothe your mind\n\nB?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the cruel storms rage\nand the dark blizzard crouches above,\nI shall light five candles\nand drive away the winter/twilight shadows',
                       'B?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the mighty mountains\nfill your chest with burning desire,\nI will play the langspil [violin-fiddle-like instrument]\nand soothe your mind\n\nB?*um b?*um bambaló \nBambaló og dillidillidó\nMy little friend I lull to rest\nBut outside, a face looms at the window\n\nWhen the cruel storms rage\nand the dark blizzard crouches above,\nI shall light five candles\nand drive away the winter/twilight shadows',
                       '',
                       1171311326);
 
MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
                       '',
                       '',
                       '<i>The user did not enter a title</i>',
                       'B?*um b?*um b' at line 4
Error Number : 1064
Date         : Monday, February 12th 2007 @ 12:15:26 PM
Script       : http://www.linkinparkforums.com/editpost.php?do=updatepost&postid=463949
Referrer     :
IP Address   : 194.144.42.227
Username     : Friðbjörn
Classname    : vB_Database
that is caused by the automatic warnings future disable it and the errormessages will disappear until i can have a look in fixing that
Reply With Quote
  #233  
Old 02-16-2007, 03:09 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chikkoo View Post
Though I wanted to install AWS in 3.5, since it was in Beta, I was using Inferno Warning System. Now I am still continuing with it, though it is not 100% working (adding warnings but not banning).

Now I am planning to switch to AWS 3.6.1, before that some queries:

1) Can I import the Warning points from Inferno Warning System?
2) Inferno had some warning blocks (green+yellow+red), does your warning levels/points have such blocks/pictures?
3) Does every one can see other members warning points and warning reason?

Thanks for your support.
1)nope
2)nope
3)No only mods and up and the warned person (his own only)
Reply With Quote
  #234  
Old 02-16-2007, 03:13 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alexhirurg View Post
also i want to ask authors - is it possible to embed manual changes to templates to the xml ?
like as parse_templates plugin, or - i don't know the way to change templates in install/uninstall scripts - may be somebody know ?
only one way that i can invent - get it by fetch_template, change and store directly to the database by SQL query..
Any thinks ?
I think you mean to have the template edits automated ? i think that would be impossible
Reply With Quote
  #235  
Old 02-19-2007, 08:16 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi people,

I have added a new thing.Using the new "adminmessage" system that whas introduced by jelsoft in one of 3.6.x beta's don't remember exactely which one.When you install the system (a complete new install not an upgrade) you will see a message on what todo next toget the system working on your board.This is most to help new vBulletin "modding" users to get started quickly and when you uninstall the system you will see a message telling you which file(s) are save to remove from your server
Reply With Quote
  #236  
Old 02-24-2007, 10:40 AM
Puntal Puntal is offline
 
Join Date: May 2006
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for great hack.

I installed it,and works fine,but since installing it,we cannot see avatars or signatures anymore!!!

I am using Postbit and not postbit_legacy

Thanks for help in advance.
Reply With Quote
  #237  
Old 02-24-2007, 12:35 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Puntal View Post
Thanks for great hack.

I installed it,and works fine,but since installing it,we cannot see avatars or signatures anymore!!!

I am using Postbit and not postbit_legacy

Thanks for help in advance.
ey don't yell that's completely normal.There is a setting in your warning options that controls this."Avatar Cut Off limit" and "Signature Cutoff Limit" set both to "0" (zero) if you want to ALWAYS allow (regardless off any warnings) members to keep there avatar and signature)
Reply With Quote
  #238  
Old 02-24-2007, 08:54 PM
gusfune's Avatar
gusfune gusfune is offline
 
Join Date: Jan 2007
Location: Bras?lia, Brazil
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to moderators warn other moderators using this hack? If not, would it be possible in a near future?
Reply With Quote
  #239  
Old 02-25-2007, 06:09 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gusfune View Post
Is it possible to moderators warn other moderators using this hack? If not, would it be possible in a near future?
No Not By Default But You Could Try Removing The Moderator's Usergroup From The Protected Usergroups ....
Reply With Quote
  #240  
Old 02-25-2007, 08:14 PM
alexhirurg alexhirurg is offline
 
Join Date: Jan 2007
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi View Post
I think you mean to have the template edits automated ? i think that would be impossible
I think that using preg_replace() and other string funcs will help to do it automatically
but i've asked - is this possible to transfer changing templates to the plugin that will hook entry named "parse_templates" ?
I did it in mine 2 plugins w/o any hard work... but your have many changes, of course...
Reply With Quote
  #241  
Old 02-27-2007, 02:23 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alexhirurg View Post
I think that using preg_replace() and other string funcs will help to do it automatically
but i've asked - is this possible to transfer changing templates to the plugin that will hook entry named "parse_templates" ?
I did it in mine 2 plugins w/o any hard work... but your have many changes, of course...
$vbulletin->templatecache[] = str_replace() ...... and so on BUT you have to "give" a comment string on where to insert the changes.Because this system contains many changes this is something you have todo by hand.I think you have to first insert a comment into the template(s) that need to be modified then vBulletin can "parse" them through that hook.I've seen it done in other mods

HTML Code:
<!-- this is a comment -->
or a "unique" part of the code will do to
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 04:41 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.05237 seconds
  • Memory Usage 2,336KB
  • 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
  • (1)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_php
  • (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
  • (2)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