warning_moderate setting is not honored properly

Started by infyquest, March 24, 2014, 05:35:50 PM

Previous topic - Next topic

infyquest

warning_moderate setting is not honored properly, the value is coming as 110. we configured it to 50,

Kindred

ok...    sorry, but a one line report with no actual information or details is useless.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

infyquest

more information, can I post the source code for it:

enable warnings for the board,

set the warning settings as below
Quote+--------------------+--------------+
| warning_moderate   | 20           |
| warning_mute       | 75           |
| warning_settings   | 1,25,0       |
| warning_show       | 2            |
| warning_watch      | 25           |
+--------------------+--------------+

try to issue a warning to a user.

Go to Issue a warning page for a user and click + link for warning to increase.

I manually changed the following in Profile.template.php

from
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(-5); return false;">[-]</a></span>
to
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(-25); return false;">[-]</a></span>

from
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(5); return false;">[+]</a></span>
to
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(25); return false;">[+]</a></span>

you wont see the correct color for increments.

If you check the code in source code browser

you see the code



<dt>
<strong>Warning Level:</strong>
</dt>
<dd>
<div id="warndiv1" style="display: none;">
<div>
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(-25); return false;">[-]</a></span>
<div class="floatleft" id="warning_contain" style="font-size: 8pt; height: 12pt; width: 200px; border: 1px solid black; background-color: white; padding: 1px; position: relative;" onmousedown="setWarningBarPos(event, true);" onmousemove="setWarningBarPos(event, true);" onclick="setWarningBarPos(event);">
<div id="warning_text" style="padding-top: 1pt; width: 100%; z-index: 2; color: black; position: absolute; text-align: center; font-weight: bold;">0%</div>
<div id="warning_progress" style="width: 0%; height: 12pt; z-index: 1; background-color: green;">&nbsp;</div>
</div>
<span class="floatleft" style="padding: 0 0.5em"><a href="#" onclick="changeWarnLevel(25); return false;">[+]</a></span>
<div class="clear_left smalltext">Result: <span id="cur_level_div">None.</span></div>
</div>
<input type="hidden" name="warning_level" id="warning_level" value="SAME" />
</div>
<div id="warndiv2">
<input type="text" name="warning_level_nojs" size="6" maxlength="4" value="0" class="input_text" />&nbsp;(Max 100)
<div class="smalltext">Result:<br />
Level >= 0: None.<br />
Level >= 25: User will be added to moderator watch list.<br />
Level >= 110: All users posts will be moderated.<br />
Level >= 75: User will not be able to post.<br />
</div>
</div>
</dd>

Kindred

What is this?

| warning_settings   | 1,25,0       |
| warning_show       | 2            |



The normal moderation settings page are
Warning level for user watch
Warning level for post moderation
Warning level for user muting
Maximum user warning points per day
Warning points to decrement from users every 24 hours
Users who can see warning status

I don't see anything about show or settings.

I see watch, moderate, mute
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

infyquest

found issue, did not enable post moderation feature

Advertisement: