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)

dai-kun 12-06-2005 08:28 PM

The warning points doesn't get reduced even though I deleted all the logs and completely remove all the warnings. Is there a fix for this?

TJFweb 12-07-2005 03:19 AM

For some reason the usergroups specified in the 'Moderators' setting for AWS can't issue / view warnings. AWS's specified Administrator and Super Moderators can however.

Does AWS require that users be a moderator of the board AND have their usergroup specified in the AWS settings? Because I want to give non-moderator usegroups permission to issue / view warnings.

Thanks.

Xplorer4x4 12-07-2005 03:36 AM

Quote:

Originally Posted by TJFweb
Does AWS require that users be a moderator of the board AND have their usergroup specified in the AWS settings? Because I want to give non-moderator usegroups permission to issue / view warnings.

Thanks.

Not sure about the issue warnings thing, but as far as members vewing the warnings this is a setting in the vbulletin options of AWS.

Hornstar 12-07-2005 03:47 AM

Is this still being updated, and has anyone had any success with 3.5.2 I'm going to try it out on 3.5.2 now and let you guys know how it goes.

Hornstar 12-07-2005 04:01 AM

Quote:

Originally Posted by GoTTi
i am getting this error when i import the product .xml

Code:

Database error in vBulletin 3.5.0:

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        : Monday, October 24th 2005 @ 01:21:07 AM
Script      : http://www.SITE.com/forums/admincp/plugin.php
Referrer    : http://www.SITE.com/forums/admincp/plugin.php?do=productadd
IP Address  : XXXXX
Username    : GoTTi
Classname    : vb_database

ideas?




Thats the same error im getting and I have noticed alot of people are getting, yet no one has answered how do you get rid of all the old traces of the old hack.

Thanks

Xplorer4x4 12-07-2005 04:02 AM

Quote:

Originally Posted by hornstar1337
Is this still being updated, and has anyone had any success with 3.5.2 I'm going to try it out on 3.5.2 now and let you guys know how it goes.

No it is not being updated. Thread searches do turn up faster answers in most cases. ;)

And I have it running on 3.5.2. So far no problems but I have not had to issue any warning for the time.

Hornstar 12-07-2005 04:34 AM

When i try and run the uninstaller.php from this version or from the last version i had i get this error.

Fatal error: Call to a member function on a non-object in /home/gamerzne/public_html/forums/admincp/uninstaller.php on line 56

i need to totally uninstall the old version before i can install this version because im getting the database error that i stated above.

Thanks

sv1cec 12-07-2005 04:42 AM

Quote:

Originally Posted by TJFweb
For some reason the usergroups specified in the 'Moderators' setting for AWS can't issue / view warnings. AWS's specified Administrator and Super Moderators can however.

Does AWS require that users be a moderator of the board AND have their usergroup specified in the AWS settings? Because I want to give non-moderator usegroups permission to issue / view warnings.

Thanks.

Yes, they should be moderators. You cannot give the Warning rights to someone who cannot moderate your forums.

sv1cec 12-07-2005 04:44 AM

Quote:

Originally Posted by hornstar1337
Thats the same error im getting and I have noticed alot of people are getting, yet no one has answered how do you get rid of all the old traces of the old hack.

Thanks

Only Andreas can answer that for you gentlemen, I have no idea how the import works. I assume there is an issue with the settings, being there from your previous AWS installation. It should not be too difficult to fix that, but I have no idea where to change the program to do it.

sv1cec 12-07-2005 04:48 AM

Gentlemen,

I am sorry to see that no one is answering the questions I can't handle. It looks as if Andreas is too busy to maintain this hack, and since he has done all the "packaging" work (i.e. create the installation files etc, for vB 3.5), I have no way to help you.

On top of that, my test site has been shut down, so I have no way to test things and come back with answers, than by checking the first version of the code I supplied to Andreas.

I apologize for the inconvenience, but I have absolutely no way to help you out. I'll try to contact Andreas and see if he plans to work on this hack, if not I need to find someone else who wants to help, or (I am afraid) we should call this "non-supported hack".

Sorry :(

Hornstar 12-07-2005 04:52 AM

Well should i PM Andreas or just wait to see if he has time to check this out, hopefully he has time to support this wonderful hack.

Hornstar 12-07-2005 05:00 AM

I have just worked out my problem i think, im still testing it, but wanted to write down what i had done before i continue

i deleted in the uninstaller.php everywhere were it said

$DB_site->query

it was online 56 9* 114 116 etc and that alloud me to run the installer fine

now i get this message

You have completed all the automated steps of the Uninstaller.

Proceed with the rest of the modifications, described in the Uninstallations Instructions.

What are these?

sv1cec 12-07-2005 05:16 AM

I am not sure if this solves your problem. What you did, with that, is that you removed all the database changes that the uninstaller was supposed to do.

Here are the rest of the instructions


Uninstallation Instructions
===========================

Even though an Uninstaller is supplied in the zip file, there is a lot of manual work to remove this hack from your system, mainly because of the number of files and templates changed.

The Uninstaller does the following tasks:

- Remove all new templates that AWS has put into your system.
- Remove all database tables used by AWS, as well as the columns used by AWS in the standard tables.
- Remove all phrases and settings added by AWS.

What the Uninstaller does not do:

- Bring back the standard php files, to the condition they were before you applied this hack.
- Bring back the standard templates, to the condition they were before you applied this hack.

In order to remove this hack from your vB, first upload the uninstaller.php file to your admincp directory of your server and upload the install_warn directory inside your forum's root directory. Then point your browser to:

http://your.forumsite.com/admincp/uninstaller.php

Follow the steps to the end.

Please note that depending on the version you are trying to uninstall, the script might not complete all the programmed tasks. For example, if you are trying to uninstall a version which does not include all the columns in the user table, that the script tries to remove, you will get an error message. If this happens, please contact me through the hack's thread for help.

After the Uninstaller has finished its chores, you have to manually change all the templates and .php files. To do that, open the Installation instructions text file, go to STEP 2 and reverse all edits.


Gentlemen, please be careful. These instructions were for AWS 3.4.x, I am not sure if they are the same for AWS 3.5.

And yes, I would suggest someone PMs Andreas and see if he plans to work on this hack or not.

Hornstar 12-07-2005 05:23 AM

woot i just worked out how to fix the error i was getting, and so many b4 me.

I dont think what i did above, did anything lol, however i just realised that in adminphp if you edit the file settings and delete everything that has to do with the warning system then that will allow me to install the product no problem at all.

so far so good, i will update with my progress.

i now have everything working, this has been the hardest hack that I have had to install, and with the most problems, but after doing a lot of trial and error, and doing lots of backups. everything is working.

But it was well worth the effort because this hack should be standard in vbulletin IMHO.

KBV 12-07-2005 03:40 PM

I've checked the settings and nothing there to indicate that a user should be banned for a 2 point warning.

sv1cec 12-07-2005 04:48 PM

What is your Warnings Number Limit?

KBV 12-08-2005 02:10 PM

Warning Points Limit: 10
Warnings Number Limit: 20

sv1cec 12-08-2005 06:50 PM

Did you repeat that test and verified that a user gets banned with only two points?

WNxWakko 12-08-2005 11:55 PM

When someone is Perm Banned, it puts them in the usergroup I specified, however it does not use that usergroups default title name, instead it just says Permanently Banned on their posts. How do I change this? Ive searched phrases and cant find a way to change it to match what that usergroup really says.

WNxWakko 12-09-2005 10:59 PM

Can anyone answer my question? bump.

turkforum 12-10-2005 03:30 AM

First of all,Thank you very much sv1cec for this great great hack.. :)

Quote:

When someone is Perm Banned, it puts them in the usergroup I specified, however it does not use that usergroups default title name, instead it just says Permanently Banned on their posts. How do I change this? Ive searched phrases and cant find a way to change it to match what that usergroup really says.
Most of the phrases are in functions_warning.php (aws35\upload\includes) You can change it to what ever you like..

By the way, I created a new group, Moderator helper..(not even protected group) What they do is just move/del/edit things but I dont want them to have power for warnng members..Is there any option that just specific groups can use aws?

sv1cec 12-10-2005 03:54 AM

Quote:

Originally Posted by WNxWakko
Can anyone answer my question? bump.

Edit includes/functions_warning.php and find:

Code:

$title="Permanently Banned";
I believe that if you remove that all together, then the software will use the defaiult title of the user group, but I have never tested it. If it does not, just change the Permanently Banned to whatever you like.

Quote:

Originally Posted by turkforum
I created a new group, Moderator helper.. What they do is just move/del/edit things but I dont want them to have power for warnng members..Is there any option that just specific groups can use aws?

I have never tried that, but I think that if you enter your admin/smod/mod groups in AWS options, and if you do not enter that particular group (mod helpers) then your mods should be able to use AWS, but your moderator helpers will not. That's what you want, right?

turkforum 12-10-2005 04:07 AM

Quote:

I have never tried that, but I think that if you enter your admin/smod/mod groups in AWS options, and if you do not enter that particular group (mod helpers) then your mods should be able to use AWS, but your moderator helpers will not. That's what you want, right?
In AWS User Group Options, I didn't even mention modhelper group,John.. Moderator Usergroup is just 7 and Modhelper is 46....I think the problem is when I add them for a forum, they automaticly earn that power in that forum..What would you suggest?

Johannes de Le?n 12-10-2005 08:28 PM

I've got a SQL error and somehow it tells me it is due to this extension, can anyone lend me a hand please and tell me how to fix it? ;)

Btw, I get it everytime I try to save a profile from the admincp.

Database error in vBulletin 3.5.2:

Code:

Invalid SQL:
UPDATE user SET
        passworddate = xxxxxxxxx,
        password = 'xxxxxxxxxxxxxxxxxx',
        ### Bitfield: user.options ###
                options = IF(options & 8, options - 8, options),
                options = IF(options & 1024, options, options + 1024),
                options = IF(options & 16, options, options + 16),
                options = IF(options & 256, options - 256, options),
                options = IF(options & 512, options - 512, options),
                options = IF(options & 32, options - 32, options),
                options = IF(options & 2048, options, options + 2048),
                options = IF(options & 4096, options - 4096, options),
                options = IF(options & 1, options, options + 1),
                options = IF(options & 2, options, options + 2),
                options = IF(options & 4, options, options + 4),
                options = IF(options & 64, options, options + 64),
                options = IF(options & 128, options - 128, options),
                options = IF(options & 32768, options - 32768, options),
        usertitle = 'xxxxxx',
        customtitle = 2,
        username = 'xxxxx',
        email = 'xxxx@xxxx.xxx',
        languageid = 0,
        homepage = '',
        birthday_search = '',
        birthday = '',
        showbirthday = 2,
        icq = '',
        aim = '',
        yahoo = '',
        msn = '',
        skype = '',
        parentemail = '',
        posts = 105,
        referrerid = 0,
        ipaddress = '',
        alerts = 0,
        warnings = 2,
        warning_level = 0,
        warning_bans = 0,
        usergroupid = 12,
        displaygroupid = 12,
        membergroupids = '18',
        reputationlevelid = 7,
        reputation = 20,
        autosubscribe = 0,
        threadedmode = 0,
        showvbcode = 2,
        styleid = 0,
        timezoneoffset = '0',
        daysprune = -1,
        joindate = 1107082800,
        lastactivity = 1134253080,
        lastpost = 1109052000
WHERE userid = 223;

MySQL Error  : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date                : Saturday, December 10th 2005 @ 10:24:47 PM
Script          : http://xxxxx.xxxxxx.xxx/admincp/user.php
Referrer        : http://xxxxx.xxxxxx.xxx/admincp/user.php?do=edit&u=223
IP Address  : xxx.xxx.xxx.xx
Username        : Johannes de Le?n
Classname        : vb_database


Luggruff 12-11-2005 12:32 PM

Is there any place I can view all the phrases for this system, and this system only?

And if not, please list all of the phrases that applies to this system, so people can translate them !

My site is mostly visited by children in the age of 8-16 and most of them would be clueless if they recieved warnings and such in english.
(found the templates, but not all the phrases)

H@K@N 12-11-2005 02:58 PM

Quote:

Originally Posted by Johannes de Le?n
I've got a SQL error and somehow it tells me it is due to this extension, can anyone lend me a hand please and tell me how to fix it? ;)

Btw, I get it everytime I try to save a profile from the admincp.

Database error in vBulletin 3.5.2:



MySQL Error : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date : Saturday, December 10th 2005 @ 10:24:47 PM
Script : http://xxxxx.xxxxxx.xxx/admincp/user.php
Referrer : http://xxxxx.xxxxxx.xxx/admincp/user.php?do=edit&u=223
IP Address : xxx.xxx.xxx.xx
Username : Johannes de Le?n
Classname : vb_database[/code]

Have similar Error on VB3.5.2

Code:

Database error in vBulletin 3.5.2:

Invalid SQL:
update warning_types set
        warn_name='Tesekk?r Mesajlari',
        warn_desc='Kisa Mesaj Cevap yazildigi icin',
        warn_points='1',
        warn_maturity='14',
        warn_permban='No',
        warn_type='Yes',
        warn_alert='Yes',
        warn_alertcomment='L?tfen kisa Mesajlar yazmayalim, Emege Saygi g?sterelim ....'
        where tid='1';

MySQL Error  : Unknown column 'warn_alert' in 'field list'
Error Number : 1054
Date        : Sunday, December 11th 2005 @ 05:53:57 PM
Script      : http://www.mydomain.com/admincp/admin_warn.php
Referrer    : http://www.mydomain.com/admincp/admin_warn.php?act=edit&tid=1
IP Address  : 84.xxx.xxx.xxx
Username    : H@K@N
Classname    : vb_database


gr33tz

MissKalunji 12-13-2005 04:30 AM

is it me or that hack makes the forum run slower?

sv1cec 12-13-2005 05:11 AM

This hack is not phrased. Someone emailed me that he is trying to come up with a phrased version, but I do not think it is available yet. There are phrases all over the place, since the original hack this was based on, was like that, and I didn't know better, when I started writing this.

As for running slower, there is no reason why this hack would make a board running slower, at least not at a significant degree. Here is an answer I've given in the past, to someone who asked about the load this hack puts on your server.

It's not a server-intensive hack, most of the information required for the program, are already fetched by vB when the other information is fetched. For example the decision to show the "Warn XYZ" link etc, is fetched when the postbit information and the $bbuserinfo information is fetched, so no separate query is needed. So is the information about a user warnings, warning points and bans.

When you warn someone, there are of course a couple of queries run, but that does not happen every second, does it?

As for the scheduled tasks, these should be run once a day, so nothing spectacular there either.

Overall, this should not add significant burden to your server.

MissKalunji 12-13-2005 05:19 AM

Quote:

Originally Posted by sv1cec
This hack is not phrased. Someone emailed me that he is trying to come up with a phrased version, but I do not think it is available yet. There are phrases all over the place, since the original hack this was based on, was like that, and I didn't know better, when I started writing this.

As for running slower, there is no reason why this hack would make a board running slower, at least not at a significant degree. Here is an answer I've given in the past, to someone who asked about the load this hack puts on your server.

It's not a server-intensive hack, most of the information required for the program, are already fetched by vB when the other information is fetched. For example the decision to show the "Warn XYZ" link etc, is fetched when the postbit information and the $bbuserinfo information is fetched, so no separate query is needed. So is the information about a user warnings, warning points and bans.

When you warn someone, there are of course a couple of queries run, but that does not happen every second, does it?

As for the scheduled tasks, these should be run once a day, so nothing spectacular there either.

Overall, this should not add significant burden to your server.

thanks :) works fine anyways
[high]* MissKalunji install[/high]

Luggruff 12-13-2005 07:46 AM

Hmm, can't seem to find where in the code the https://vborg.vbsupport.ru/ button is located??
Searched through all of the templates, but nothing.

(the reason why I can't see it anywhere on the page is because my images folder on my ftp has become unavailable for any changes, so I had to put the 3 warn images in a folder of their own, and now have to find the code so I can change the location..)

And now I've translated as much as I can find to translate, guess I'll have to be satisfied with myself for now.
But I can't seem to find where the text for the topic or post text is for the posts that show up in a selected forum (selected that all warnings show in a selected forum)

Topic on post:
Warning: User: "user" - Warner: Luggruff - Date: 11-12-2005 at 17:45

Leading text in post:
User "User" received the following Warning/Alert by Luggruff on 11-12-2005 at 17:45 :

wich template is this?? can't find o_0

Milchi 12-13-2005 06:57 PM

Quote:

Originally Posted by dai-kun
The warning points doesn't get reduced even though I deleted all the logs and completely remove all the warnings. Is there a fix for this?

Still have the same problem

sv1cec, would it be possible for u to create and php file (without vbulletin functions) to calculate the correct amount of warnings points for all members and writes them to it? this would be a workaround to run as a task every night until andreas has a solution

MissKalunji 12-13-2005 07:33 PM

so this still doesnt work alogn with inferno?

Xplorer4x4 12-13-2005 07:54 PM

Umm why would it need to work with the Inferno Warning System?

MissKalunji 12-13-2005 07:58 PM

Quote:

Originally Posted by Xplorer4x4
Umm why would it need to work with the Inferno Warning System?


not inferno system....but the RPG

i read in like the first post that couple ppl couldnt get it to work when u go into your rpg it would give you a warning error because it uses the sendpm()



https://vborg.vbsupport.ru/showpost....&postcount=257

Xplorer4x4 12-13-2005 08:06 PM

Ahh best to be thorough the first time around.;) But sorry I tried ;).

sv1cec 12-13-2005 08:07 PM

This issue has been beaten to death. There is a routine with the same name in inferno and in AWS. Rename one of the two to something else, and then fine every occurence of that name in the hack's files and change it to the new name.

Second, the cron job which is supposed to remove the warnings, as they mature, was not correct. It was using $vboptions instead of the new $vbulletin->options. I just uploaded a new file (kill_warns.php) which should work OK.

Folks, please understand that I no longer provide support for this hack, I've stated from the beginning of the 3.5 version, that I have lost interest in it, since the vB changes are too many and I do not plan to upgrade my board to vB 3.5, so I have no reason to work on this any more. However, I am doing all I can to solve the issues you bring up. This is not always possible, since I have no idea on how the new version of vB works or how the new version of AWS works (as far as the vB installation etc is concerned).

Quote:

Hmm, can't seem to find where in the code the button is located??
Searched through all of the templates, but nothing.
That should be in your postbit and postbit_legacy templates.

As for the other issue you have, these phrases are at the functions_warning.php file in the /includes directory.

MissKalunji 12-13-2005 08:12 PM

Quote:

Originally Posted by sv1cec
This issue has been beaten to death. There is a routine with the same name in inferno and in AWS. Rename one of the two to something else, and then fine every occurence of that name in the hack's files and change it to the new name.

Second, the cron job which is supposed to remove the warnings, as they mature, was not correct. It was using $vboptions instead of the new $vbulletin->options. I just uploaded a new file (kill_warns.php) which should work OK.

Folks, please understand that I no longer provide support for this hack, I've stated from the beginning of the 3.5 version, that I have lost interest in it, since the vB changes are too many and I do not plan to upgrade my board to vB 3.5, so I have no reason to work on this any more. However, I am doing all I can to solve the issues you bring up. This is not always possible, since I have no idea on how the new version of vB works or how the new version of AWS works (as far as the vB installation etc is concerned).



That should be in your postbit and postbit_legacy templates.

As for the other issue you have, these phrases are at the functions_warning.php file in the /includes directory.

well thank you :)

vampireus 12-16-2005 06:06 AM

When issue a warn, I get this error

Code:

Fatal error: Only variables can be passed by reference in /home/yancom/public_html/music/includes/functions_warning.php on line 600
It don't appear if I set "Save copy of Warning Message in a predefined forum" to No. Anyone can help?

Thanks

sv1cec 12-16-2005 06:49 AM

Have you defined a forum, in which the warnings will be saved?

vampireus 12-16-2005 07:41 AM

Yes I did, although there is an error, the warning still go through, only the copy of Warning Message not be sent to predefined forum


All times are GMT. The time now is 02:56 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.02157 seconds
  • Memory Usage 1,875KB
  • 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
  • (5)bbcode_code_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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