vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Advanced Warning System (AWS) (https://vborg.vbsupport.ru/forumdisplay.php?f=105)
-   -   instruction on install confusing (https://vborg.vbsupport.ru/showthread.php?t=95142)

GoTTi 08-27-2005 12:35 AM

instruction on install confusing
 
when you talk about the postbit and postbit legacy instructions, it gets very confusing to do what your asking, with the "in same template" then u goto "not legacy but postbit" and all this run around stuff....

can you clean it up and make it like:

in postbit do: XXXXXXXX

in postbit_legacy do: XXXXXXXXX

the way it is now isnt making sense. i was wondering why i didn't see the warning points on the showthreads. its cuz i use the legacy, and the postbit_legacy needs certain code, but i didnt put it in there cuz in the directions you have:

Code:

In the same template, (postbit only) find:
<td valign="top" nowrap="nowrap">
       
        <div class="smallfont">
        <if condition="$post['joindate']"><div>$vbphrase[join_date]: $post[joindate]</div></if>
       
Right above that, add:
<!-- Show warned sign -->
<if condition="THIS_SCRIPT=='showthread'">
<if condition="$showwarnsignmgm==1">
          <!-- Mgm can click on the stop sign to see the warnings -->
          <td><A HREF="Warn.php?do=ViewPostWarnings&post=$post[postid]"  onclick="window.open('Warn.php?do=ViewPostWarnings&post=$post[postid]','','width=1000, height=500, resizable=yes, scrollbars=yes'); return false;" target="_blank"><img src="images/misc/warn.gif" border=0></a></td>
</if>
<if condition="$showwarnsign==1">
          <!-- Simple Users can only see the warn sign but not the warnings -->
          <td><img src="images/misc/warn.gif" border=0></td>
</if>
</if>
<!-- End of show warned sign -->

In the same template find:
<if condition="$show['reputation']">$post[reputationdisplay]</if>
Below that, add:
<!-- Show warning points -->
<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>
<!-- End of show warning points -->

it doesnt say to goto the _legacy template, so i never had the info on the warnings on the legacy showing. now i do....


All times are GMT. The time now is 09:08 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.00989 seconds
  • Memory Usage 1,716KB
  • 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
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)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