vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   hiding signature in pm's (https://vborg.vbsupport.ru/showthread.php?t=160714)

ahmedbehiry 10-21-2007 09:53 AM

hiding signature in pm's
 
Hello everybody..
I've been searching foe a while but couldn't find what I'm looking for.. so I thought maybe I can find help here :)
I need to know if there's a way to hide signatures in pm's as they are messing up the page design :).. is there a mod for that or modification in the templates?

Thank you so much :)

Freesteyelz 10-22-2007 08:56 AM

You can remove the signatures by editing the postbit or postbit_legacy template. Select the template and style that you're using. If you're using more than one style and template then all of those will need to be edited too. To edit do the following:

In postbit or postbit_legacy find:

Code:

  <if condition="$post['signature']">
  <!-- sig -->
  <div>
    __________________<br />
    $post[signature]
  </div>
  <!-- / sig -->
  </if>


Replace it with:

Code:

<if condition="THIS_SCRIPT == 'private'">
<else />
  <if condition="$post['signature']">
  <!-- sig -->
  <div>
    __________________<br />
    $post[signature]
  </div>
  <!-- / sig -->
  </if>
</if>


Signatures will now appear in posts but not in PMs. :)

kurti 01-13-2009 09:15 PM

thanks :)


All times are GMT. The time now is 11:21 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.01921 seconds
  • Memory Usage 1,708KB
  • 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_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