vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   Warning Level cant be seen (https://vborg.vbsupport.ru/showthread.php?t=79998)

arek 04-16-2005 11:23 AM

Warning Level cant be seen
 
Hello,

at first thx for that gread hack. Sry 4 my bad english cause im from germany :)

I installed your hack but i can not see the level warning when for example the user x which has the warning level 1 post a thread, i can not see his warning status at his sig, like yours

YOURS
https://vborg.vbsupport.ru/attachmen...chmentid=21862

ME
http://www.rinb.de/ME1.jpg
http://www.rinb.de/ME2.jpg

sv1cec 04-16-2005 01:09 PM

For the first image, if user test has some warning points and you can't see them, make sure you have changed the postbit_legacy template. Probably you changed postbit, but forgot the postbit_legacy one.

As for the second, check the changes you have made in MEMBERINFO template, the red lines for Warnings and Warning Points should be under the User ID. You probably missed a <br> there.

Let me know if you got it.

arek 04-16-2005 02:17 PM

Ok. I checked the postbit and the postbit_legacy, i chaned in bothe templates the things. I dont know why it dont works.

Here are the bothe templates in .txt. I hope u can finde the bug :)

sv1cec 04-16-2005 04:39 PM

As I expected, check your postbit_legacy, you have forgotten the part which shows the alerts, warnings, warning points and bans numbers.

It's this part:

PHP Code:

<if condition="$showpoints==1">
<if 
condition="$post[alerts]>0">
<
font color="#ff0000">
<
BR>Alerts$post[alerts]
<
font color="#000000">
</if>
<if 
condition="$post[warnings]>0">
<
font color="#ff0000">
<
BR>Warnings$post[warnings]
<
font color="#000000">
</if>
<if 
condition="$post[warning_level]>0">
<
font color="#ff0000">
<
BR>Warnings Level$post[warning_level]
<
font color="#000000">
</if>
<if 
condition="$post[warning_bans]>0">
<
font color="#ff0000">
<
BR>Number of bans$post[warning_bans]
<
font color="#000000">
</if>
</if> 

Add the above, after the phrase:

PHP Code:

<if condition="$show['reputation']">$post[reputationdisplay]</if> 

Rgds

arek 04-16-2005 06:59 PM

I did it, but i still see it not

sv1cec 04-16-2005 07:09 PM

Have you applied the modifications in functions_showthread? Check that they are done properly there.

Oh yes, and remove the template txt files from there, if the moderators see that, they'll ... warn you!
LoL

Rgds

arek 04-16-2005 07:25 PM

Ok. I checked the functions_showthread, and u are right, i forgot these. but after doing it it also dont work :(

sv1cec 04-17-2005 04:26 AM

And what it does now? It still doesn't work doesn't help me much. Any differences? Or is it that it still does not show in postbit?

arek 04-18-2005 11:53 AM

It still does not show in postbit. It is the same like before.

sv1cec 04-18-2005 02:48 PM

Well, then something is not right in showthread.php, functions_showthread.php or the postbit/postbit_legacy templates.


All times are GMT. The time now is 10:29 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.01048 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete