The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#21
|
|||
|
|||
Quote:
PHP Code:
So from my understanding: An infraction that don't carry points PHP Code:
I have tried either variations, and neither have worked. |
#22
|
||||
|
||||
Quote:
--------------- Added [DATE]1450845554[/DATE] at [TIME]1450845554[/TIME] --------------- based on this post: Quote:
PHP Code:
PHP Code:
|
#23
|
|||
|
|||
That is correct.
The hook I am using is 'infraction_update_complete' |
#24
|
||||
|
||||
Quote:
try this: PHP Code:
|
#25
|
|||
|
|||
So I tried again with == 0 and != 0.
When I tried == 0 - points get deducted when I issue warnings and they don't get deducted when giving an infraction. When I tried != 0, points are not deducted in either situation. |
#26
|
||||
|
||||
Quote:
PHP Code:
|
#27
|
|||
|
|||
Tried that before if I remember correctly. I tried again nevertheless.
Warning does nothing, and infraction does nothing. |
#28
|
||||
|
||||
There are minor differences. Ok, let me think on this a bit. I will get a fresh look in the morning.
|
#29
|
|||
|
|||
Quote:
Perhaps the code to check for the infraction points being handed out is wrong, or the hook is wrong? I am not sure how to check either of these though. |
#30
|
||||
|
||||
Quote:
I think the hook is right, just need to figure out what is being returned, so we can use it properly |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|