vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Question on How To (https://vborg.vbsupport.ru/showthread.php?t=93891)

King Kovifor 08-08-2005 10:08 PM

Question on How To
 
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 10:00 AM

Not sure I understand your question. Please elaborate.

King Kovifor 08-13-2005 11:18 AM

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 12: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 08: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 03: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:

HTML Code:

<BR>Warnings: $post[warnings]
Replace that with:

HTML Code:

<BR>Warnings: $post[warnings]/$vboptions[warn_warnings_before_banned]
In the same template, find:

HTML Code:

<BR>Warning Points: $post[warning_level]
Replace that with:

HTML Code:

<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 04:46 PM

1 Attachment(s)
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 06: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 09: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 03: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 09:39 AM

Oh... Thank you. That makes sense. ^^

sv1cec 08-19-2005 07:11 AM

Most welcome.


All times are GMT. The time now is 07:50 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
  • Page Generation 0.02040 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete