The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Comments |
#242
|
|||
|
|||
![]()
i have installed and upgraded the warning hack but normal members can warn other members is there a setting to make it so that admins and mod or supermods can warn
|
#243
|
||||
|
||||
![]()
Nice man! I'm clicking install button now!
|
#244
|
|||
|
|||
![]()
I have found a very annoying problem with this hack.
No offense but your function ParseInput wasnt very good and it is not handling the comments the way i want. It is not giving good pm results. Meaning i get the ASCII characters in my PM's when recieving a warning notice. First i would like to thank the admin's over at www.battleforums.com for pointing this out. Proper grammar can really improve a forum's appearance and that is one of the reasons i want help with this problem. I tried to use a function by vbulletin but thats not working. If you could please modify it that would be great. |
#245
|
|||
|
|||
![]()
Why not use the template mod suggested further back in this thread?
|
#246
|
||||
|
||||
![]()
hmmm...I'm getting a Who is Online error aswel...having my programmer check it out.
|
#247
|
|||
|
|||
![]()
can someone please answer my question
|
#248
|
|||
|
|||
![]() Quote:
Rgds |
#249
|
|||
|
|||
![]() Quote:
|
#250
|
|||
|
|||
![]() Quote:
Rgds |
#251
|
|||
|
|||
![]()
Yea if you could send those my way that'd be great. Just pm me.
Also, I know it has something to do with the way the message is parsed from the database. ParseInput() is a decent function but it does not seem to deal with it the right way. And the pm text SHOULD be the same, unless you made a custom function for send_pm() but i didnt notice anything. Thanks for the help, and i hope i can figure this problem out. ~Sicloan |
#252
|
||||
|
||||
![]()
Set it up with no problems! Thanks again for such an awesome hack and awesome work
![]() ![]() |
#253
|
|||
|
|||
![]() Quote:
HTML Code:
Dear $user[username], You have been warned for one of your posts, which violated the Forums Rules. The reason you have been warned is because [b][i] $warn_type[warn_desc] [/i][/b](Warning Type = $warn_type[warn_name]), for which you have been given [b] $warn_type[warn_points] [/b] point(s). The post for which you are warned can be seen [URL="$vboptions[bburl]/showthread.php?p=$_POST[post]"]here[/URL]. The admin/moderator who warned you, entered this comment: ======================================= [i]$_POST[comment][/i] ======================================= Your total Warning Level at the moment is: [b] $level [/b] point(s). If you reach the maximum of [b]$warn_options[points_before_banned][/b], you will be banned from the Forums, for [b]$warn_options[banned_limit][/b] days. To see details about all the warnings you have received, until now, please click [URL="$vboptions[bburl]/Warn.php?do=ViewMyWarnings"]here[/URL]. Please reply back if you have a dispute. PHP Code:
Right below those two lines, add the following: PHP Code:
I hope this helps. --------- John |
#254
|
|||
|
|||
![]()
One issue I had with this hack, is the fact that it uses a separate table, to maintain those members which get banned. If you do that, then you have to manually change their status to unbanned, when the banning period expires.
Why can't we use the normal table, in which vB stores the banned users, called "userban"? In that way, we can have the vB's cron job take care of the unbanning. For those who are interested in this, all you have to do, is the followings: In your warn.php file, find the following line: PHP Code:
PHP Code:
Also, it is obvious, that if you use this mod of mine, any future improvements by the author of this hack, might not work, so use at your own risk. I'll try to help anyone who has issues with the above mods, but I can't promise any response times. Rgds ------------ John |
#255
|
||||
|
||||
![]()
* jd clicks install *
I have been testing this for a while, it is great just installed it on my live forum. I have made a few changes mostly conditionals so only staff can see the warn and view warn text in the postbit template, also added a Warn Level indicator for everyone (except staff) to see, also added the same in the MEMBERINFO template. Thank you. JD. ![]() |
#256
|
|||
|
|||
![]()
I get SQL errors when trying to send the message using both the original method by Zero Tolerance, and the template method by sv1cec
Here is the error with the stock code: Code:
Database error in vBulletin 3.0.3: Invalid SQL: insert into vb3_pmtext values ('','1','Matt','You have been warned','You have been warned for one of your posts: click here to see it. Your warning level is now: 5. Click on the Quick Links menu above and select View Your Warnings, to see details about all the warnings you have received. The person who warned you, entered this comment: test. Please reply back if you have a dispute.','a:1:{i:5;s:9:\"BeasTboyz\";}','4','1096165529','1','1') mysql error: Column count doesn't match value count at row 1 mysql error number: 1136 Date: Saturday 25th of September 2004 09:25:29 PM Script: http://www.observedtrials.net/vb/Warn.php Referer: http://www.observedtrials.net/vb/War...d=5&post=73439 Code:
$DB_site->query(" Thanks! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|