vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   How do I Remove POSTING RULES from Forum (https://vborg.vbsupport.ru/showthread.php?t=148619)

djnth 06-01-2007 12:08 AM

How do I Remove POSTING RULES from Forum
 
I would like to remove the Posting Rules that shows up at the bottom of the Forum page if anyone can point me in the direction of the correct template. I'm not getting any results searching templates for posting rules. Also I would like to remove the icons for the Thread status (new posts, no new posts, thread is closed, you have posted) icons.

Thanks,

djnth

CyberAlien 06-01-2007 07:19 AM

Posting rules:

In showthread template:
Code:

        <td class="smallfont" align="$stylevar[left]">
                $forumrules
        </td>

in forumdisplay template:
Code:

        <td width="100%">
                <div class="smallfont">&nbsp;</div>
                <if condition="$show['threadslist']">$forumrules</if>
        </td>

Icons: in forumdisplay template:
Code:

<!-- icon key -->
<if condition="$show['threadslist']">
<table cellpadding="2" cellspacing="0" border="0">
<tr>
        <td><img src="$stylevar[imgdir_statusicon]/thread_new.gif" alt="$vbphrase[new_posts]" border="0" /></td>
        <td class="smallfont">$vbphrase[new_posts]</td>
        <if condition="$vboptions['usehotthreads']">
                <td><img src="$stylevar[imgdir_statusicon]/thread_hot_new.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
                <td class="smallfont">$vbphrase[hot_thread_with_new_posts]</td>
        <else />
                <td colspan="2">&nbsp;</td>
        </if>
</tr>
<tr>
        <td><img src="$stylevar[imgdir_statusicon]/thread.gif" alt="$vbphrase[no_new_posts]" border="0" /></td>
        <td class="smallfont">$vbphrase[no_new_posts]</td>
        <if condition="$vboptions['usehotthreads']">
                <td><img src="$stylevar[imgdir_statusicon]/thread_hot.gif" alt="<phrase 1="$vboptions[hotnumberposts]" 2="$vboptions[hotnumberviews]">$vbphrase[more_than_x_replies_or_y_views]</phrase>" border="0" /></td>
                <td class="smallfont">$vbphrase[hot_thread_with_no_new_posts]</td>
        <else />
                <td colspan="2">&nbsp;</td>
        </if>
</tr>
<tr>
        <td><img src="$stylevar[imgdir_statusicon]/thread_lock.gif" alt="$vbphrase[closed_thread]" border="0" /></td>
        <td class="smallfont">$vbphrase[thread_is_closed]</td>
        <if condition="$show['dotthreads']">
                <td><img src="$stylevar[imgdir_statusicon]/thread_dot.gif" alt="$vbphrase[thread_contains_a_message_written_by_you]" border="0" /></td>
                <td class="smallfont">$vbphrase[you_have_posted_in_this_thread]</td>
        <else />
                <td colspan="2">&nbsp;</td>
        </if>
</tr>
</table>
<else />
<table cellpadding="0" cellspacing="2" border="0" width="100%">
<tr valign="bottom">
        <td>
                <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                </tr>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                </tr>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                </tr>
                </table>
        </td>
</tr>
</table>
</if>
<!-- / icon key -->

in forumhome template:
Code:

        <td>
                <table cellpadding="2" cellspacing="0" border="0">
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_new.gif" alt="$vbphrase[contains_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_new_posts]</td>
                </tr>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old.gif" alt="$vbphrase[contains_no_new_posts]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_contains_no_new_posts]</td>
                </tr>
                <tr>
                        <td><img src="$stylevar[imgdir_statusicon]/forum_old_lock.gif" alt="$vbphrase[a_closed_forum]" border="0" /></td>
                        <td class="smallfont">&nbsp; $vbphrase[forum_is_closed_for_posting]</td>
                </tr>
                </table>
        </td>


djnth 06-01-2007 05:17 PM

Thank you very much I would never have found it on my own!!


All times are GMT. The time now is 07:07 AM.

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.01022 seconds
  • Memory Usage 1,730KB
  • 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_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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