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
  #502  
Old 12-10-2005, 03:30 AM
turkforum turkforum is offline
 
Join Date: Oct 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all,Thank you very much sv1cec for this great great hack..

Quote:
When someone is Perm Banned, it puts them in the usergroup I specified, however it does not use that usergroups default title name, instead it just says Permanently Banned on their posts. How do I change this? Ive searched phrases and cant find a way to change it to match what that usergroup really says.
Most of the phrases are in functions_warning.php (aws35\upload\includes) You can change it to what ever you like..

By the way, I created a new group, Moderator helper..(not even protected group) What they do is just move/del/edit things but I dont want them to have power for warnng members..Is there any option that just specific groups can use aws?
Reply With Quote
  #503  
Old 12-10-2005, 03:54 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by WNxWakko
Can anyone answer my question? bump.
Edit includes/functions_warning.php and find:

Code:
$title="Permanently Banned";
I believe that if you remove that all together, then the software will use the defaiult title of the user group, but I have never tested it. If it does not, just change the Permanently Banned to whatever you like.

Quote:
Originally Posted by turkforum
I created a new group, Moderator helper.. What they do is just move/del/edit things but I dont want them to have power for warnng members..Is there any option that just specific groups can use aws?
I have never tried that, but I think that if you enter your admin/smod/mod groups in AWS options, and if you do not enter that particular group (mod helpers) then your mods should be able to use AWS, but your moderator helpers will not. That's what you want, right?
Reply With Quote
  #504  
Old 12-10-2005, 04:07 AM
turkforum turkforum is offline
 
Join Date: Oct 2004
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
I have never tried that, but I think that if you enter your admin/smod/mod groups in AWS options, and if you do not enter that particular group (mod helpers) then your mods should be able to use AWS, but your moderator helpers will not. That's what you want, right?
In AWS User Group Options, I didn't even mention modhelper group,John.. Moderator Usergroup is just 7 and Modhelper is 46....I think the problem is when I add them for a forum, they automaticly earn that power in that forum..What would you suggest?
Reply With Quote
  #505  
Old 12-10-2005, 08:28 PM
Johannes de Le?n Johannes de Le?n is offline
 
Join Date: Dec 2004
Location: Gallaecia, Las Espa?as
Posts: 36
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a SQL error and somehow it tells me it is due to this extension, can anyone lend me a hand please and tell me how to fix it?

Btw, I get it everytime I try to save a profile from the admincp.

Database error in vBulletin 3.5.2:

Code:
Invalid SQL:
UPDATE user SET
	passworddate = xxxxxxxxx,
	password = 'xxxxxxxxxxxxxxxxxx',
	### Bitfield: user.options ###
		options = IF(options & 8, options - 8, options),
		options = IF(options & 1024, options, options + 1024),
		options = IF(options & 16, options, options + 16),
		options = IF(options & 256, options - 256, options),
		options = IF(options & 512, options - 512, options),
		options = IF(options & 32, options - 32, options),
		options = IF(options & 2048, options, options + 2048),
		options = IF(options & 4096, options - 4096, options),
		options = IF(options & 1, options, options + 1),
		options = IF(options & 2, options, options + 2),
		options = IF(options & 4, options, options + 4),
		options = IF(options & 64, options, options + 64),
		options = IF(options & 128, options - 128, options),
		options = IF(options & 32768, options - 32768, options),
	usertitle = 'xxxxxx',
	customtitle = 2,
	username = 'xxxxx',
	email = 'xxxx@xxxx.xxx',
	languageid = 0,
	homepage = '',
	birthday_search = '',
	birthday = '',
	showbirthday = 2,
	icq = '',
	aim = '',
	yahoo = '',
	msn = '',
	skype = '',
	parentemail = '',
	posts = 105,
	referrerid = 0,
	ipaddress = '',
	alerts = 0,
	warnings = 2,
	warning_level = 0,
	warning_bans = 0,
	usergroupid = 12,
	displaygroupid = 12,
	membergroupids = '18',
	reputationlevelid = 7,
	reputation = 20,
	autosubscribe = 0,
	threadedmode = 0,
	showvbcode = 2,
	styleid = 0,
	timezoneoffset = '0',
	daysprune = -1,
	joindate = 1107082800,
	lastactivity = 1134253080,
	lastpost = 1109052000
WHERE userid = 223;

MySQL Error  : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date		 : Saturday, December 10th 2005 @ 10:24:47 PM
Script	   : http://xxxxx.xxxxxx.xxx/admincp/user.php
Referrer	 : http://xxxxx.xxxxxx.xxx/admincp/user.php?do=edit&u=223
IP Address   : xxx.xxx.xxx.xx
Username	 : Johannes de Le?n
Classname	: vb_database
Reply With Quote
  #506  
Old 12-11-2005, 12:32 PM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any place I can view all the phrases for this system, and this system only?

And if not, please list all of the phrases that applies to this system, so people can translate them !

My site is mostly visited by children in the age of 8-16 and most of them would be clueless if they recieved warnings and such in english.
(found the templates, but not all the phrases)
Reply With Quote
  #507  
Old 12-11-2005, 02:58 PM
H@K@N H@K@N is offline
 
Join Date: Dec 2004
Location: Dortmund
Posts: 75
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Johannes de Le?n
I've got a SQL error and somehow it tells me it is due to this extension, can anyone lend me a hand please and tell me how to fix it?

Btw, I get it everytime I try to save a profile from the admincp.

Database error in vBulletin 3.5.2:



MySQL Error : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date : Saturday, December 10th 2005 @ 10:24:47 PM
Script : http://xxxxx.xxxxxx.xxx/admincp/user.php
Referrer : http://xxxxx.xxxxxx.xxx/admincp/user.php?do=edit&u=223
IP Address : xxx.xxx.xxx.xx
Username : Johannes de Le?n
Classname : vb_database[/code]
Have similar Error on VB3.5.2

Code:
Database error in vBulletin 3.5.2:

Invalid SQL:
update warning_types set
	warn_name='Tesekk?r Mesajlari',
	warn_desc='Kisa Mesaj Cevap yazildigi icin',
	warn_points='1',
	warn_maturity='14',
	warn_permban='No',
	warn_type='Yes',
	warn_alert='Yes',
	warn_alertcomment='L?tfen kisa Mesajlar yazmayalim, Emege Saygi g?sterelim ....'
	where tid='1';

MySQL Error  : Unknown column 'warn_alert' in 'field list'
Error Number : 1054
Date         : Sunday, December 11th 2005 @ 05:53:57 PM
Script       : http://www.mydomain.com/admincp/admin_warn.php
Referrer     : http://www.mydomain.com/admincp/admin_warn.php?act=edit&tid=1
IP Address   : 84.xxx.xxx.xxx
Username     : H@K@N
Classname    : vb_database

gr33tz
Reply With Quote
  #508  
Old 12-13-2005, 04:30 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is it me or that hack makes the forum run slower?
Reply With Quote
  #509  
Old 12-13-2005, 05:11 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack is not phrased. Someone emailed me that he is trying to come up with a phrased version, but I do not think it is available yet. There are phrases all over the place, since the original hack this was based on, was like that, and I didn't know better, when I started writing this.

As for running slower, there is no reason why this hack would make a board running slower, at least not at a significant degree. Here is an answer I've given in the past, to someone who asked about the load this hack puts on your server.

It's not a server-intensive hack, most of the information required for the program, are already fetched by vB when the other information is fetched. For example the decision to show the "Warn XYZ" link etc, is fetched when the postbit information and the $bbuserinfo information is fetched, so no separate query is needed. So is the information about a user warnings, warning points and bans.

When you warn someone, there are of course a couple of queries run, but that does not happen every second, does it?

As for the scheduled tasks, these should be run once a day, so nothing spectacular there either.

Overall, this should not add significant burden to your server.
Reply With Quote
  #510  
Old 12-13-2005, 05:19 AM
MissKalunji's Avatar
MissKalunji MissKalunji is offline
 
Join Date: Aug 2003
Location: Canada
Posts: 2,845
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
This hack is not phrased. Someone emailed me that he is trying to come up with a phrased version, but I do not think it is available yet. There are phrases all over the place, since the original hack this was based on, was like that, and I didn't know better, when I started writing this.

As for running slower, there is no reason why this hack would make a board running slower, at least not at a significant degree. Here is an answer I've given in the past, to someone who asked about the load this hack puts on your server.

It's not a server-intensive hack, most of the information required for the program, are already fetched by vB when the other information is fetched. For example the decision to show the "Warn XYZ" link etc, is fetched when the postbit information and the $bbuserinfo information is fetched, so no separate query is needed. So is the information about a user warnings, warning points and bans.

When you warn someone, there are of course a couple of queries run, but that does not happen every second, does it?

As for the scheduled tasks, these should be run once a day, so nothing spectacular there either.

Overall, this should not add significant burden to your server.
thanks works fine anyways
[high]* MissKalunji install[/high]
Reply With Quote
  #511  
Old 12-13-2005, 07:46 AM
Luggruff's Avatar
Luggruff Luggruff is offline
 
Join Date: Apr 2005
Posts: 239
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm, can't seem to find where in the code the button is located??
Searched through all of the templates, but nothing.

(the reason why I can't see it anywhere on the page is because my images folder on my ftp has become unavailable for any changes, so I had to put the 3 warn images in a folder of their own, and now have to find the code so I can change the location..)

And now I've translated as much as I can find to translate, guess I'll have to be satisfied with myself for now.
But I can't seem to find where the text for the topic or post text is for the posts that show up in a selected forum (selected that all warnings show in a selected forum)

Topic on post:
Warning: User: "user" - Warner: Luggruff - Date: 11-12-2005 at 17:45

Leading text in post:
User "User" received the following Warning/Alert by Luggruff on 11-12-2005 at 17:45 :

wich template is this?? can't find o_0
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 06:52 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.05976 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
  • (3)bbcode_code
  • (6)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
  • (3)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