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)

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


All times are GMT. The time now is 01:41 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.02019 seconds
  • Memory Usage 1,784KB
  • 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
  • (3)bbcode_code_printable
  • (6)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