![]() |
Quote:
|
I noticed today that a mod warned a members twice, and was banned even though the third warning would be a ban.
Last time i tested I was not able to produce this problem warning a member as an admin, so i think maybe it deals only with mods issuing warnings. |
Very nice hack but when I want to warn somone I cannot see any options about warning somone in a post at all. I don't know what I could have done wrong so if I need to I an give a temporary admin user acc and pass to see what I did wrong. I followed everything word by word and everywhere works but I do not see anything warning wis on my style even though it has the code in the Postbit_legacy (Which I use legacy). I don't know what elce to say to help so yeah. Thanks ahead of time.
http://forums.santacruzpcsupport.com = my fourms. |
Did you turn on the usergroup settings? ;)
|
Will this be BEAT forever ir what???
|
Quote:
Quote:
|
Quote:
'walks away in shame' *Damn I feal dumb now.* |
Quote:
|
John,
I've solved another problem i found where the system would redirect to invalid user id input.It involves the "view user warnings" option i think admin_warn.php is ready for a testrun BUT BACKUP YOUR DATABASE FIRST can't say this loud enough |
Quote:
|
Quote:
|
Quote:
But then 1 day later, I was investigating a PM issue where sometimes when you reply it tries to reply to the wrong pmid (therefore giving a permissions error pissing my users off... lol) or giving them a new pm submit form.. Very wierd.. I am probably going to have to deleted the entire pm system... Anyway.. While in there I noticed about 60000 pms from user 0 to user 0.. They kept generating until I disabled your hack |
When I try to run the kill_warn.php script, it gives me error
Code:
Fatal error: Call to a member function on a non-object in /home/domain/domain.com/forum/global.php on line 243 Also, when Im in the admincp, trying to view the warn logs, when i press the view next page, it loads but then it doesn't go to the next page. it's still on page one. |
Quote:
|
hi,
I've changed the settings page a bit (not admin_warn.php?act=manageoptions) but the vbulletin->options->warning hack changed the way of setting the usergroups.Now you can choose from a dropdown list you can do this like this while being in debug mode click edit setting and in the option code field Code:
<select name=\"setting[$setting[varname]]\" tabindex=\"1\" class=\"bginput\"> |
Quote:
|
Quote:
I also fixed the mod_warn.php file there whas an issue with missing navigation buttons when viewing the complete warning log another fix i did is with the product XML if you install this system there is an issue with the colspan of tables used i fixed that it auto installs everythings needed for the system to work |
can u send me all the fixed files please? thanks
i've also reuploaded the kill_warn.php... and it gives me this error now: Fatal error: Call to a member function on a non-object in /home/user/domain.com/forum/includes/functions_warning.php on line 31 and line 31+32 is.. Code:
$to=$db->query_first("select * from ".TABLE_PREFIX."user where userid='{$to}'"); // Grab Member Its Going TO |
hi,
Well i just did a testrun with kill_warns.php and it returned no error messages ....... your php is acting weird i guess.... on line 14 off the file functions_warning.php there is PHP Code:
all fixed files are attached people if you use any of the attached files specially the product xml or admin_warn.php please ensure you have a recent complete backup off your database so IN CASE anything goes wrong you still have your complete database which can be restored if needed files which start with "kill_" need to be uploaded to /forum/includes/cron mod_warn.php to /forum/modcp admin_warn.php to /forum/admincp product-aws.xml needs to be imported using the product manager (carefull with this as you may not need this it just corrects some template issues and a bug where you would get "inavlid user id input" when trying to warn from the admincp) |
Thanks for this hack.. But I don't seem to get it working :( (I must say that I'm a n00b @ vbulletin, but eager to learn)
I've first installed the hack, after that installed Delpih's new files to all the correct places ! But when I want to warn a member from the admincp. I get the error message: Invalid User ID Input Also I can only warn people in the admincp and not in the modcp.. When I log in to the modcp I only see: View Issued Warnings And nothing else.. Then my last (and probaly stupid question) but in the readme.txt It says to change some code in: In Template postbit and Template postbit_legacy But where can I find this Templates ?? :$ :$ Thanks in advance ! |
Quote:
you can find templates in your admincp under the heading "style& templates" => style manager => choose the style you want to use and hit <<>> next to it (you will find the postbit templates under "postbit templates" in the list you must make all needed changes for EVERY style you want to use in the modcp there is 1 link "view issued warnings" which will show you either the complete warning log or just the warnings you issued yourself this depends on your AWS settings |
Thank you !
This really helped me much ! |
Would you please tell - when at least abou you're going to place final version?
Thank you any way for a GREAT job!!!! |
Hey Delphi, you are doing a great work here. For some reason, I do not get email notifications from this thread, so I haven't followed up to all this.
OK, packaging-wise, do you think the code is stable enough to try coming up with a package? |
just installed but not yet tested... *clicked install*
great job! sv1cec & delphiprogrammi ;) |
Quote:
The only suggestion I have....maybe to put this over the top....is to be able to ban users from x page....which would be useful more for hacked boards than anything I think....say for example someone has googlemap and ibproarcade installed....the arcade comes with the ability to ban users or groups of users from the arcade, the googlemap doesn't....its not permission based at all really....not on the front end. Maybe a script where you can put in a username, and ban x user from x page? I dunno if anyone else might find that useful....but I would :bunny: aside from my little thought...i'd say go for it :) |
I've yet another question :) Where Can I change the message that will be send to the warned users ?!
|
Quote:
specially i'm curious how you did the automatic warnings i can't get the bloody thing to work :D |
Quote:
|
Delphi, I have to go back a couple of pages to see what I've posted about the Automatic Warnings. What seems to be your problem with that?
|
Delphi, check this out https://vborg.vbsupport.ru/showpost....&postcount=740
|
Quote:
|
Hey,
I've been trying to get this one working all night but to no avail. All the files have been uploaded correctly and the templates have been changed accordingly. The problem is when installing the xml file. It seems as though none of the tables are created. At first I figured that it might be so that it stops on some SQL (ie a table already exists) and doesn't resume. However, this happens even if I make sure that there are no offending tables and columns in the database. So I tried creating the tables and columns manually by simply executing the sql that the installation is supposed to take care of. However, this doesn't help since I still can't warn anyone. I get errors that the column doesn't exist. Here is an excerpt of errors I get: This is what I get when trying to warn someone: Code:
Database error in vBulletin 3.5.3: Code:
Database error in vBulletin 3.5.3: As can be seen from the error messages, I'm running vB 3.5.3. I'm also using the latest files posted in this thread. |
Delphi,
Try using this plugin instead of the standard "AWS: Check Post-Title/Message for censored Words" one. Also, try using this functions_warning.php file, I do not remember if I've done any changes to it. |
Are you using a table prefix, by any chance?
|
Where do I check that?
EDIT: Nevermind, in config.php obviously. It's empty, so no, I', not using a table prefix. What's really baking my noodle is why isn't the installer creating the proper tables? Is there some log which I can check for errors? |
Quote:
PHP Code:
|
Quote:
|
Quote:
|
question: this is upgradeable from 3.0.x correct?
if yes, whats the details on that for upgrading. if no, what should i do about the current version of aws on my 308? |
All times are GMT. The time now is 11:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|