The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#262
|
|||
|
|||
Quote:
Rgds ---------- John |
#263
|
||||
|
||||
Quote:
|
#264
|
|||
|
|||
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 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 |
#265
|
|||
|
|||
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 |
#266
|
||||
|
||||
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 |
#267
|
|||
|
|||
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: Invalid SQL: insert into vb3_pmtext values ('','1','Matt','You have been warned','Dear BeasTboyz, You have been warned for one of your posts, which violated the Forums Rules. The reason you have been warned is because Other reasons not listed (Warning Type = Miscellaneous), for which you have been given 2 point(s). The post for which you are warned can be seen here. The admin/moderator who warned you, entered this comment: ======================================= test ======================================= Your total Warning Level at the moment is: 5 point(s). If you reach the maximum of 6, you will be banned from the Forums, for 3 days. To see details about all the warnings you have received, until now, please click here. Please reply back if you have a dispute.','a:1:{i:5;s:9:\"BeasTboyz\";}','4','1096279642','1','1') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Monday 27th of September 2004 05:07:22 AM Script: http://www.observedtrials.net/vb/Warn.php Referer: http://www.observedtrials.net/vb/War...d=5&post=73439 Username: Matt IP Address: xx.xx.xx.xx If you have any ideas I'd appreciate it . Matt |
#268
|
|||
|
|||
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 |
#269
|
|||
|
|||
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 |
#270
|
||||
|
||||
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 |
#271
|
|||
|
|||
Quote:
It appears to be working great now 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" |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|