![]() |
Quote:
Rgds ---------- John |
Quote:
|
Hey John, the first problem has been solved, the semicolon worked no problem.
I still have a problem with the private messaging though. The lines are uncommented just how you said to do and the next lines are just like yours. The SQL error is still the same though. You can view my Warn.php here if you want to verify anything for yourself. Also, I warned my test account up to a ban and it went to the correct usergroup in the correct ban log (the one built into vB), but it said the ban was permanent. I have it set to 3 days in the Admin CP. If you have any idea what is going on with that I'd appreciate it. Thanks for all the help, Matt Edit: just saw you run m1911.org, very :cool: Congrats on getting the forums running, I hadn't even seen them before. I always used http://forums.1911forum.com/ :) Anyhow, just wanted to let you know I've learned a LOT from your site |
Matt,
Thanks for the nice words about M1911.ORG, appreciated. Yes, we have our own forums site running since June. As for the mods, there were a couple of minor mistakes in your warn.php, so I had them corrected. I guess the problem with the eval statement was a dot, just before the = sign. Anyway, I attached it here. Let me know if it works. Rgds |
i hope two idea's i've seen on these forums make it into version 2.0
Expirable warnings Can't warn same post twice |
sv1cec, It didn't work. The first problem I had was that I needed a new colum in warn_types called warn_maturity. I made that, but now I'm still getting the problem with the PM function:
Code:
Database error in vBulletin 3.0.3: If you have any ideas I'd appreciate it :). Matt |
Quote:
I found a few more differences between your warn.php and mine. I am attaching your file with the new code. It is in the SQL Query that inserts those values in the omtext table. The problem is that I haven't touched that part of the code myself, so I guess we have a ... version discrepancy here. Let me know if this one works. John |
Quote:
As for not warning the same post twice, I think I've got it working by adding the following code: PHP Code:
PHP Code:
Rgds John |
Quote:
however it would be good to have it intergrated into the hack itself for example the way it was in mikes warning hack for vb2 Spamming expires 30 days Rudeness expires 1 day Signature expires 30 days its settable per warning but the way i found in this thread was as a whole 30 days from the time set per warning |
Quote:
It appears to be working great now :D except for two small things. 1.) If a user has a warning level of 5 and the ban level is 6 and I give them a warning worth 2 points it takes the level up to 6, but when I remove the warning it keeps an extra point in "reserve" that I can't seem to erase. I can of course go into the my user table and remove it from the last column, but I thought I'd let you know in case you want to fix it. 2.) At the bottom of the Warn.php interface (on the site) it says "Once you reach warning level 6, you will be banned for 3 days". Well, I'm not banning them, I have a usergroup on my site I add them to called the Kiddie Korner, and that is the only place they're allowed to post. I would like to say "Once you reach warning level 6, you will be moved to the Kiddie Korner for 3 days" |
All times are GMT. The time now is 08:57 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|