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)

Delphiprogrammi 04-20-2006 10:41 AM

hi people,

I would like to announce the updated package from AWS
  • All known features like the same system for vb3 had (including the notes)
  • usergroup permissions(this is new)
  • the warning and warningtypes interface are using phrases now so translation is made easy
  • a few bugs i spotted and also reported by other users here are fixed

some fies changed from the ones availible here ...

with Johns permission as it is still his code i modified here and there i'll zip the system and attach it

thank you for listening lol

:cool:

jluerken 04-20-2006 03:37 PM

Quote:

Originally Posted by Delphiprogrammi
hi people,

I would like to announce the updated package from AWS
  • All known features like the same system for vb3 had (including the notes)
  • usergroup permissions(this is new)
  • the warning and warningtypes interface are using phrases now so translation is made easy
  • a few bugs i spotted and also reported by other users here are fixed

some fies changed from the ones availible here ...

with Johns permission as it is still his code i modified here and there i'll zip the system and attach it

thank you for listening lol

:cool:

Can you please give it a new version number and create a new downloadable archiv file? Currently I don't know which files to download.

Delphiprogrammi 04-20-2006 06:27 PM

Quote:

Originally Posted by jluerken
Can you please give it a new version number and create a new downloadable archiv file? Currently I don't know which files to download.

yes i will zip the complete package.Anybody wants the complete system uses phrases (currently only the warninglists do )

cnprint 04-21-2006 05:13 PM

hi,Delphiprogrammi
I used your fixed,but when I kill warn in cron ,it send me fix.

PHP Code:

Fatal errorCall to a member function query_first() on a non-object in E:/Apache Group/www/includes/functions_warning.php on line 31 

and functions_warning.php line 31 and 32 is

PHP Code:

$to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'");  // Grab Member Its Going TO
    
$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM 

why?could you help me?
thanks in advance

Delphiprogrammi 04-21-2006 06:47 PM

Quote:

Originally Posted by cnprint
hi,Delphiprogrammi
I used your fixed,but when I kill warn in cron ,it send me fix.

PHP Code:

Fatal errorCall to a member function query_first() on a non-object in E:/Apache Group/www/includes/functions_warning.php on line 31 

and functions_warning.php line 31 and 32 is

PHP Code:

$to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'"); // Grab Member Its Going TO
    
$from=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$from}'"); // Grab Member Its Coming FROM 

why?could you help me?
thanks in advance

that code is absolutely correct ......

the only thing i can think of is that you are not using vbulletin 3.5.x which this system is designed for ?

try to describe exactely what you are doing when the error appaers

GoTTi 04-22-2006 01:04 AM

Quote:

Originally Posted by sv1cec
Congrats buddy!

Since the test forum I used is shut down, I guess users are now relying on you for a complete package, ready for installation.

WHY HAVENT U CONTACTED ME ABOUT THIS? DAMN IT SV1!!!

READ YOUR PM AND GET BACK TO ME!!!

cnprint 04-22-2006 08:31 AM

Quote:

Originally Posted by Delphiprogrammi
that code is absolutely correct ......

the only thing i can think of is that you are not using vbulletin 3.5.x which this system is designed for ?

try to describe exactely what you are doing when the error appaers

oh,I use the simplechinese rich version,it has added much more hack,it's different form english version,there's so trouble,I wouldn't take care of it.

thank you again.

sv1cec 04-22-2006 10:30 AM

Gotti, I PM-ed you. But if Delphi is so close to release the whole thing, I do not think you guys need my help. Let's wait to see what Deplhi has up in his sleeve, I am sure it will be much improved over my versions.

Delphi, one issue. Please check the templates, I think that there are still some references to $vboptions instead of $vbulletin->options.

Also, why don't you rename those two routines which cause problems with the Inferno hacks, so that we get over that issue too?

Sorry buddy, some ideas only.

Delphiprogrammi 04-22-2006 11:35 AM

Quote:

Originally Posted by sv1cec
Gotti, I PM-ed you. But if Delphi is so close to release the whole thing, I do not think you guys need my help. Let's wait to see what Deplhi has up in his sleeve, I am sure it will be much improved over my versions.

Delphi, one issue. Please check the templates, I think that there are still some references to $vboptions instead of $vbulletin->options.

Also, why don't you rename those two routines which cause problems with the Inferno hacks, so that we get over that issue too?

Sorry buddy, some ideas only.

in templates $vboptions will still work fine.I renamed those two routines which where causing a conflict if you are using inferno hacks .I'll attach a zip

now don't shoot me if anything goes wrong :banana:

tqvn2004 04-23-2006 05:57 PM

Quote:

Originally Posted by Delphiprogrammi
in templates $vboptions will still work fine.I renamed those two routines which where causing a conflict if you are using inferno hacks .I'll attach a zip

now don't shoot me if anything goes wrong :banana:

I am completely lost :(

The package released by Delphiprogrammi should be the latest AWS version? Do I have to apply those fixed mentioned previously?

And I can see that a lot of sentences are hard-coded into the code, which makes them more difficult to translate. Examples are:

+ Add Note for $post[username]
+ View $post[username]'s Warnings
+ View your Warnings
+ The following notes have been entered for this user
+ Moderator
+ Moderator Note
+ Time
+ Remove
+ You appear to be the Collector of this site. Under which ID you want this message to be send?

Could you make them into language phrases as well, Delphiprogrammi? Much appreciated for this ;)

Delphiprogrammi 04-23-2006 06:25 PM

Quote:

Originally Posted by tqvn2004
I am completely lost :(

The package released by Delphiprogrammi should be the latest AWS version? Do I have to apply those fixed mentioned previously?

And I can see that a lot of sentences are hard-coded into the code, which makes them more difficult to translate. Examples are:

+ Add Note for $post[username]
+ View $post[username]'s Warnings
+ View your Warnings
+ The following notes have been entered for this user
+ Moderator
+ Moderator Note
+ Time
+ Remove
+ You appear to be the Collector of this site. Under which ID you want this message to be send?

Could you make them into language phrases as well, Delphiprogrammi? Much appreciated for this ;)

i am already doing that so far the add warning page uses phrases.They can be used to translate the original into your own language you want to use (warningtypes and warning lists already uses phrases)

and you just download the zip reimport the product XML (set allow overwrite to yes) upload the files from the zip

done (hopefully)

tqvn2004 04-23-2006 09:07 PM

Quote:

Originally Posted by Delphiprogrammi
i am already doing that so far the add warning page uses phrases.They can be used to translate the original into your own language you want to use (warningtypes and warning lists already uses phrases)

and you just download the zip reimport the product XML (set allow overwrite to yes) upload the files from the zip

done (hopefully)

I downloaded the zip file, and inside there is a readme.txt, which shows how to edit templates (postbit, postbit_legacy...). Those phrases I found are in these template editing.

If I have to perform template editting as readme.txt instructed, I will have problem with translation of those phrases :D Or do you mean I dont have to do those template editting? Note that this is the fresh install of AWS on my board!

Thanks!

Delphiprogrammi 04-23-2006 09:17 PM

Quote:

Originally Posted by tqvn2004
I downloaded the zip file, and inside there is a readme.txt, which shows how to edit templates (postbit, postbit_legacy...). Those phrases I found are in these template editing.

If I have to perform template editting as readme.txt instructed, I will have problem with translation of those phrases :D Or do you mean I dont have to do those template editting? Note that this is the fresh install of AWS on my board!

Thanks!

the phrases you mean aren't there yet.I am busy with it and i have to test all the changes i have made.You don't want a crashing database do you ? :knockedout:

The phrases already used are build into it they are currently
  • Issued Warning List
  • warning Types List

you will have todo all templates edites as instructed in readme.txt

GoTTi 04-24-2006 05:02 PM

so wait, that attachement from delphi is a fully working AWS?

Delphiprogrammi 04-24-2006 08:04 PM

Quote:

Originally Posted by GoTTi
so wait, that attachement from delphi is a fully working AWS?

i hope so ......

the two screenshots attached are the things which are using phrases.Those column headings (not the actual issued warnings itself)

turkerm 04-24-2006 10:58 PM

I need to translate it completely into Turkish, yet it is a wonderful thing!

cnprint 04-25-2006 04:20 PM

Quote:

Originally Posted by Delphiprogrammi
the phrases you mean aren't there yet.I am busy with it and i have to test all the changes i have made.You don't want a crashing database do you ? :knockedout:

The phrases already used are build into it they are currently
  • Issued Warning List
  • warning Types List

you will have todo all templates edites as instructed in readme.txt

oh, good, delphi, when you finished the new version warning hack , I would translate to SimpleChinese version ,I have finished translate two version in the past.

Delphiprogrammi 04-26-2006 01:10 PM

hi people,

Some news.The System is phrased in the postbit,postbit_legacy and MEMBERINFO templates and working fine maybe i get a quickpackage ready since some people are waiting for this :bandit:

GoTTi 04-26-2006 06:01 PM

delphi take your time. lets not have any mistakes or stuff missing.

sv1, why dont u put delphi as a supporter/co-author on this hack so he can update the package and stuff?

DementedMindz 04-27-2006 11:10 PM

can you please cache template warn_pm

DementedMindz 04-27-2006 11:13 PM

also how come it dont display the warnings given on the post? mostly all the edits i see are for postbit but what happens if you use postbit_legacy for everything should you do all them edits on that?

Delphiprogrammi 04-28-2006 08:56 AM

Quote:

Originally Posted by DementedMindz
also how come it dont display the warnings given on the post? mostly all the edits i see are for postbit but what happens if you use postbit_legacy for everything should you do all them edits on that?

1)yes i spotted the uncached templates and that is solved
2)you have to edit BOTH templates postbit and postbit_legacy (instructions are in readme.txt .... they are there)

DementedMindz 04-28-2006 07:12 PM

Quote:

Originally Posted by Delphiprogrammi
1)yes i spotted the uncached templates and that is solved
2)you have to edit BOTH templates postbit and postbit_legacy (instructions are in readme.txt .... they are there)

i have edited it to the read me ill just wait for next version or try inferno

sv1cec 04-29-2006 12:23 PM

Good point on adding Delphi as a supporter, co-author. I added him, he fully deserves it.

GoTTi 04-29-2006 02:58 PM

john my test site is still up for you dude, maybe if you wanna take his zip he made and install it there and go through it and test everything out yourself you can start learning how this scripting for 3.5 is done and get the ideas and maybe fix your hack up yourself also.

the test board is there for you guys i want you guys to use it ;)

sv1cec 04-30-2006 12:22 PM

GoTTi, I won't be able to do anything on this, until Tuesday, today and tomorrow the animals (ah,.... sorry, the twins) are at home, so it's impossible to do anything. I'll try to work on this and do some tests Tuesday.

Delphiprogrammi 05-02-2006 11:01 AM

Quote:

Originally Posted by sv1cec
Good point on adding Delphi as a supporter, co-author. I added him, he fully deserves it.

thank you John found any mistakes i "may" have made yet ? :banana:

oooh and firefox doesn't like they way i phrased the warnings button option that browser shows always two buttons on top of eachother

EdQ 05-02-2006 04:11 PM

I notice when I use the newer version of Warn.php and try to warn a user. It comes up telling me this post was already warned. Even though that isn't true.

Quote:

This post has received other warnings.

H@K@N 05-03-2006 08:28 AM

What could be the Problem, if the Selection Box is empty if i want to do a non-post related Warning ?

Warning Selection: Choose a warning

(not post-related)

Everything else is working, and i hav several Warning types.

th@nks

robert_2004 05-03-2006 01:44 PM

PROBLEMS FOUND:
- forum/admincp/admin_warn.php - enter a username, and view warnings. the links on some <a href> are wrong, and have either '/' on the start, or missing the variable for the adminCP directory.
- /forum/admincp/admin_warn.php?act=viewlogs&script=&perpage=50&ord erby=w.warned_time%20DESC&page =2 - choose to view logs. now choose to sort warning types. nothing happens. i also tried going to next page, and it doesn't go anywhere - simply showing what looks to be like the first page still.

Also, i think we should be able to use a warning or alert for posts and non posts.
i don't think i should have to make all 25 different warning types again, for non posts. (even though only 3-8 of them would only affect non post related warnings).

Also, i would like to delete all warnings given to people for a certain warning type. (we have a 'sig too big', people were warnings instead of issuing alerts. and now i want to remove all the warnings people have gotton, instead of leaving them on their account.)
SO: i would like to prune warnings, also with the option by type, and by date (more than 30 days ago).

Thanks mate - good work so far.

robert_2004 05-03-2006 01:46 PM

post #910 - H@K@N,
you have not configured any warnings to be "non-post related", meaning all the warnings you have at the moment, are only valid and can be given to a specific post on the forum - not really can it be given to their profile picture, their username, their member profile.
you have to set up warning types to be non post related.
hope that helps.

Bubble #5 05-03-2006 05:00 PM

Does anybody know what the secret is to removing the warnings from a members account? It removes the ban points but not the warnings... Thanks :confused:

Delphiprogrammi 05-03-2006 06:04 PM

Quote:

Originally Posted by EdQ
I notice when I use the newer version of Warn.php and try to warn a user. It comes up telling me this post was already warned. Even though that isn't true.

that's normal set "maintain historical records" to no and it should disappaer

Delphiprogrammi 05-03-2006 06:07 PM

Quote:

Originally Posted by H@K@N
What could be the Problem, if the Selection Box is empty if i want to do a non-post related Warning ?

Warning Selection: Choose a warning

(not post-related)

Everything else is working, and i hav several Warning types.

th@nks



if the warning selection dropdown list only show "choose a warning" then you are trying to issue a warning on the option found in the membersprofile (or via the admincp usermanager).Define at least one non post related warning type and your problem will disappaer

Delphiprogrammi 05-03-2006 06:08 PM

Quote:

Originally Posted by robert_2004
PROBLEMS FOUND:
- forum/admincp/admin_warn.php - enter a username, and view warnings. the links on some <a href> are wrong, and have either '/' on the start, or missing the variable for the adminCP directory.
- /forum/admincp/admin_warn.php?act=viewlogs&script=&perpage=50&ord erby=w.warned_time%20DESC&page=2 - choose to view logs. now choose to sort warning types. nothing happens. i also tried going to next page, and it doesn't go anywhere - simply showing what looks to be like the first page still.

Also, i think we should be able to use a warning or alert for posts and non posts.
i don't think i should have to make all 25 different warning types again, for non posts. (even though only 3-8 of them would only affect non post related warnings).

Also, i would like to delete all warnings given to people for a certain warning type. (we have a 'sig too big', people were warnings instead of issuing alerts. and now i want to remove all the warnings people have gotton, instead of leaving them on their account.)
SO: i would like to prune warnings, also with the option by type, and by date (more than 30 days ago).

Thanks mate - good work so far.

i will check those things.The sort issue could be because of the warnings_per_page setting in the manage warning options page

Delphiprogrammi 05-03-2006 06:11 PM

Quote:

Originally Posted by Bubble #5
Does anybody know what the secret is to removing the warnings from a members account? It removes the ban points but not the warnings... Thanks :confused:

in the warninglog there is a checkbox next to each warning issued mark the checkboxs(s) and hit the complete remove button (delete is deleted .... ) look at the attached image it will make the procedure more clear

Bubble #5 05-03-2006 08:10 PM

Quote:

Originally Posted by Delphiprogrammi
that's normal set "maintain historical records" to no and it should disappaer

Tried that, but when we click on the 'Proceed' button it sends us to a blank white page. If we log back into the controls it is now set to 'No' but the warnings still appear.

Bubble #5 05-03-2006 08:14 PM

Quote:

Originally Posted by Delphiprogrammi
in the warninglog there is a checkbox next to each warning issued mark the checkboxs(s) and hit the complete remove button (delete is deleted .... )

It says no warnings found, yet one still appears in the members profile/post information...

Delphiprogrammi 05-03-2006 09:17 PM

Quote:

Originally Posted by Bubble #5
It says no warnings found, yet one still appears in the members profile/post information...

true but you are using an outdated admin_warn.php i fixed that bug a while back.(the redirect to a white page) if you set "MainTain Historical Records" to no it should show you the attached screenshot

you should use the files from this package

Bubble #5 05-04-2006 12:05 AM

Quote:

Originally Posted by Delphiprogrammi
true but you are using an outdated admin_warn.php

We wanted to update but we couldn't find any update instructions from 1.0.4, and there's no way to completely uninstall the old version either without them :( We'll keep trying to look for them though.


All times are GMT. The time now is 03:07 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.05385 seconds
  • Memory Usage 1,876KB
  • 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
  • (4)bbcode_php_printable
  • (24)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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