Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > Advanced Warning System (AWS)
FAQ Community Calendar Today's Posts Search

Closed Thread
 
Thread Tools
Not working correctly Details »»
Not working correctly
Version: , by DaveBeel DaveBeel is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 03-06-2005 Last Update: Never Installs: 0
 
No support by the author.

I have just installed the Warning system from scratch and so far I am impressed.

There are a few things though that you say it can do, but I do not have available in my options.

Screenshot

In the above screenshot there are a lot more options, including a Manage Warning Options. I do not have this option. I purely have Control Warnings, Warning Logs and Unban Banned Users.

I do not have any of the options to user hierarchical schema, banned usergroup etc.

Also the feature is decribed where the warning level is shown under the users profile and next to his posts. I don't have this facility either.

Please adivise. Thankyou

Further to this my moderators also don't have the ability to give out warnings. Even though they are still the default usergroup number as suggested.

Show Your Support

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

Comments
  #2  
Old 03-07-2005, 05:08 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Which version did you install? Did you downloaded the latest zip? From the description, either you haven't downloaded the latest zip file, or you have not run the proper install script.

Use the uninstaller to uninstall the changes, then use the install_warn.php from the latest zip.The warning options screen shot is quite old, but you should see a lot more options than those shown.

Let me know if this works.

Rgds
  #3  
Old 03-08-2005, 04:46 PM
DaveBeel DaveBeel is offline
 
Join Date: Mar 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sv1cec
Which version did you install? Did you downloaded the latest zip? From the description, either you haven't downloaded the latest zip file, or you have not run the proper install script.

Use the uninstaller to uninstall the changes, then use the install_warn.php from the latest zip.The warning options screen shot is quite old, but you should see a lot more options than those shown.

Let me know if this works.

Rgds
I installed the latest script mate. Only downloaded it two days ago and followed the instructions to the tee.
  #4  
Old 03-09-2005, 04:32 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do me a favor. Uninstall the hack, using the uninstaller and install it again running the install_warn.php file from the admincp directory. Download the latest zip first.

Rgds
  #5  
Old 03-15-2005, 10:46 PM
DaveBeel DaveBeel is offline
 
Join Date: Mar 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay done exactly as you said and ran the uninstaller, then re-ran the installer and I still only have Control warnings, Warning Logs and Unban Banned Users. No Manage Warning Options.

Please advise....
Screenshot Attached.
Attached Files
File Type: (21.3 KB, 14 views)
  #6  
Old 03-16-2005, 07:43 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought I answered this, this morning, but my answer is not here!!!

In any case, have you done the edits properly? It looks as if the file admincp/index.php is not edited, as it is suggested. The missing menu options, are in that file.

Rgds
  #7  
Old 03-16-2005, 09:30 PM
Delphiprogrammi Delphiprogrammi is offline
 
Join Date: Feb 2004
Location: Landen(Belgium)
Posts: 1,335
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah you didn't edited the file $admncpdir/index.php open this file and find

PHP Code:
$printhr false;
    if (
can_administer('canadminstyles'))
    { 
above that add

PHP Code:
$printhr true ;
if (
$aws=='1')
{
    
construct_nav_option 'Manage Warning Options''admin_warn.php?act=manageoptions''<br />' ) ;
    
construct_nav_option 'Manage Warning Types''admin_warn.php?act=view''<br />' ) ;
    
construct_nav_option 'Warn a User''admin_warn.php?act=warnuser''<br />' ) ;
    
construct_nav_option 'View User Warnings''admin_warn.php?act=warnsperuser''<br />' ) ;
    
construct_nav_option 'View Warnings Log''admin_warn.php?act=viewlogs''<br />' ) ;
    
construct_nav_option 'View Banned Users''admin_warn.php?act=viewbannedusers''<br />' ) ;
    if (
$warn_opts['automaticpm'] == 'Yes')
    {
            
construct_nav_option 'View Auto-Warned PMs''admin_warn.php?act=viewwarnedpms''<br />' ) ;
    }
    
construct_nav_option 'Prune Warnings''admin_warn.php?act=prune''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per Type''admin_warn.php?act=viewstats1''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per Warner''admin_warn.php?act=viewstats2''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per User''admin_warn.php?act=viewwarnedusers''<br />' ) ;
    
construct_nav_option 'Statistics - Bans per User''admin_warn.php?act=viewbans''<br />' ) ;


    
construct_nav_group 'Warning System''<hr />' ) ;

that should do it
  #8  
Old 03-16-2005, 11:08 PM
DaveBeel DaveBeel is offline
 
Join Date: Mar 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Delphiprogrammi
yeah you didn't edited the file $admncpdir/index.php open this file and find

PHP Code:
$printhr false;
    if (
can_administer('canadminstyles'))
    { 
above that add

PHP Code:
$printhr true ;
if (
$aws=='1')
{
    
construct_nav_option 'Manage Warning Options''admin_warn.php?act=manageoptions''<br />' ) ;
    
construct_nav_option 'Manage Warning Types''admin_warn.php?act=view''<br />' ) ;
    
construct_nav_option 'Warn a User''admin_warn.php?act=warnuser''<br />' ) ;
    
construct_nav_option 'View User Warnings''admin_warn.php?act=warnsperuser''<br />' ) ;
    
construct_nav_option 'View Warnings Log''admin_warn.php?act=viewlogs''<br />' ) ;
    
construct_nav_option 'View Banned Users''admin_warn.php?act=viewbannedusers''<br />' ) ;
    if (
$warn_opts['automaticpm'] == 'Yes')
    {
            
construct_nav_option 'View Auto-Warned PMs''admin_warn.php?act=viewwarnedpms''<br />' ) ;
    }
    
construct_nav_option 'Prune Warnings''admin_warn.php?act=prune''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per Type''admin_warn.php?act=viewstats1''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per Warner''admin_warn.php?act=viewstats2''<br />' ) ;
    
construct_nav_option 'Statistics - Warnings per User''admin_warn.php?act=viewwarnedusers''<br />' ) ;
    
construct_nav_option 'Statistics - Bans per User''admin_warn.php?act=viewbans''<br />' ) ;


    
construct_nav_group 'Warning System''<hr />' ) ;

that should do it
Okay I am nearly there now guys and I thank you all for your assistance.

I have two remaining little problems and I think you may be able to sort them quickly. I have obviously typed something incorrectly somewhere.

Firstly. On the posts I have two lots of Warn and View commands at the top of each thread. Obviously I have duplicated somewhere but I would appreciate knowing which file to look at.

The second one is when I issue someone a warning I get the following message...

Database error in vBulletin 3.0.7:

Invalid SQL: update vb3_user set warning_level='2', warnings='1' where userid='4'
mysql error: Unknown column 'warnings' in 'field list'

mysql error number: 1054

Not sure what the problem is here.

If you think you could fix it quickly for me John I would appreciate it. Whether that be you telling me where I should go, or whether i give you access I am willing to do that.

Many thanks.
  #9  
Old 03-17-2005, 03:35 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DaveBeel
Okay I am nearly there now guys and I thank you all for your assistance.

I have two remaining little problems and I think you may be able to sort them quickly. I have obviously typed something incorrectly somewhere.

Firstly. On the posts I have two lots of Warn and View commands at the top of each thread. Obviously I have duplicated somewhere but I would appreciate knowing which file to look at.

The second one is when I issue someone a warning I get the following message...

Database error in vBulletin 3.0.7:

Invalid SQL: update vb3_user set warning_level='2', warnings='1' where userid='4'
mysql error: Unknown column 'warnings' in 'field list'

mysql error number: 1054

Not sure what the problem is here.

If you think you could fix it quickly for me John I would appreciate it. Whether that be you telling me where I should go, or whether i give you access I am willing to do that.

Many thanks.
For the second problem, run this query:

ALTER TABLE `".TABLE_PREFIX."user` add `warnings` int(5) default '0'

Remeber to change the ".TABLE_PREFIX." to your prefix, which I think is vb3_

For the first problem, check the mods in your postbit or postbit_legacy template. You have probably missed an <if> or some condition is not right.

Rgds
  #10  
Old 03-19-2005, 01:30 PM
DaveBeel DaveBeel is offline
 
Join Date: Mar 2005
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm getting there mate. I really appreciated your assistance.

The database error is now clear, for some reason the database was missing both the warnings and warning_bans options. I manually added them and it seems to be working now.

I can't see anything in my postbit or postbit_legacy files so I have attached them to see if anyone on here can see a problem.

Another problem which has appeared since is when I click on remove warning I get the following.....

"Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1946"
(This is at the top of the screen)

Then it says
Error
An Error Has Occured!
An error has occured, the following message has been left below:
Invalid User ID Input

Hope you can help.
Thanks
Closed Thread


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 01: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.07227 seconds
  • Memory Usage 2,345KB
  • Queries Executed 24 (?)
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
  • (4)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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (1)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete