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

Quote:
Originally Posted by MorrisMcD
Could this be why I got 60000 invalid PMs generated when I changed the functions? If so I can use this again maybe
i don't think so no 60000 ???? woow that can count.You changed the functions because you use inferno hacks right ?
Reply With Quote
  #773  
Old 03-16-2006, 05:33 PM
MorrisMcD's Avatar
MorrisMcD MorrisMcD is offline
 
Join Date: Nov 2003
Location: Cincinnati, Ohio
Posts: 415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi
i don't think so no 60000 ???? woow that can count.You changed the functions because you use inferno hacks right ?
Yep.. I went through and changed all the functions... I was so proud I got it working.. lol

But then 1 day later, I was investigating a PM issue where sometimes when you reply it tries to reply to the wrong pmid (therefore giving a permissions error pissing my users off... lol) or giving them a new pm submit form.. Very wierd.. I am probably going to have to deleted the entire pm system...

Anyway.. While in there I noticed about 60000 pms from user 0 to user 0.. They kept generating until I disabled your hack
Reply With Quote
  #774  
Old 03-16-2006, 10:12 PM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to run the kill_warn.php script, it gives me error

Code:
Fatal error: Call to a member function on a non-object in /home/domain/domain.com/forum/global.php on line 243
What that means?

Also, when Im in the admincp, trying to view the warn logs, when i press the view next page, it loads but then it doesn't go to the next page. it's still on page one.
Reply With Quote
  #775  
Old 03-17-2006, 08:34 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dai-kun
When I try to run the kill_warn.php script, it gives me error

Code:
Fatal error: Call to a member function on a non-object in /home/domain/domain.com/forum/global.php on line 243
What that means?

Also, when Im in the admincp, trying to view the warn logs, when i press the view next page, it loads but then it doesn't go to the next page. it's still on page one.
that means there is a function call in that script which isn't declarerd anywhere most likely there are references to $DB_site while it should be $db in 3.5.x you need to download the kill_warns attached
Reply With Quote
  #776  
Old 03-17-2006, 02:21 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

I've changed the settings page a bit (not admin_warn.php?act=manageoptions) but the vbulletin->options->warning hack

changed the way of setting the usergroups.Now you can choose from a dropdown list

you can do this like this while being in debug mode click edit setting and in the option code field

Code:
<select name=\"setting[$setting[varname]]\" tabindex=\"1\" class=\"bginput\">
<option value=\"8\" " . iif($setting['value']=='8','selected="selected"') . ">(COPPA) Users Awaiting Moderation(id4)</option>
<option value=\"6\" " . iif($setting['value']=='6','selected="selected"') . ">Administrators(id6)</option>
<option value=\"7\" " . iif($setting['value']=='7','selected="selected"') . ">Moderators(id7)</option>
<option value=\"2\" " . iif($setting['value']=='2','selected="selected"') . ">Registered Users(id2)</option>
<option value=\"5\" " . iif($setting['value']=='5','selected="selected"') . ">Super Moderators(id5)</option>
<option value=\"1\" " . iif($setting['value']=='1','selected="selected"') . ">Unregistered / Not Logged In(id1)</option>
<option value=\"4\" " . iif($setting['value']=='4','selected="selected"') . ">Users Awaiting Email Confirmation(id3)</option>
<option value=\"8\" " . iif($setting['value']=='8','selected="selected"') . ">Banned Users(id8)</option>
<option value=\"9\" " . iif($setting['value']=='9','selected="selected"') . ">Permanent_Ban(id9)</option>
</select>
all done
Reply With Quote
  #777  
Old 03-17-2006, 09:32 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dai-kun
Also, when Im in the admincp, trying to view the warn logs, when i press the view next page, it loads but then it doesn't go to the next page. it's still on page one.
yeah i could reproduce the problem but so far can't get it to work as it should (i'm honest) however for people with a big board that use this hack that could become verry annoying
Reply With Quote
  #778  
Old 03-18-2006, 02:04 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dai-kun
When I try to run the kill_warn.php script, it gives me error

Code:
Fatal error: Call to a member function on a non-object in /home/domain/domain.com/forum/global.php on line 243
What that means?

Also, when Im in the admincp, trying to view the warn logs, when i press the view next page, it loads but then it doesn't go to the next page. it's still on page one.
i fixed that problem in the admincp where it's staying on page 1 even through you click the next button that was annoying me :cross-eyed: if you want it give a yell

I also fixed the mod_warn.php file there whas an issue with missing navigation buttons when viewing the complete warning log

another fix i did is with the product XML if you install this system there is an issue with the colspan of tables used i fixed that it auto installs everythings needed for the system to work
Reply With Quote
  #779  
Old 03-19-2006, 02:40 AM
dai-kun dai-kun is offline
 
Join Date: Jul 2005
Posts: 238
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can u send me all the fixed files please? thanks

i've also reuploaded the kill_warn.php... and it gives me this error now:

Fatal error: Call to a member function on a non-object in /home/user/domain.com/forum/includes/functions_warning.php on line 31

and line 31+32 is..
Code:
	$to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'");  // Grab Member Its Going TO
	$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM
Reply With Quote
  #780  
Old 03-19-2006, 10:10 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi,

Well i just did a testrun with kill_warns.php and it returned no error messages ....... your php is acting weird i guess.... on line 14 off the file functions_warning.php there is

PHP Code:
global $vbulletin
you have that ?

all fixed files are attached

people if you use any of the attached files specially the product xml or admin_warn.php please ensure you have a recent complete backup off your database so IN CASE anything goes wrong you still have your complete database which can be restored if needed

files which start with "kill_" need to be uploaded to /forum/includes/cron
mod_warn.php to /forum/modcp
admin_warn.php to /forum/admincp
product-aws.xml needs to be imported using the product manager (carefull with this as you may not need this it just corrects some template issues and a bug where you would get "inavlid user id input" when trying to warn from the admincp)
Reply With Quote
  #781  
Old 03-19-2006, 11:23 PM
Roadster2004 Roadster2004 is offline
 
Join Date: Feb 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack.. But I don't seem to get it working (I must say that I'm a n00b @ vbulletin, but eager to learn)

I've first installed the hack, after that installed Delpih's new files to all the correct places ! But when I want to warn a member from the admincp. I get the error message:

Invalid User ID Input

Also I can only warn people in the admincp and not in the modcp.. When I log in to the modcp I only see:
View Issued Warnings
And nothing else..

Then my last (and probaly stupid question) but in the readme.txt It says to change some code in:
In Template postbit
and
Template postbit_legacy

But where can I find this Templates ?? :$ :$

Thanks in advance !
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:28 AM.


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.05522 seconds
  • Memory Usage 2,328KB
  • 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
  • (5)bbcode_code
  • (1)bbcode_php
  • (5)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