vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - Advanced Warning System 3.6.7 (https://vborg.vbsupport.ru/showthread.php?t=124477)

Delphiprogrammi 06-20-2007 04:44 PM

Quote:

Originally Posted by freemchr (Post 1272384)
Your more than welcome to look at my board and try and figure it out.. site isnt launched yet.

Allright send that info through a pm and i will have a look

tuanvic 06-21-2007 06:33 AM

I have same problem with freechr can you put solution when you figure out. I am using 3.6.7 PL1 also thanks so much and another problem that when I click edit. After edit I click save, the change is not response. I need to click refresh page to see the change thanks

Delphiprogrammi 06-21-2007 07:01 AM

installing quick_reply fix above will fix it

tanand79 06-21-2007 12:43 PM

Iam still getting this error.....

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Vbulletin Version 3.6.3

Delphiprogrammi 06-21-2007 01:48 PM

Quote:

Originally Posted by tanand79 (Post 1273193)
Iam still getting this error.....

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /usr/local/apache/htdocs/includes/class_dm_threadpost.php(939) : eval()'d code on line 64

Vbulletin Version 3.6.3

hmmmz line 939 of /includes/class_dm_threadpost.php is a comment and cannot be the source of any errors at least on 3.6.7PL1 it is.I can however download 3.6.3 and look at it's sourcefiles i will do that

Magnumutz 06-21-2007 02:40 PM

Great hack man... it took me A LOT to integrate it in to my skin.. there was NO WAY i could do it like in the instructions... so i had to actually think :P

Anyways, it's a VERY nice hack... if it had an "image warning bar" like Inferno Warning system... it would be the best there is. Without that it's the second best :P

tuanvic 06-21-2007 09:52 PM

I installed quick reply fix but I still have problem with edit. Do you know why is that thanks so much

Delphiprogrammi 06-22-2007 07:19 PM

Quote:

Originally Posted by tuanvic (Post 1273547)
I installed quick reply fix but I still have problem with edit. Do you know why is that thanks so much

do you mean quickediting a post ? and the results of your edits are not showing up (you have to refresh the page to see the changes you made) if that is the problem you have then make sure that the plugin "AWS setup postdm" contains this code

PHP Code:

$this->validfields['title'][VF_CODE] = '$dm->set_info(\'orgtitle\', $data); return $dm->verify_title($data);';
$this->validfields['pagetext'][VF_CODE] = '$dm->set_info(\'orgmessage\', $data); return $dm->verify_pagetext($data);'


Delphiprogrammi 06-23-2007 09:26 AM

hi,

People please temprarly disable automatic warnings from posts.vBulletin is not passing it's information and when used it will result in errors from PHP and MySQL.I will see what can be done maybe it's time for a "class_dm_aws.php" that deals with the pmtext_warned table

PHP Code:

if(!class_exists('vB_DataManager'))
{
 exit;
}
class 
vB_DataManager_Aws extends vB_DataManager
{
      var 
$validfields = array(
      );


and so on ...

Silver_Seagull 06-24-2007 04:20 AM

Is it possible for you to add the previous version? I had no problem with that one, only after your last "minor" update did I get all these problems.

I've lost track of the number of times I've tried one or all of your recent fixes and I'm so fed up with these micro-patches and manual edits of your code that I'm tempted to go back to the inferior 'Smith' warning system just so my moderators can actually DO something.

PLEASE review what you changed and fix it with a versioned update or release the older version, as this one seems to be broken for a lot of people.

:edit:
It's the auto-edit feature I needed so badly :(

Delphiprogrammi 06-24-2007 06:44 AM

Quote:

Originally Posted by Silver_Seagull (Post 1275099)
Is it possible for you to add the previous version? I had no problem with that one, only after your last "minor" update did I get all these problems.

I've lost track of the number of times I've tried one or all of your recent fixes and I'm so fed up with these micro-patches and manual edits of your code that I'm tempted to go back to the inferior 'Smith' warning system just so my moderators can actually DO something.

PLEASE review what you changed and fix it with a versioned update or release the older version, as this one seems to be broken for a lot of people.

:edit:
It's the auto-edit feature I needed so badly :(

you use the system but why i do not see "installed" ? QuickEdit is working fine by the way

Bravo 06-24-2007 07:22 AM

Hey Delphiprogrammi,

when the warning system makes a post on a defined forum It's supose to Close/Lock the Thread, But everytime it postes it leaves it open/unlocked. Any ideas what could be going on?


EDIT--

Nm I fixed it I had to change

Code:

$threaddm->set('open',1);
anyway I have two other small bugs first when I do a complete removable of a warning from the admicp It removes the warning but this errors shows on top of the page

Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /admincp/admin_warn.php on line 1933

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /admincp/admin_warn.php on line 1933
and in the MEMBER INFO and POSTBIT page when someone is banned because of exceeding the warning it should show

Quote:

Warnings: 1
Warning Level : 3
Warning Bans: 1
Im lucky if I even see it the first time cause once you refresh the page it then shows

Quote:

Warnings: 1
Warning Level : 3
even though the user is still banned. I dont get why it disappears once you refresh the page and wont show in niether Member Info or PostBit's

Any Ideas on both bugs?
Thanks

Delphiprogrammi 06-24-2007 08:25 AM

Quote:

Originally Posted by Bravo2007 (Post 1275198)
Hey Delphiprogrammi,

when the warning system makes a post on a defined forum It's supose to Close/Lock the Thread, But everytime it postes it leaves it open/unlocked. Any ideas what could be going on?


EDIT--

Nm I fixed it I had to change

Code:

$threaddm->set('open',1);
anyway I have two other small bugs first when I do a complete removable of a warning from the admicp It removes the warning but this errors shows on top of the page



and in the MEMBER INFO and POSTBIT page when someone is banned because of exceeding the warning it should show



Im lucky if I even see it the first time cause once you refresh the page it then shows



even though the user is still banned. I dont get why it disappears once you refresh the page and wont show in niether Member Info or PostBit's

Any Ideas on both bugs?
Thanks

the array_merge(); errors are typical to PHP 5 althrough easy fixable.The second one (the ban note that disappaers) that one is new and i gotta check

Delphiprogrammi 06-24-2007 08:57 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1275215)
the array_merge(); errors are typical to PHP 5 althrough easy fixable.The second one (the ban note that disappaers) that one is new and i gotta check

I will update the php files so the array_merge(); errors will disappaer

Bravo 06-24-2007 10:39 AM

Yeah the ban one is weird sometimes when the warning bans people Ill see the Warning bans: x and sometimes I don't and either way its gone when refreshed.

does it record that to the SQL? so I can see if its still in the database or if its gone from the database.

Delphiprogrammi 06-24-2007 05:05 PM

Quote:

Originally Posted by Bravo2007 (Post 1275278)
Yeah the ban one is weird sometimes when the warning bans people Ill see the Warning bans: x and sometimes I don't and either way its gone when refreshed.

does it record that to the SQL? so I can see if its still in the database or if its gone from the database.

That feature is working as it should i checked and it does not disappaer when i do a refresh probably some other modificcation you have installed is causing the problem

tuanvic 06-25-2007 05:09 AM

Hi, again

I already see the plug in you told me in AWS setup postdm this contain the code you mentioned but this still do not work :( any another solutions thanks

Delphiprogrammi 06-25-2007 04:15 PM

Quote:

Originally Posted by tuanvic (Post 1275881)
Hi, again

I already see the plug in you told me in AWS setup postdm this contain the code you mentioned but this still do not work :( any another solutions thanks

is this happening when you view a thread / post and you click the edit button (make your changes) and click save ? what happends after it ? you get a white page ? no white page but it doesn't show the changes as you made them to refresh ? Quickedit is working fine here note this function uses AJAX ...

Bravo 06-26-2007 10:45 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1275527)
That feature is working as it should i checked and it does not disappaer when i do a refresh probably some other modificcation you have installed is causing the problem

In regards to that I see something wierd, maybe you can also do it and see if the same happends

Well I warned someone today enough for a temp ban, now on the postbit it did indeed show the ban and I refreshed it many times and it was still there.. but then I clicked on his name to view his Profile page and the Warning Ban: 1 was gone, then I went back to the postbit and it too was gone.. weird... I then, in the admincp go to Usermanager and select his name and under "Warning Information" it shows the Warnings and Warning points but the ban is "0" .. its like whenever I vist the users profile page it deletes it or something very very weird

can you replicate that for assurance?

Delphiprogrammi 06-27-2007 10:47 AM

Quote:

Originally Posted by Bravo2007 (Post 1277304)
In regards to that I see something wierd, maybe you can also do it and see if the same happends

Well I warned someone today enough for a temp ban, now on the postbit it did indeed show the ban and I refreshed it many times and it was still there.. but then I clicked on his name to view his Profile page and the Warning Ban: 1 was gone, then I went back to the postbit and it too was gone.. weird... I then, in the admincp go to Usermanager and select his name and under "Warning Information" it shows the Warnings and Warning points but the ban is "0" .. its like whenever I vist the users profile page it deletes it or something very very weird

can you replicate that for assurance?

Nope i tested again the warning_bans counter is working fine did you downloaded the package from here ? i have found some modified versions floating around here and there using such a version might be the cause.....

Bravo 06-27-2007 11:05 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1277599)
Nope i tested again the warning_bans counter is working fine did you downloaded the package from here ? i have found some modified versions floating around here and there using such a version might be the cause.....

I got it from here =/

Its bugging my mind lol its so weird that when I click on that persons profile page it deletes the ban.

Delphiprogrammi 06-27-2007 11:56 AM

Quote:

Originally Posted by Bravo2007 (Post 1277608)
I got it from here =/

Its bugging my mind lol its so weird that when I click on that persons profile page it deletes the ban.

Then allow me to have a look at your site send me a pm with the info and i'll see if i can dig it out and yes i know what a pain it can be sometimes

Bravo 07-04-2007 12:02 AM

Quote:

Originally Posted by Delphiprogrammi (Post 1277632)
Then allow me to have a look at your site send me a pm with the info and i'll see if i can dig it out and yes i know what a pain it can be sometimes

Sorry for the late reply I was out of town

but sure, as soon as I can I'll make you a account and PM you the INFO

Thanks

Delphiprogrammi 07-10-2007 10:44 AM

hi people,

The last few days i have been busy to rebuild the system.currently the new system is not completely done yet so what's new ?
  • phrases you asked for them even the manageoptions page is phrased
  • new templates (updated to use the phrases)
  • updated all *.php source files
  • usage of the vBulletin datamanager classes
  • You can have the system in any language allthrough the translation from english is not my job hehe :D for this there is no need to ask for permission translations are always welcomed
peace

Bellardia 07-11-2007 04:49 PM

How do I make it so that everyone can view each other's warnings?

Not on the topic, like 'View XYZ's Warnings" public?

Also : The PM system is not working. I have it on but no one gets any PMs when they get warned.

Delphiprogrammi 07-11-2007 09:03 PM

Quote:

Originally Posted by Bellardia (Post 1288457)
How do I make it so that everyone can view each other's warnings?

Not on the topic, like 'View XYZ's Warnings" public?


Also : The PM system is not working. I have it on but no one gets any PMs when they get warned.

1) admincp => Advanced Warning System => Manage Warning Options => viewingoptions => who can view the warning points and bans == all
2)there are currently no known issues with the pm system it's almost sure that would not be coming from this hack you have anything installed that interfere's with pm's ?

Bellardia 07-11-2007 10:17 PM

Quote:

Originally Posted by Delphiprogrammi (Post 1288639)
1) admincp => Advanced Warning System => Manage Warning Options => viewingoptions => who can view the warning points and bans == all
2)there are currently no known issues with the pm system it's almost sure that would not be coming from this hack you have anything installed that interfere's with pm's ?

1. I have it set on all, but when I go on my test account who's a simple member, I can't see the button 'View XYZ's Warnings".

2. I didn't install anything on this board besides this Warning System.

EdQ 07-12-2007 04:43 AM

When the cron job turns an warning inactive, doesn't it remove the warning from the users account?

I see the inactive warning. But the users still sees the warning in the postbit.

I want the user to see their warnings till they mature. Then I want them dropped off their account. Can they be done?

sv1cec 07-12-2007 05:09 AM

The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

Bellardia 07-12-2007 05:49 AM

Quote:

Originally Posted by sv1cec (Post 1288906)
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.


Is there a way to make it so everyone can see the details of the warnings? Because I go to another forum with this MOD and everyone can see each other's warning details.

Delphiprogrammi 07-12-2007 07:30 AM

indeed the system is not designed to show that button there when you select all in the viewing options only the number of warningpoints and such will be visible if this is visible to normal members you probably did something wrong in installing the system.You need to be carefull you do not alter any template hooks.The installation instructions are a little outdated i need to update them

if you want to completely delete all warnings at once you can goto admin_warn.php?do=prune and enter a value of "0" (zero) into the days field and click the button BUT gone == gone

Bellardia 07-12-2007 01:18 PM

Yes, but I want normal members to see that button and warning details. What do I have to alter to do that?

Delphiprogrammi 07-12-2007 02:29 PM

Quote:

Originally Posted by Bellardia (Post 1289170)
Yes, but I want normal members to see that button and warning details. What do I have to alter to do that?

that would have to wait i'm almost done rebuilding the current system

Bellardia 07-12-2007 03:24 PM

Can you add an option to allow all users to view warning details in your new system? =\

EdQ 07-12-2007 04:41 PM

Quote:

Originally Posted by sv1cec (Post 1288906)
The members can not see the details of the warnings, they can see how many warning points other members have and how many warnings, but not the details.

The cron job will either render the warnings "Inactive" or it will remove them all together. It depends on your settings in the AdminCP. If you are using the Historical option, warnings are never deleted completely. They always remain in the members accounts, so that (a) they act as reminders for the members and (b) they show the members past history to the admin team. If you want the warnings to be completely deleted, you may select not to maintain historical data.

I tried not maintaining the historical data. The warnings drop of when they mature (which is what I want) But now the bans drop off when the ban ends. Not when they mature.

Bellardia 07-12-2007 07:00 PM

Nevermind, I got it. Had to change some scripts.

aakhan136 07-14-2007 04:18 PM

Thanks

Bravo 07-16-2007 09:20 AM

Spelling error/Grammar error?

on the new update.
"You do not enter sufficient simbols in comment field to issue warning"

Also, I just warned someone and went to there post and it dont show the counts in the postbit anymore, it did before the update
screenshot included

Delphiprogrammi 07-16-2007 11:04 AM

Quote:

Originally Posted by Bravo2007 (Post 1292604)
Spelling error/Grammar error?

on the new update.
"You do not enter sufficient simbols in comment field to issue warning"

Also, I just warned someone and went to there post and it dont show the counts in the postbit anymore, it did before the update
screenshot included

yes you're right the first is a spelling error the second (the counter thing) is because of not correctly processing phrases that will be updated later today

provedel 07-16-2007 06:42 PM

I am getting this error after install of AWS and wanto to change anything in profile of users...

Code:

Database error in vBulletin 3.6.7:

Invalid SQL:
UPDATE user SET
        ### 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, options + 512),
                options = IF(options & 32, options - 32, options),
                options = IF(options & 2048, options - 2048, options),
                options = IF(options & 131072, options - 131072, options),
                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),
        ### Bitfield: user.adminoptions ###
                adminoptions = IF(adminoptions & 1, adminoptions, adminoptions + 1),
                adminoptions = IF(adminoptions & 2, adminoptions - 2, adminoptions),
        usertitle = 'Administra??o',
        customtitle = 1,
        username = 'Fabio',
        email = 'fabiosz@ig.com.br',
        languageid = 0,
        homepage = '',
        birthday_search = '0000-01-04',
        birthday = '01-04-0000',
        showbirthday = 3,
        icq = '',
        aim = '',
        yahoo = '',
        msn = '',
        skype = '',
        parentemail = '',
        referrerid = 0,
        ipaddress = '200.165.254.57',
        posts = 3167,
        alerts = 0,
        warns = 0,
        warning_level = 0,
        warning_bans = 0,
        usergroupid = 6,
        displaygroupid = 0,
        membergroupids = '34',
        reputationlevelid = 12,
        reputation = 180,
        warnings = 0,
        infractions = 0,
        ipoints = 0,
        pmpopup = 0,
        autosubscribe = -1,
        threadedmode = 0,
        showvbcode = 2,
        styleid = 0,
        timezoneoffset = '-3',
        daysprune = -1,
        joindate = 1088773200,
        lastactivity = 1184613480,
        lastpost = 1184349060
WHERE userid = 270;

MySQL Error  : Unknown column 'alerts' in 'field list'
Error Number : 1054
Date        : Monday, July 16th 2007 @ 03:41:05 PM
Script      : http://forum.plurall.org/admincp/user.php?do=update
Referrer    : http://forum.plurall.org/admincp/user.php?do=edit&u=270
IP Address  : 201.37.21.114
Username    : Sauron
Classname    : vb_database

Any help?


All times are GMT. The time now is 05:52 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.01946 seconds
  • Memory Usage 1,874KB
  • 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
  • (2)bbcode_php_printable
  • (22)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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