vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

sv1cec 03-06-2005 12:20 PM

Can you please give me some more details? Where exactly do you try to remove a warning from? The Warnings Log?

Kruppa 03-07-2005 12:28 PM

That's right! I go to:

Warning System > View Warning Logs > Remove Warning and click on 'Remove'

Then it takes me to the confirm box and I select the yes button and click on 'Proceed' and that's when I got the above mentioned error.

outlaw621 03-08-2005 12:12 AM

I need a little help. The hack install is flawless on my system. The problem I am having is with the templates. We have the standard groups of Admin (6), Super Mod (5), Mod (7). We also have a 4th group called Asst. Admins (11). The hierarchy of the groups from top down is as follows: Admin (6), Asst Admin (11), Super Mod (5) then Mod (7). I am trying to edit the conditionals in the Postbit, Postbit Legacy and Memberinfo templates but I am lost. Can anyone post the correct edits to add group Asst. Admin (11) to the above listed templates? Just to clarify the structure, the only person who should be able to warn the Asst. Admin is the Admin group. Without changing any of the conditionals in the template modifications described in the hack, the Asst. Admins can issue warnings but can not view the already issued warnings. I need to correct this.

sv1cec 03-09-2005 08:39 AM

Quote:

Originally Posted by outlaw621
I need a little help. The hack install is flawless on my system. The problem I am having is with the templates. We have the standard groups of Admin (6), Super Mod (5), Mod (7). We also have a 4th group called Asst. Admins (11). The hierarchy of the groups from top down is as follows: Admin (6), Asst Admin (11), Super Mod (5) then Mod (7). I am trying to edit the conditionals in the Postbit, Postbit Legacy and Memberinfo templates but I am lost. Can anyone post the correct edits to add group Asst. Admin (11) to the above listed templates? Just to clarify the structure, the only person who should be able to warn the Asst. Admin is the Admin group. Without changing any of the conditionals in the template modifications described in the hack, the Asst. Admins can issue warnings but can not view the already issued warnings. I need to correct this.

It's kind of complicated. Are you using the hierarchical thing? I assume you are. Try replacing this:

HTML Code:

<if condition="($post[usergroupid]!=6 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5)) OR ($post[usergroupid]==7 AND $bbuserinfo[usergroupid]==5) OR ($bbuserinfo[usergroupid]==6 AND $post[usergroupid]!=6)">
with this:

HTML Code:

<if condition="($post[usergroupid]!=6 AND $post[usergroupid]!=11 AND $post[usergroupid]!=5 AND $post[usergroupid]!=7 AND ($bbuserinfo[usergroupid]==7 OR $bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==11)) OR ($post[usergroupid]==7 AND ($bbuserinfo[usergroupid]==5 OR $bbuserinfo[usergroupid]==11)) OR ($post[usergroupid]==5 AND $bbuserinfo[usergroupid]==11) OR ($bbuserinfo[usergroupid]==6 AND $post[usergroupid]!=6)">
This belongs to the part which uses buttons for the links and the hierarchical structure.

In the future, please post your questions in the hack's forum, the address is near the top of the page.

Rgds

sv1cec 03-09-2005 08:54 AM

Quote:

Originally Posted by Kruppa
It's one of the first thing I tried. :D

If you can't reproduce the problem, it might be because it's confilcting with another hack I've recently installed. I'll keep looking.

Open your admin_warn.php and find:

PHP Code:

            $bans=$warn['warning_bans']; 

Replace that with:

PHP Code:

        if ($warn['warning_bans']='' or $warn['warning_bans']==0)
        {
            
$bans=0;
        }
        else    
        {
            
$bans=$warn['warning_bans'];
        } 

Let me know if this works, but please, do not post your questions here any more. Use the hack's forum, the link is near the top.

Rgds

Kruppa 03-09-2005 12:29 PM

Quote:

Originally Posted by sv1cec
Let me know if this works, but please, do not post your questions here any more. Use the hack's forum, the link is near the top.

Rgds

Ok, sorry about that. But thanks, it solved my problem. :)

sv1cec 03-09-2005 12:37 PM

Glad if I can help.

Rgds

mekro 03-09-2005 03:10 PM

Hi

Can anyone help i am trying to upgrade from zero's warning hack to this but everytime i run the upgrade script to install this warning hack i get a error message saying:

Quote:

Database error in vBulletin 3.0.5:

Invalid SQL: delete from template where (title>='warn' AND title<'warn_z')
mysql error: Table 'hubforc_duel.template' doesn't exist

mysql error number: 1146

Date: Wednesday 09th of March 2005 12:03:37 PM
Please can someone help me

kirk

sv1cec 03-09-2005 06:01 PM

Quote:

Originally Posted by mekro
Hi

Can anyone help i am trying to upgrade from zero's warning hack to this but everytime i run the upgrade script to install this warning hack i get a error message saying:



Please can someone help me

kirk

Are you using a table prefix in your database?

Please use the hack's forum for your question. This is the last question I am answering here.

atrljoe 03-10-2005 04:32 PM

If I have Zero's installed is there an easy way to upgrade?


All times are GMT. The time now is 04:27 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.02223 seconds
  • Memory Usage 1,756KB
  • 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_html_printable
  • (2)bbcode_php_printable
  • (5)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