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)
-   -   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/showthread.php?t=71992)

pfdc 01-14-2005 05:18 PM

Quote:

Originally Posted by sv1cec
Just make sure that all the changes in banning.php are made correctly. You must have made a mistake there, somewhere.

I think I did everything right. here is my banning.php file



any help will be appreciated.

Zachery 01-14-2005 05:31 PM

Never, ever post your vBulletin files at this site or any other, you are breaking the rules of this site as well as the vBulletin License agreement.

Please refrain from doing so again.

sv1cec 01-14-2005 06:48 PM

Quote:

Originally Posted by Delphiprogrammi
sv1cec,

Slightly offtopic question but i'm gonna ask anyway :ermm: if a member is banned and he trys to login he just get's the "no permission" page not mentioning he's banned i'd like to change that to something "you have have been banned for $time" etc etc you have any idea what phrase i need to edit ?

$vbphrase[nopermission_loggedin] <<-- this one will help

rgds

I do not think you should change that phrase. This phrase is used for a special purpose, to tell the user that he used a wrong password or that he visited a page he is not permitted to. What we need to find, is where the ban check is done and change something there. I spend some time trying to figure out, where the ban condition is checked, but couldn't figure it out. I'll look again for that in the morning, 'cause it's 23:00 over here, and I need some rest.

Keep your fingers crossed.

sv1cec 01-14-2005 06:53 PM

Quote:

Originally Posted by pfdc
I think I did everything right. here is my banning.php file



any help will be appreciated.

The changes I make in the banning.php file, are just to add an extra field in the banning form and the userban table of course. It has no real connection to AWS, so restore your original banning.php file and see if it works OK. If it does, then try making the changes again, but with a little more attention.

Rgds

Delphiprogrammi 01-14-2005 07:15 PM

Quote:

Originally Posted by sv1cec
I do not think you should change that phrase. This phrase is used for a special purpose, to tell the user that he used a wrong password or that he visited a page he is not permitted to. What we need to find, is where the ban check is done and change something there. I spend some time trying to figure out, where the ban condition is checked, but couldn't figure it out. I'll look again for that in the morning, 'cause it's 23:00 over here, and I need some rest.

Keep your fingers crossed.


offcourse sv1cec we all need some rest now and then no hurry in it really just thought it would be nice to tell a user he/she is banned and that's the reason he/she can't view anything not the "privileges" thingy

i keep my fingers crossed :nervous:

i'll have a look myself to

Delphiprogrammi 01-14-2005 07:19 PM

Quote:

Originally Posted by pfdc
I think I did everything right. here is my banning.php file



any help will be appreciated.

i've had a problem to editing that file allot of parse errors however i got around it by editing the database querys manually just look at you do not forgot anything like quotes or { } ( ) ; and stuff like that i would give you my working banning.php file but according to this site rules and the vbulletin licence i'm not allowed todo that just edit the file with care and always have an orginal banning.php on a safe please just in case

pfdc 01-14-2005 07:32 PM

Quote:

Originally Posted by Zachery
Never, ever post your vBulletin files at this site or any other, you are breaking the rules of this site as well as the vBulletin License agreement.

Please refrain from doing so again.

I am very very sorry as I didnt know this rule. It will never happen again.

pfdc 01-14-2005 07:48 PM

I uploaded my old file and its working again. Does this in any ways limit the Warning system's capabilities?

Thanks for your help.

Quote:

Originally Posted by sv1cec
The changes I make in the banning.php file, are just to add an extra field in the banning form and the userban table of course. It has no real connection to AWS, so restore your original banning.php file and see if it works OK. If it does, then try making the changes again, but with a little more attention.

Rgds


sv1cec 01-15-2005 04:32 AM

Quote:

Originally Posted by Delphiprogrammi
offcourse sv1cec we all need some rest now and then no hurry in it really just thought it would be nice to tell a user he/she is banned and that's the reason he/she can't view anything not the "privileges" thingy

i keep my fingers crossed :nervous:

i'll have a look myself to

Good morning to all,

although it is definitely not the same, why don't you enable the "e-mail on ban" feature? In that way, when the user is banned, he gets an e-mail and he knows. (I know, I know, I'll look into it, it's just that I haven't have my coffee yet).

Rgds ;-)

Widok 01-15-2005 07:59 AM

Has installed, has created a rule with "Automatic Warnings".
Has written the message with ObsceneWords, I send - there is an error:
Code:

Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 1844
At me in this file to this address:
Code:

foreach($nav_array AS $nav_url => $nav_title)
In a window such error:
Code:

Error
An Error Has Occured!
An error has occured, the following message has been left below:

Invalid Warning Type Specified
[ Back ]

Actually the message has gone, the Obscene Words were replaced on *, but the warning to the user has not gone.. :(


All times are GMT. The time now is 08:08 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.02470 seconds
  • Memory Usage 1,753KB
  • 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
  • (8)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