![]() |
Refering to the warned post being marked, I was thinking about this and I want to share those thoughts with you.
At the moment, the only place where the warned postid is stored, is in the table warnings. If we were to have a "red flag" for posts that have been warned, that means that I should add a query, which will read the warnings table, for each post. Too much server overload I think. The alternative would be, to mark the post as "warned" in the "post" table. In that way, when the post is read, to be displayed, the warned red flag is read as well. But, that means that almost all files that issue "post-related" warnings, will have to be edited (off my head right now, I would say that these are three or four files, but maybe I can make it less). I think I should do it that way, otherwise I know one member here, whose hair will stand up, if we add another query per shown post. Rgds |
I like the alternative option. Doesn't have to be included right away, if done in a next release I would be more than happy :)
Thanks for being so cooperative and active responding! |
Maybe another possibility (but hey I'm just a php/mysql noob) ... just give a pop up or warning to the moderator when they try to give a second warning to an already warned post.
That why I think you only got to store the id's of the marked posts and query them when a new warning is been issued. But then again, I'm just a noob in these things. |
Well folks, here is what I've done. I added a column in the post table. Every time a post is warned, I add 1 to that column. Every time a warning is removed, I subtract 1 from that column. If that column is >0, then there is at least one warning for that post. If this is so, a large stop-like sign appears in the postbit, in that post.
I just uploaded 3.0.6. One more thing. If there are any users who still have problems with 3.0.5 or any previous release, please let me know now. Thanks and Rgds |
Thnx, works fine, but :
In users management, still it just takes me to a blank screen with a Internal Server Error when I selecting Warn User. |
Quote:
Rgds |
Quote:
From the users management the link brings me nowhere. Maby it's a problem of my forum DIR, I have my home page in the root en than a forum DIR. |
Database error in vBulletin 3.0.4:
Invalid SQL: insert into warnings values('','30','1','1105040863','','256','2','N',' A','','') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 |
Quote:
|
Quote:
Do this test. While you are in your admincp, go to the address bar of your browser and enter this : http://www.mysite.nl/forum/admincp/../Warn.php?$session[sessionurl]do=WarnUserNoPost&return=user&id=61 Does that bring you anything? Rgds |
All times are GMT. The time now is 03:48 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:
|