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

Quote:
Originally Posted by GoTTi
wait, those instructons is for vb 3.0.x AWS upgrading. im on 3.5.x now and i want to upgrade from the older version.

those instructions dont explain that to me.
then you would simply import the product XML and upload the files to there appriciate locations that will install the needed plugins and such .......
Reply With Quote
  #813  
Old 03-29-2006, 04:05 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Now, you all understand why I am reluctant to do any work on this?

Gotti is asking a question, and I have no answer. Because I didn't do the initial packaging and because I have no idea how vb 3.5 handles these issues.

Gotti, my answer would be, just follow the installation instructions. It shouldn't harm your tables, so you won't loose any information and the installation script will install the plugins etc. Then all you may have to do manually, is upload the php files.

Delphi, can you post here all the files you have changed so that I can upload them in the hack's area instead of being in every post in here?

Sorry guys, I explained to you in the past, this is NOT easy for me, and I understand your frustration, but there is nothing much I can do.
i didn't change anything to /includes/functions_warning.php and showcomment.php
Reply With Quote
  #814  
Old 03-29-2006, 08:28 PM
maharajah maharajah is offline
 
Join Date: Feb 2005
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Too complicated
too many issues with installation and upgrading from 3.0.x to 3.5.x

No Instructions to upgrade.
I think i will try out Infernos.

Its a pity coz the AWS has much more features.

.
Reply With Quote
  #815  
Old 03-29-2006, 11:30 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey John are you still using the test board I let you use?

also just wondering on one thing I get this error when trying to install the RPG inferno because of a problem with AWS i've been told, what do I need to do to make the aws work with the RPG

Code:
Fatal error: Cannot redeclare sendpm() (previously declared in /*/*/*forums/inferno.php:572) in /*/*/*/forums/includes/functions_warning.php on line 23

I have noticed there has been an update, what things have been fixed in the update, and what are the upgrade instructions?

THanks
Reply With Quote
  #816  
Old 03-30-2006, 11:21 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok so i uploaded everything, did the import, and get this error:

Quote:
Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT INTO setting
(varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, product)
VALUES
(
'warn_version',
'version',
'3.4.16',
'3.5.0',
'free',
'',
1,
0,
1,
'aws'
);

MySQL Error : Duplicate entry 'warn_version' for key 1
Error Number : 1062
Date : Thursday, March 30th 2006 @ 05:20:04 AM
Script : http://www.site.com/forums/admincp/plugin.php
Referrer : http://www.site.com/forums/admincp/p...?do=productadd
IP Address : 70.35.43.105
Username : GoTTi
Classname : vb_database
Reply With Quote
  #817  
Old 03-30-2006, 11:37 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hornstar1337
Hey John are you still using the test board I let you use?

also just wondering on one thing I get this error when trying to install the RPG inferno because of a problem with AWS i've been told, what do I need to do to make the aws work with the RPG

Code:
Fatal error: Cannot redeclare sendpm() (previously declared in /*/*/*forums/inferno.php:572) in /*/*/*/forums/includes/functions_warning.php on line 23

I have noticed there has been an update, what things have been fixed in the update, and what are the upgrade instructions?

THanks
are you by any chance using inferno hacks ? if yes that's the reason why you get this error you could open /includes/functions_warning.php and change the function to SendPmAws or something but then you must change all calls to the changed function
Reply With Quote
  #818  
Old 03-30-2006, 11:39 AM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoTTi
ok so i uploaded everything, did the import, and get this error:
that's normal .... you need to backup your aws tables then if you have a backup delete them (DROP) when that's done you could do the import and no errors should appaer when all is working allright you can restore your warnings table and warning_types etc etc
Reply With Quote
  #819  
Old 03-30-2006, 11:56 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i goto import now, and i get settings table errors.

i look in settings and search for warn, and get the tables in the pic attached

when i drop them and rerun the install i get the same error.
Reply With Quote
  #820  
Old 03-30-2006, 04:22 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoTTi
i goto import now, and i get settings table errors.

i look in settings and search for warn, and get the tables in the pic attached

when i drop them and rerun the install i get the same error.
okay .. be carefull with this

PHP Code:
SELECT FROM  TABLE_PREFIX setting WHERE varname LIKE 'warn_%'
that should show you all settings from the systems (just to give you an overview) finally

PHP Code:
DELETE FROM TABLE_PREFIX setting WHERE varname LIKE 'warn_%'
that should delete all the settings from used by the system after that uninstall the product XML and reinstall it
Reply With Quote
  #821  
Old 03-30-2006, 06:55 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi
are you by any chance using inferno hacks ? if yes that's the reason why you get this error you could open /includes/functions_warning.php and change the function to SendPmAws or something but then you must change all calls to the changed function

Okay I understand the part about going to /includes/functions_warning.php
but which function needs to be changed to SendPmAws is it semdpm() or just the sendpm part?

And what are all the calls? and where are they? which files?


Thanks


And is this the only function that needs to be changed?

Thanks
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 09:11 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.05707 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (7)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