vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Advanced Warning System (Beta Version) (https://vborg.vbsupport.ru/showthread.php?t=95921)

Scout 10-25-2005 08:53 PM

Hello from Russia!

Members can`t read warn-lists?

Snoop-It 10-25-2005 09:56 PM

Quote:

Originally Posted by Andreas
The vBulletin 3.5 product system does handle settings that are attached to products.
However, if you already have the settings from the 3.0 Version in your database, you will run into problems.

Running this query before installing the product XML should take care of this:
[sql]
UPDATE setting SET product='aws' WHERE varname IN ('warn_version', 'warn_hierarchical', 'warn_automatic', 'warn_automaticpm', 'warn_autocomments', 'warn_automatic_warner', 'warn_warner', 'warn_collector', 'warn_banned_limit', 'warn_points_before_banned', 'warn_warnings_before_banned', 'warn_banned_usergroup_id', 'warn_protected_usergroups', 'warn_troll_usergroup_id', 'warn_restore_groupid', 'warn_incr_ban_days', 'warn_max_no_bans', 'warn_bans_mature', 'warn_viewoption', 'warn_multiple_per_post', 'warn_send_em_warning', 'warn_send_pm_warning', 'warn_email_on_ban', 'warn_historical', 'warn_allowoffpost', 'warn_warnings_per_page', 'warn_textbutoption', 'warn_modoption', 'warn_sig_thresshold', 'warn_avatar_thresshold', 'warn_aprotected_usergroups', 'warn_pmcutoff', 'warn_admingroups', 'warn_smodgroups', 'warn_modgroups', 'warn_savecopy', 'warn_savecopyforum', 'warn_allowalerts', 'warn_allowalertscomment', 'warn_alertslifetime', 'warn_savecopyalert', 'warn_includepost', 'warn_allownotes')[/sql]


Sorry to say, but that didn't solve the problem and on my database in the phpmyadmin part... there arnt any of those warn_ tables.. apart from..

vb3_warn_notes
vb3_warning_types
vb3_warnings

And i ran the query any way and it didn't work - it just gave me an error. i dont want to uninstall the old version as mydata on those tables will be gone.. the settings the options the people banned / warned etc...

Help... :ermm:

Andreas 10-25-2005 10:20 PM

Send me a PM with ACP details.

Andreas 10-25-2005 10:50 PM

Query fixed ;)
Should be installed now.

Snoop-It 10-25-2005 11:05 PM

:banana: :D should i install it?? or would you like to do it?? lols :nervous: :o

Andreas 10-25-2005 11:52 PM

Erm ... as stated it is already installed.

Michael-DLR 10-26-2005 02:26 AM

Hi!

Let me start off by saying this is the best hack for VB in my opinion and I appreciate Andreas and sv1cec for working on this hack for us.

I do have an issue and are in need of some guideance. Moderators and SuperModerators are receiving auto warns even though they are in the correct usergroup id's assigned by VB. The set-up explains not to put them in the protected usergroup which I did not. I have tried though adding the id to the protected usergroup to see if it would help and it did not.

Any ideas what I am doing wrong? Thank you.

TJFweb 10-26-2005 02:53 AM

Quote:

Originally Posted by Andreas
@TJFweb
Hmm, feel free to provide better Templates :)
What exactly don't you like regarding them?

Hi,

This is no doubt a very good hack but I'll need to spend some time working out the necessary template edits (as I am using a non standard vB template) to get AWS to work. I think my custom style also affects the colspan of some of the tables in Warn.php.

kangta 10-26-2005 03:08 AM

Hello,

For some reason the install is taking forever for me. I go to upload the XML as a new product, and it sits there forever. I don't get the little expanding dots while it's installing or the finish notification or anything. I've just now figured out that the longer I let it sit, the more plugins/hooks get installed, not sure about templates, but I'll let it sit for longer than 5 minutes before interrupting it this time and see if it ever actually finishes.

Just wanted to point this out and/or see if anyone else was having the problem. I had the system for 3.0.x installed before we upgraded to 3.5.0. Didn't think of removing the old DB entries before I installed the new warning system, so that could have been part of my problem. Not sure at this point... :p

TJFweb 10-26-2005 03:56 AM

I've managed to get it installed on my board ;-) Just had to manually sift through the edits to make sure that everything gets inserted in the right place. It's just that I'm not very comfortable with instructions that involve replacing huge slabs of code because I use a lot of custom hacks and have a non-standard vB style running on my board which I don't want to mess up.

Here's a tip for everyone who's installed this (fixes the colspan on Warn.php):

Open warn_viewtype_end template:

Replace
Code:

<tr>
        <td class="tfoot" colspan="7" align="right">Warning limit before being banned: $vboptions[warn_points_before_banned] points. Initial banning period: $vboptions[warn_banned_limit] days.</td>
</tr>
</tbody>
</table>

with
Code:

<tr>
        <td class="tfoot" colspan="8" align="right">Warning limit before being banned: $vboptions[warn_points_before_banned] points. Initial banning period: $vboptions[warn_banned_limit] days.</td>
</tr>
</tbody>
</table>



All times are GMT. The time now is 06:32 PM.

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.01905 seconds
  • Memory Usage 1,746KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete