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)
-   -   Warning Hack V1.5 (https://vborg.vbsupport.ru/showthread.php?t=65336)

Impulse 11-24-2004 07:48 PM

Is there a way that I can make this hack so, that only admins and S mods can give out warnings and perhaps certain mods (ID based, like administrator permissions?)

sv1cec 12-01-2004 12:50 PM

Quote:

Originally Posted by Impulse
Is there a way that I can make this hack so, that only admins and S mods can give out warnings and perhaps certain mods (ID based, like administrator permissions?)

Just to let everyone know that Version 2.0 of the Advanced Warning System hack is out. The latest version includes automatic warnings, which are issued to members if they post obscene words (the words defined in the censorship option of vBulletin). Visit the other thread and see the new features.

Rgds to all

crd 12-21-2004 03:42 AM

Quote:

Originally Posted by wrongful
one last thing. I have it set to ban my users for 5 days, but when I go to view banned users, it says permenent, and when I use the Unban Banned Users function, it doesn't unban the user who was banned as a result of the warning system

I think we have 1.5 version. I get this same thing. I have investigated it and the warn.php inserts entries in banned_members table with a ban time and a lift time that looks OK.

But in the modcp/banning.php it just does a LEFT join on all members in the banned group, all the warning system banned users just come out with nulls. It doesn't even use the banned_members table at all.

In my admin panel it links to modcp/banning.php
There is an admincp/admin_warn.php that uses banned_members in some way
but my panel never calls it.

My guess? the hack was never completely installed.

j_86 12-21-2004 01:11 PM

Do a search for advanced warning system - it is this hack remade, with a TON of other features and is constantly updated and bug fixed.

mojo8850 01-01-2005 07:19 PM

Ok.. Guy's..

I Have Installed 1.0 Working Fine.. Now To Upgrade.. I Dont Understand What You Mean With This:-

Quote:

Run this query: (change TABLE_PREFIX to your settings, this is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)
Here Is My includes/config.php

Quote:

// Prefix that your vBulletin tables have in the database.
// For example: $tableprefix = 'vb3_';
$tableprefix = '';
So Help Please What Do I Do..! :ermm: :ermm: :ermm:

mojo8850 01-01-2005 08:57 PM

Ok.. Since No One Is Helping.. Especially The AUTOUR..!

This I How I Have Ran The Query:-

Quote:

alter table warning_options
add `banned_usergroup_id` int(15) not null default '0',
add `protected_usergroups` varchar(255) not null default '';
However It Did Say In The Query That It Affected Rows:- 1

So Far It Working Brilliantly..

Correct Me If Wrong..!

Regards

Mr. Mojo

sv1cec 01-02-2005 06:31 AM

Quote:

Originally Posted by mojo8850
Ok.. Guy's..

I Have Installed 1.0 Working Fine.. Now To Upgrade.. I Dont Understand What You Mean With This:-



Here Is My includes/config.php



So Help Please What Do I Do..! :ermm: :ermm: :ermm:

That means that when someone tells you to run a query like:

UPDATE `".TABLE_PREFIX."warning_options` SET version='3.0.2' WHERE oid=1

you should remove from there, the :

".TABLE_PREFIX."

thingy, because you are not using a table prefix.

Rgds

mojo8850 01-02-2005 01:04 PM

I See So The Query That I Ran Shown In Post #526..!

Was The Correct Method..!

taffy056 01-09-2005 12:45 AM

Hi,

How do I unistall this hack, I think its playing havoc on my board after I upgraded to 3.0.5?

taffy

j_86 01-09-2005 01:06 AM

Work backwards though the installer.

Why were you not using the re-release of this hack, the more stable, bug free and feature packed Advanced Warning System (AWS).

taffy056 01-09-2005 11:05 AM

Hi,

I am planning to use this, but first I need to get my forum up and running, don't think I should upgrade until that is sorted.

taffy


Quote:

Originally Posted by JimpsEd
Work backwards though the installer.

Why were you not using the re-release of this hack, the more stable, bug free and feature packed Advanced Warning System (AWS).


sv1cec 01-09-2005 11:16 AM

Quote:

Originally Posted by taffy056
Hi,

How do I unistall this hack, I think its playing havoc on my board after I upgraded to 3.0.5?

taffy

Taffy, this hack never got a 3.0.5 release. Zero Tolerance got this hack to version 1.5. Are you sure you are not mixing it up with the AWS (which is currently at 3.0.7, by the way)?

rgds

taffy056 01-09-2005 12:55 PM

Hi,

I meant vBulletin 3.0.5 :)

Anyway I just deleted what I thought was everything in the database regarding this hack, but I get the following error when I try to reinstall.

Code:

Database error in vBulletin 3.0.5:
Invalid SQL: alter table user
add warning_level int(15) not null default '0';
mysql error: Duplicate column name 'warning_level'
mysql error number: 1060
Date: Sunday 09th of January 2005 03:50:26 PM
Script: http://www.mydomain.com/forum/admincp/install_warn.php
Referer: http://www.mydomain.com/forum/admincp/install_warn.php
Username:
IP Address: 84.*.*.*


sv1cec 01-09-2005 03:53 PM

Run the following query:

ALTER TABLE `user` DROP COLUMN `warning_level`

Don't forget to add the table prefix in front of the table name, if you are using one.

Rgds

taffy056 01-09-2005 10:58 PM

Hi sv1cec,

Thanks for that, it worked with no problem :)

taffy

lochie 01-10-2005 12:48 AM

I skipped step 2 because I don't understand it. There is no instructions so what do I do?

[ - - Step 2 - - ]
New Phrases
Note: All phrase 'types' are: 'Control Panel Stop Message'

~~~~~~~~~~~~~~~~~
Var Name: warning_opt_updated
Content: Warning Options Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_unban
Content: All Users Past Banned Limit Unbanned
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_added
Content: Warning Type Added
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_deleted
Content: Warning Type Deleted
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_edited
Content: Warning Type Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_ndeleted
Content: Warning Type Not Deleted
~~~~~~~~~~~~~~~~~

This is all I had..

I don't want to continue with the upgrade until I sort this out just incase.

Impulse 01-10-2005 07:52 AM

Quote:

Originally Posted by lochie
I skipped step 2 because I don't understand it. There is no instructions so what do I do?

[ - - Step 2 - - ]
New Phrases
Note: All phrase 'types' are: 'Control Panel Stop Message'

~~~~~~~~~~~~~~~~~
Var Name: warning_opt_updated
Content: Warning Options Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_unban
Content: All Users Past Banned Limit Unbanned
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_added
Content: Warning Type Added
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_deleted
Content: Warning Type Deleted
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_edited
Content: Warning Type Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_ndeleted
Content: Warning Type Not Deleted
~~~~~~~~~~~~~~~~~

This is all I had..

I don't want to continue with the upgrade until I sort this out just incase.


Go to your Admincp > Language & Phrases > Phrase Manager.

In that screen click the 'add Phrase' manager. There select the phrase type from the drop down menu, in your case this would be 'Control Panel Stop Message' (It's the last phrase type, so just scroll down in the drop down o.o)

Now, place the varnames in the varname box and the content thing in the text box. Leave the rest blank, hit save and you're done and just repeat the process over and over untill you've made them all.

I hope this explains it clear enough for you.

DannyITR 02-15-2005 06:37 AM

Is there any way to send an email when the user is banned? That is all this hack needs.

sv1cec 02-15-2005 09:41 AM

Quote:

Originally Posted by DannyITR
Is there any way to send an email when the user is banned? That is all this hack needs.

Well, I am afraid you should upgrade to AWS. AWS has that feature you want, along with a lot more.

Rgds

DannyITR 02-24-2005 02:51 AM

Has anyone figure dout to allow multiple usergroups to see the users warnings but to remove the "warn user" link for the restr of them. I cannot get the code to work. I'm refering to post #17 on page 2 here.

billywiz 03-23-2005 09:59 AM

sorry if this has been asked but i need somw help:)

right then my mods cant see Warn test (non-post related) ? View test Warnings on my new Usergroups but they can see them on the Registered Usergroup but not on my new ones any help thanks for your time billywiz

billywiz 03-26-2005 07:51 AM

any help plz :D

Deaths 03-26-2005 08:01 AM

Nice hack, /me installs.

EDIT: wOOt I'm #200 to install :D

Sleepyk 03-27-2005 10:36 PM

having a problem when i edit private.php everything been fine so far

error is

Parse error: parse error, unexpected $ in /home/content/k/l/e/kleptikxmode/html/private.php on line 1672

i included file too

Sleepyk 03-28-2005 12:15 AM

Really need help everything else is perfect and have it running, just hoping it will work while this file get worked on

Sleepyk 03-28-2005 12:32 AM

ok i view warnings/warn someone it sends me to http://thebattledome.com/Warn.php?do=ViewWarnings&id=20

which is a blank page, whats wrong? is it because private php isnt workin or something else?

sv1cec 03-28-2005 04:01 AM

This hack is no longer supported by Zero Tolerance or me. If you want a bug-free, future rich Warning System, try installing the Advanced Warning System. It can be found here:

https://vborg.vbsupport.ru/showthrea...374#post574374

where you can read a summary of features, etc.

It has its own discussion forum, here:

https://vborg.vbsupport.ru/forumdisplay.php?f=105

Rgds

mojo8850 04-02-2005 10:01 PM

Hi Guy's.

I have installed the Warning Hack 1.0 & Upgraded to 1.5.
I love the hack its awesome.

But how come it does not have this facilty ** Screenshot Below **

If we can add it please someone let me know how..

Regards

Mr. Mojo :nervous: :nervous: :nervous:

j_86 04-17-2005 05:02 PM

mojo8850 can be bothered to read one post above his? :P

Mr. Brian 05-10-2005 11:24 AM

Cool!

*Brian clicks Install*

billywiz 05-10-2005 01:14 PM

Quote:

Originally Posted by billywiz
sorry if this has been asked but i need somw help:)

right then my mods cant see Warn test (non-post related) ? View test Warnings on my new Usergroups but they can see them on the Registered Usergroup but not on my new ones any help thanks for your time billywiz


:confused:any one plz, this is the only prob i have with this hack plz help me :confused:

TouchStone 05-13-2005 06:22 AM

Hello I has itself these chops inserted and it goes also everything, only I would like if a user over these chop gebannd will it also in the Thread/Posting am then indicated? Then I would like to still look at myself each user also its cautions can, which can be which I thereby it in English is had surveyed as to be placed is?

Instaled by vB 3.0.7

Please help im a German Boy ans i cann bad Englisch

THX

T_Montana 05-21-2005 09:32 PM

what's the table prefix query talk?

do i do this admincp or what?What do i do?

sv1cec 05-21-2005 09:53 PM

This hack is no longer supported. Try upgrading to AWS, https://vborg.vbsupport.ru/showthread.php?t=71992

T_Montana 05-21-2005 10:38 PM

what's wrong with this one and what's better about that one?

SamirDarji 05-26-2005 03:57 AM

Quote:

Originally Posted by T_Montana
what's wrong with this one and what's better about that one?

The advanced one is a complete warning system with many more features than this hack. The drawback is that it is a complicated hack. But it has very good support.

Skaterscafe.com 07-15-2005 04:21 PM

Quote:

Originally Posted by RsX
nvm got it ;) for anyone that would like only admins & supermods to be able to view the warn links, and it wont appear on admins posts, and moderators can only see links in their posts, then follow the instructions listed..

Go to templates> edit postbit & postbit_legacy

Find:
PHP Code:

<a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a> 


Replace with:
PHP Code:

<if condition="$post[usergroupid]!=6 AND $post[usergroupid]!=5 AND can_moderate($forum[forumid], '', $bbuserinfo[userid])"><a href='Warn.php?do=WarnUser&id=$post[userid]&post=$post[postid]'>Warn $post[musername]</a> ? <a href='Warn.php?do=ViewWarnings&id=$post[userid]'>View $post[musername]'s Warnings</a>
</if> 



I have tried this and my Super Mods still cannot see the warning links. My mods see it fine, but the Super mods cannot.

The Admin ID is 6, uper Mod is 5 so you think they could see it.

Anyone have a solution....I have tried to read thru 330+ pages but this looked like the best answer.

Xplorer4x4 07-21-2005 01:32 AM

Warning: Division by zero in /includes/functions.php(2063) : eval()'d code on line 10

I installed the original hack and the upgrade, and I got the error above when I try to issue a warning. I am running vB3.0.7 and didn't realize this hack was for 3.0.3

The original hack does not include any modifications to includes/functions. The upgrade edits includes/functions_online.

I followed the instructions EXACTLY.

Also note that I did have an error when i query with TABLE_PREFIX so i removed the prefix there as you said and it worked.
Step 1:
Run this query: (change TABLE_PREFIX to your settings, this is defined within includes/config.php, if it is blank then just simply remove TABLE_PREFIX from the query)

alter table TABLE_PREFIXwarning_options
add `banned_usergroup_id` int(15) not null default '0',
add `protected_usergroups` varchar(255) not null default '';

I got the same error message after installing the original and upgrade. I have come this far..is there a way to make it compatible?

Thanks you very much. If this was addressed earlier in the thread I apologize.
================================================== ========
Ok sorry I am an idiot. :o lol. Helps to add everything ot one template. ;) Figured i woudl leave this up for future reference.

Great hack!

OllieRocks 08-18-2005 11:51 AM

Edit: fixed it now ;)

OllieRocks 08-18-2005 01:22 PM

~~~~~~~~~~~~~~~~~
Var Name: warning_opt_updated
Content: Warning Options Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_unban
Content: All Users Past Banned Limit Unbanned
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_added
Content: Warning Type Added
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_deleted
Content: Warning Type Deleted
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_edited
Content: Warning Type Updated
~~~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~~~~
Var Name: warning_warn_ndeleted
Content: Warning Type Not Deleted
~~~~~~~~~~~~~~~~~

how do u do them?


All times are GMT. The time now is 01:24 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.01648 seconds
  • Memory Usage 1,846KB
  • 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
  • (1)bbcode_code_printable
  • (2)bbcode_php_printable
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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