PDA

View Full Version : Question on How To


King Kovifor
08-08-2005, 11:08 PM
Is there a way to show Amount of warnings (In percent) in the vB 2 style postbit, for the "vB Options - MGM or All" who can view the warnings and all that... Just display it to the user who post it is and the MGM. Thanks!

sv1cec
08-13-2005, 11:00 AM
Not sure I understand your question. Please elaborate.

King Kovifor
08-13-2005, 12:18 PM
I'd like it to say a users current warning amount (like 50% or 25/50) to the MGM. How can we do that?

sv1cec
08-13-2005, 01:05 PM
What will these numbers be? I mean you say 50% (or 25/50) but what is 25 and what is 50?

King Kovifor
08-15-2005, 09:34 PM
Like how many warnings they have recieved. Like I have it set to 50 is the banning point and 25 is a made up warning amount. Have that or The percent placed in the post bit.

sv1cec
08-16-2005, 04:34 AM
Two things here:

There is banning which occurs when someone reaches the banning points limit and there is banning which occurs when he reaches a specified warnings number (if he gets -let's say- 10 warnings, in total). To have that shown in the postbit, open your postbit template and find:


<BR>Warnings: $post[warnings]


Replace that with:


<BR>Warnings: $post[warnings]/$vboptions[warn_warnings_before_banned]


In the same template, find:


<BR>Warning Points: $post[warning_level]


Replace that with:


<BR>Warning Points: $post[warning_level]/$vboptions[warn_points_before_banned]


The numbers after the / are the limits, at which the banning occurs. Do the same in the postbit_legacy template.

Let me know if that's what you want.

King Kovifor
08-16-2005, 05:46 PM
Yes thanks. But am I really supposed to be replacing things? attached is an image of my postbit legacy. That's no changes... It never showed up.

sv1cec
08-16-2005, 07:22 PM
I am not sure I understand. You asked me to display the warning points versus the maximum points. The mods I gave you will do that. However, in the picture you posted, I do not see any warning points. Has this member been warned? If yes, then your problem is a different one. If you do not explain to me what your problem is, I can't help.

King Kovifor
08-16-2005, 10:55 PM
No, This member hasn't been warned. I know that's what your modifications posted above, and than I noticed you said: Replace with but I don't see anything of it.

sv1cec
08-17-2005, 04:26 AM
If the member has not been warned, why do you expect to see how many warning points he has? Warn him first and see if the warning points appear. If the user has no warning points, or no warnings, nothing will appear in the postbit/postbit_legacy.

King Kovifor
08-18-2005, 10:39 AM
Oh... Thank you. That makes sense. ^^

sv1cec
08-19-2005, 08:11 AM
Most welcome.